Volte
*Experts*-
Posts
2372 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by Volte
-
Look at my example; it adds the text "This is a tooltip" to the tooltip of Button1.
-
There is a ToolTip component you access thru code. Dim a As New ToolTip() a.SetToolTip(Button1, "This is a tooltip")
-
You need to declare a variable as New Form2, and then use myVariableName.Show. See my example above, I am not using frmMain.Show, but frm.Show, because frm is the variable I created to hold the form.
-
What do you mean "activate"? If you mean you wish to open another form, you do it this way: Dim frm As New frmMain() frm.Show()Where frmMain is the name of the form you want to show.
-
Excellent tutorial, div! :)
-
About a month for me too. It's surprisingly easy to pick up. Took me about 25 minutes to grasp the basic concepts. My first program scanned directories and subdirectories and made thumbnail images of any GIF images it found. :)
-
Keep in mind that IndexOf will return 0 if it is in the first position, and -1 if it is not found. The positions are 0-based in .NET. I believe InStr returns 0 if it's not found. Try typing 'blahblahCPU' and trying it. [edit]Huh. You seem to be correct. Try adding Option Compare Text above the form class.[/edit]
-
I always use g for Graphics. It just seems right. For loops I use i or j.
-
Woah! The looks really cool! Very good work, wyrd. :)
-
I personally always use hungarian notation for controls (makes it easier to tell what control is what type), and camelCase for variables.
-
Create a folder on your drive called 'netsetup' or something, and copy the files from all four of the CDs into that one directory (don't make separate folders; it will screw up part way through). Run the setup from that directory and let it run. Not sure about the component update; I did the component update, cancelled the setup after that, and resumed from the files I copied to my HD. I am thinking of creating a partition of my HD just for setup files (operating systems, programming languages, etc) so I won't have to use my slow CD-ROM as much. :-\ It takes nearly 1:20 to do a full install of .NET from the CD. Although it takes about 50 minutes to copy all of the files from my CD-ROM, the setup itself only takes about 15 minutes from the HD.
-
I always use the Last Poster/Last Post Times marker as my new post indicator; never use the little red icons (however, the little open/closed envelope beside threads is accurate, so that's useful). BTW, congratulations on your new EVB status lebb! :)
-
I believe the problem is with using styles that don't fully support the hack, or something. I think it's looking for images in dotnetforums.com/f11/images/ for example.
-
That's what happens when a post is deleted/moved. There are quite a few of those errors around the forum.
-
Badge, the test user, shows up in the Forum Leaders page. [edit]It's fixed[/edit]
-
VB.NET took me about half-an-hour to pick up. Seriously. The concept is really not that hard, if you understand VB6. If you don't understand VB6, it will take you a bit longer, but is still an excellent place to start learning the OOP concepts and stuff. I felt the same way as you at one point, but once I actually tried learning it, it came to me quite easily. The MSDN system is great, as is the new highly-documented intellisense system.
-
The upgrade utility is not a very reliable thing. Unless you have time to go fiddle with the code, fixing broken coding standards and references to the compatability namespace (not to mention the fact that most of the syntax ported over will be in VB6 form, which may or may not be valid; file access for instance). It's especially tedious for large-scale projects, and would probably take less time (assuming you know the language) to simply start over again.
-
Tooltips are probably a good solution to what you want. They wouldn't go into much detail like 'What's This', but they should give a short description of what the control does. You can give each control a tooltip (what you get when you hold the mouse over the control) by adding a Tooltip control to your form, and then in the Form's constructor (or the Form_Load event), you can use code such as the following: With ToolTip1 .SetToolTip(Button1, "This is a tooltip") .SetToolTip(Button2, "This is another tooltip") End WithThen the control 'Button1' will have the tooltip text "This is a tooltip", and the control 'Button2' will have the tooltip text "This is another tooltip". You could use resource files and XML to store all of the tooltip strings and controls and then automate the tooltips if you wanted, but if there are not too many controls you want to have tooltips, this way would be the easiest.
-
Oh the irony! :p
-
I consulted a dictionary and could find neither word in there at all. :-\ Oh well, no big deal. Who am I to criticize spelling, anyway? :p [edit]Happy now, robot?[/edit]
-
Woah... just tried to download FreakOZ's attachment from the Tutor's Corner: Warning: stat failed for C:/Inetpub/bbs_files/.file (errno=2 - No such file or directory) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 59 Warning: fopen("C:/Inetpub/bbs_files/.file", "rb") - No such file or directory in c:\inetpub\xtremedotnettalk.com\attachment.php on line 60 Warning: fread(): supplied argument is not a valid File-Handle resource in c:\inetpub\xtremedotnettalk.com\attachment.php on line 61 Warning: fclose(): supplied argument is not a valid File-Handle resource in c:\inetpub\xtremedotnettalk.com\attachment.php on line 62 Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\xtremedotnettalk.com\attachment.php:59) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 64 Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\xtremedotnettalk.com\attachment.php:59) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 65 Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\xtremedotnettalk.com\attachment.php:59) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 66 Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\xtremedotnettalk.com\attachment.php:59) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 67 Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\xtremedotnettalk.com\attachment.php:59) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 68 Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\xtremedotnettalk.com\attachment.php:59) in c:\inetpub\xtremedotnettalk.com\attachment.php on line 80[edit]Alright, just tested posting a new one, and it worked. I looks like maybe the old attachments weren't imported properly. The links are there, but the files are not?[/edit]
-
Heh, OK, whatever. I have always heard the term legacy used to describe old versions of drivers primarily, which are, pretty much, obsolete in most respects. VB6 is not really an older version of VB.NET, any more than QuickBASIC is an older version of Visual Basic 6. I guess I just misunderstood the meaning of legacy. :-\ [edit]Alright, I understand the meaning now, and yes, VB6 is indeed very much a Legacy program. Sorry. :-\[/edit]
-
How about Visual Basic 6 and under. :-\ It's not really legacy VB, as it's not obsolete, and still widely used. [edit]How about just 'Non .NET Related Languages', since the other forum does cover more than just VB[/edit]
-
That only seems to happen when the time zone is between -7 and -12 inclusive. Looks like perhaps the old infamous time bug from the WWWThreads is back. :-\
-
Not sure if it is wrong or not, but in the Interop forum description, should it be "marshaling" or "marshalling"?