You have a label on a form and
If you're using
Label1.Caption = "Text for label"
it's VB6
If you're using
Label1.Text= "Text for label"
it's VB.Net
Buttons
You have a button on a form.
To set the text on the button.
You're using
Button.Caption="Text on button"
it's VB6
You're using
Button.Text="Text on button"
it's VB.Net
Updated: 24 May 2010
If you're using one of the following Editions then it is based on VB.Net.
- Visual Basic .NET (VB 7)
- Visual Basic .NET 2003 (VB 7.1)
- Visual Basic 2005 (VB 8.0)
- Visual Basic 2008 (VB 9.0)
- Visual Basic 2010 (VB 10.0)
- or an Express Edition
VB6

VB.NET

New Topic/Question
Reply


MultiQuote








|