Search   Feed   Browse   Add
Feed items 1 - 9 of 9 for April 2004

Visual Basic Frequently Asked Questions

Maintained by Duncan Mackenzie and some great VB MVPs

Multicolumn Combobox - April 28, 2004

Posted by: Phil Weber, VB MVPThis post applies to Visual Basic .NET 20022003 I see from our referrer logs that many people are coming here seeking information on multicolumn combo boxes (thanks to Ian's question). Here's the scoop... No, the .NET Framework does not include a multi-column combobox (alternate spelling to help Googlers find us!), but it does provide everything you need to create one. Here are a couple of shared-source implementations:...
http://blogs.msdn.com/vbfaq/archive/2004/04/28/121869.aspx

Can I run Visual Basic 6.0 and Visual Basic .NET on the same machine - April 26, 2004

Posted by: Duncan Mackenzie, MSDNThis post applies to Visual Basic .NET 20022003 and Visual Basic 6.0 J. Henshaw asks "Is it possible to run both VB6 and VB.Net on the same machine,or do I have to remove VB6 to be able to use VB.NET", and the answer is a definite yes. You can run them both on the same machine. Many people, including myself, run VB6 on the same machine as their installation of Visual Basic .NET. If you look at this KB article from Microsoft Support, you will even see that it...
http://blogs.msdn.com/vbfaq/archive/2004/04/26/120607.aspx

Does the .NET Framework include an equivalent for Insert Win32 API function here - April 22, 2004

Posted by: Phil Weber, VB MVPThis post applies to Visual Basic .NET 200220032005Judging by the questions I see in online discussion forums, many VB developers are not yet aware of this article, which lists Win32 API functions and their .NET equivalents: http:msdn.microsoft.comlibraryen-usdndotnethtmlwin32map.asp
http://blogs.msdn.com/vbfaq/archive/2004/04/22/118153.aspx

Workaround: Arrays with non-zero lower bounds - April 20, 2004

Posted by: Phil Weber, VB MVPThis post applies to Visual Basic .NET 200220032005 OK, now that Paul Vick has explained why VB.NET doesn't support arrays with non-zero lower bounds, let's see how we can do them anyway. ;-) Say you want to store a collection of annual values in an array of integers. It's reasonable that the array index would correspond to the year in question; that is, TotalSales(1981) would contain the sales total for the year 1981. In pre-.NET versions of VB, we could simply do..
http://blogs.msdn.com/vbfaq/archive/2004/04/20/116660.aspx

Why doesn't VB support non-zero lower bounds for arrays - April 20, 2004

Posted by: Duncan Mackenzie, MSDNThis post applies to Visual Basic .NET 200220032005Another answer from Paul Vick, Technical Lead on VB.NET, explaining the changes in array bounds from Visual Basic 6.0:Why doesn't VB support non-zero lower bounds for arrays ... We allowed programmers to declare arrays that had bounds from 1 to 20, or from 1001 to 2000 or whatever. Even more puzzling, Eric points out that the CLR does support such arrays. So if there's no historical problem and there's no...
http://blogs.msdn.com/vbfaq/archive/2004/04/20/116636.aspx

Why did Visual Basic .NET introduce AndAlso and OrElse - April 20, 2004

Posted by: Duncan Mackenzie, MSDNThis post applies to Visual Basic .NET 200220032005Paul Vick, Technical Lead on VB.NET, and the author of the Visual Basic .NET Language Specification, discusses the new short-circuiting boolean operators added in Visual Basic .NET 2002.Why did we introduce AndAlso and OrElse ... Prior to VB.NET, the VB language only had the And and Or operators. They were essentially bitwise operators, which means that they took their two operands and performed an AND or OR...
http://blogs.msdn.com/vbfaq/archive/2004/04/20/116591.aspx

XML Documentation - April 20, 2004

Posted by: Phil Weber, VB MVPThis post applies to Visual Basic .NET 200220032005 Ali Parvaresh asks: How can I document VB.NET source codes like what you do for C This is another feature scheduled for Visual Basic .NET 2005 (ref http:panopticoncentral.netarchive20031108239.aspx). In the meantime, however, there are a number of third-party tools which add this capability to VB.NET 20022003. One popular (and free) alternative is the VBCommenter PowerToy.
http://blogs.msdn.com/vbfaq/archive/2004/04/20/116581.aspx

Operator Overloading - April 20, 2004

Posted by: Phil Weber, VB MVPThis post applies to Visual Basic .NET 2005 (&8220;Whidbey&8221;) Gokhan Altinoren asks: What was the design decision behind the fact that VB.NET does not support operator overloading Will this feature be in the VB.NET specification in the future Sadly, the VB team failed to consult me while they were designing the language, so I can't comment on why they decided not to support operator overloading in VB.NET (although if I had to guess, I'd wager that it was on...
http://blogs.msdn.com/vbfaq/archive/2004/04/19/116561.aspx

Ask Your VB.NET Questions Here! - April 16, 2004

Do you have a question about the VB.NET Language, Compiler or IDE If so, then you've come to the right place, comment on this post and your question will be added to the list to be answered. Of course, depending on the nature of your comment, and the volume of comments received, we may not get to every question. Thanks! Duncan Mackenzie
http://blogs.msdn.com/vbfaq/archive/2004/04/16/114436.aspx
Available Archives
- April (9 items)
- May (2 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact