Create Overview 'outline' Of Most Important Sections Of An App In Program?
May 1, 2009
I want to code in our VB.net to be a little easier to follow both to improve readability and also make it a lot easier to know the best place to put a new bit of code/feature.
Essentially, I'd like to have a 10,000 foot "outline" of the code" with hyperlinks from the outline to the code.
It needs to be portable, so BookMarks won't do the trick (I think). I'm thinking maybe TODO comments. I'd like to create our own Todo style comment like "Outline" or something but that keyword would need to be in the config file for VS as well (but then it's just one thing to keep sync'd).[code]...
I started with Visual basic 2010 and wants to learn this program. I am reading some tutorials but there is one thing i can't find.
I want different sections in a program. I have added a menu with some options. Now when i click in the memo on the "personnel" option i want to show the personnel form. I did this with
Public Class Form1Private Sub NieuwToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NieuwToolStripMenuItem.Click formPersoneel.Show()End Sub End Class
This will open the form only in a new window. How can i load this forms in the program itself?
I have been told before that it is possible to create sections of code which can be collapsed and expanded like a normal Public or Private Sub, but containing multiple Public Subs So say I have code for a variety of textboxes I wanted to be able to collapse, how would I do this?
I am a novice programmer and would like to create a program that will divide the user desktop screen into 2 sections such that one bigger section of around 90% screen size is left for user to work with other windows that when maximized should not ovelrap the other 10% section which will hold some other information that will always be static on the user's screen.I am using vb2008.
I would like an overview of System.EventArgs. I have an understanding of System.Object where I can pass data between subroutines and functions using Public Classes
What's a good way to define what the Framework's are?Basically I'm looking for a good way to give a brief overview of what the .Net Frameworks are and why an average person should have them installed.
I am currently trying to make an overview of certain files in a database. To make it easy to use I decided to use a tabcontrol so the user doesn't haveto click other buttons to go too another overview.My question now is, if i have 2 different datasources ( so 2 connections to a different acces database ) and I want to show detailed information about them, on 2 different tabs, using a bindingnavigator to scroll through the records. How do I do this? It's always just one tab working and the other doesn't.
I have a custom-shaped form created by setting the Region to an image. I want to be able to highlight the edge of the form when it has focus. To do this I believe I need to get the outline of the form and convert it to a path so I can draw a two-pixel highlightaround the edge of the form.
I have a custom-shaped form created by setting the Region to an image. I want to be able to highlight the edge of the form when it has focus. To do this I believe I need to get the outline of the form and convert it to a path so I can draw a two-pixel highlight around the edge of the form.
(1) Is this the correct approach?
(2) If so, how do I get the outline of the region so I can call DrawPath?
The Visual developer express outline provides hide/plus-minus signs throughout the HTML code, and it does this for Class's, but not for my subroutines in an ASPX file.Is there a way for it to do this, so I can reduce subroutines I'm not working on at the moment? I know I can highlight areas and hide, but it's kind of clunky to do quickly through many subroutines if I have 2k lines and a hundred subroutines.
[code]This colours the squares on the map, but I wish to have an outline between them so as to make it a grid. Also is there any way of getting a thicker border?
I have some white text I am putting over a very light background. Is there anyway to outline the text in black? After some googling it looks like there are some pretty complicated solutions, but I am looking for something like a check box that says "outline". Is there such a beast?
We are currently hiring at the company where I work, and here the codebase is in VB.Net.We are worried that we miss out on a lot of brilliant programmers, who would never ever consider working with VB.Net.
My own background is Java and C#, and I was somewhat sceptical as to whether it would work out with VB, as - to be honest - I didn't care much for VB.
After a month or so, I was completely fluent in VB, and a few months later I discovered to my surprise, that I actually like VB. I still code my free time projects in C# and Boo though.
So my question is firstly, how important is language for you, when you choose a new programming job?
Lets say if its a great company, salary is good, and generally an attractive work-place. Would you say no to the perfect job, if the language wasn't your preferred dialect?VB or C# is one thing, but how about Java or C# etc.Secondly if the best developers won't join your company because of your language or platform, would you consider changing, to get the right people?
I am writing a program and I need to store important data like password, etc. What is the best way to store the password and where is the best way to store it?
My (local, windows/mono) app logs important events to a text file. In case of a sudden crash/failure/forced exit, no data should remain unwritten (as far as it's possible). Thus I currently use a simple append-to-text-file approach:
Dim strArray() As String = {"test1", "test2", "test3"} strArray.SetValue("", 1) Console.WriteLine(strArray.Length) Console.ReadKey()
This still leaves me with an empty array value, how can I just delete it or can't I? Do I have to use an arraylist and if so how do I convert an array into an arraylist?
Why is it so important to turn option strict on? I admit I am not a professional programmer, but I have written a great number of useful applications...I am fairly well (although self) educated in object oriented programming... I even write programs for my business...I always have felt that I am missing some background theory that is probably really important (I have a grad degree in math, no comp sci)...I have never turned on Option Strict for any project I have ever written, and I guess I just want to know, theoretically why is it important?
I used my forms TransparencyKey property to make the form background invisible, but to keep the controls 100% visible. But, when I add a label onto the form, a border or outline shows up around the text (doesn't matter which color I do it with). My friend says that this isn't fixable and he said that it doesn't happen in VB6. I'm tempted to remake the project in VB6, but Windows 7 is being released soon and compatibility is a must.
What about C#? Does the issue occur as well? If not I'll just go with that.
How easy it is to "split" a bitmap into separate parts?Here is a bitmap that was generated by a program - the red pixels that you see are purely red, there are no other colours.I want to know if the left side is "redder" than the right side. (Actually I want to be more precise than that (but I can figure that out on my own))So, I think that "splitting" the bitmap up into sections like this: would be the best way to do it then I can count the red pixels in each section.Here is the part of the code snippet that produced the bitmap you see above:I think I might be able to modify this easily to count pixels, if I know how to split the bitmap into section thingies.
Dim are_identical As Boolean = True Dim eq_color As Color = Color.White Dim ne_color As Color = Color.Red For x As Integer = 0 To wid - 1
I want to make a desktop application for [URL]..if anyone is familiar with any of these sites (Fmylife etc), they will know that the text is in the white bubbles going down the screen.
Is it possible to grab just the stories, and ignore everything else?
I have tried this kind of thing:
Private Sub Grab_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Grab.Click
Dim Actual Actual = Mid(MLIABrowser.Document.Body.InnerText, 397, 1000000) RichTextBox1.Text = Actual End Sub
This just gets all the text after the 397 character, but there are several problems with this:
- The adds on the page are different every time, so it would be impossible to get a constant
- There is still text on the sides and bottom that is being grabbed
- I also do not want the "comments" etc shown. JUST the story...
I searched the forum and the web in general but did not find anything that answered my question.I am trying to create repeating sections (much like you can do in InfoPath development) in VB. For example, I would have a dozen textboxes in a section which the user would be able to fill out.
i am new to asp.net and i was told that i need to know UML thoroughly to build successful software, is this correct? i mean cant i just "code and fix" and "model" in my brain. how important is UML and what is the best way to learn it?
I have a form that I am creating to document information about computers that I build. I have created the basic layout, what I have is a group box that has many different controls in it (text boxes, combo boxes, additional group boxes etc) What I want to be able to do is have a button that will copy the group box (computer information) and all of its contents and then paste it below the first group box with all of the fields blank or in their default setting; and keep doing this for as many computers as I want to add. Each project I do has a different amount of computers on it so I want this form to be able to handle any amount of computers. I can't seem to find much on what I want to do, any pointers, direction or idea's
I was able to do this with an excel spreadsheet but all I had to do was reference and select a cell range, scroll down and paste the new section in. This is my code from excell, just as an example of what I did then. But with VB I'm stumped on how to approach this.
I have created a Windows Forms application in Visual Studio.Net 2008. I have some group boxes on the form in order to section various controls on the page. At the bottom of my form is a group box containing a texbox used for display exception messages. I would like the user to be able to toggle the ability to hide/show this section of the form. Is there a control which allows the show/hide feature of a form?
I have the following list Dim ordersToUpdate as New List(Of OrderUpdate)I am using a "For Each" to iterate and update a legacy DB..I am having a LOCKING problem on the DB when the "ordersToUpdate" is large. Instead to puting a Threading.Thread.Sleep to pause, is there a proper way to break the list up into sections e.g iterating 100 at a time?
The only thing I am coming up with in my searches is stuff to do with expandable type converters, and all of that documentation is a bit over my head as trying all the examples is failing horribly. I would assume that there is an easier way to go about this without junking up my code with more stuff I don't understand.[code]Now, variables 1-5 have to go under section1, which is what is going on now. However, I want to group together variables 1-4, then group together variables 5-8, so they have the plus sign and can expand. But I cannot apply another category to any of these as they already have a category. All of the other things I have tried putting in additional "<tryexpand("notgonnawork")> _" sections does exactly that, not gonna work.