| | |
The Move.....Visual Basic 6, Visual Basic .NET ?
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2003
Posts: 36
Reputation:
Solved Threads: 0
I'm really scared and etchy about getting VB. NET, as I've just started out in VB 6 and I've gotten pretty used to it. But I wanted to know from experts that used VB 6 before....is it a big change? Will it be hard to get used to after just starting out in VB 6? What code changes are there? Any comments are appreciated, I really don't want to end up paying so much money, then find out that it's really hard and more complicated than VB 6. Please help.
I'm not going to lie to you - it is a big difference. It's a big change, and it will be hard to get used to it - at first.
Over time, you will see how much better VB.NET. I refuse to work in VB6 now - it's crap compared to VB.NET.
Things to love about Visual Studio .NET's Development Environment:
-The same intellisene that we love :-)
-Auto code formatting -> something I love... I hate taking care of tabbing and stuff
-Statement Completion -> If you type "If 4 > 3 then", when you hit enter, it will automatticly put in the "End If"
-Manage SQL Servers
Why to go to .NET:
-Power, Power, Power!
-In the long run, easier development (once you are good at .NET)
-Build once, run optimized on any version of Windows
-Huge community for support
-XML Web Services (this is a whole other post in itself... but its really really cool stuff)
One change that comes up to my head right away is the .caption (or .label, I can't even remember) property from many objects are gone. It's now all standardized on .text (like TextBox1.text = "Mike", Label1.text="John"). This change, although small, shows why .NET is better then VB6 - its all standardized. No guessing :-).
Do a search on +VB6 +VB.NET +migrating you'll get some good sources :-).
One last thing - you now can do ASP.NET straight from VB.NETs IDE. It's really easy, and has gotten me into lots of web application programming projects (including my website - yes, the whole thing is written in VB.NET).
Over time, you will see how much better VB.NET. I refuse to work in VB6 now - it's crap compared to VB.NET.
Things to love about Visual Studio .NET's Development Environment:
-The same intellisene that we love :-)
-Auto code formatting -> something I love... I hate taking care of tabbing and stuff
-Statement Completion -> If you type "If 4 > 3 then", when you hit enter, it will automatticly put in the "End If"
-Manage SQL Servers
Why to go to .NET:
-Power, Power, Power!
-In the long run, easier development (once you are good at .NET)
-Build once, run optimized on any version of Windows
-Huge community for support
-XML Web Services (this is a whole other post in itself... but its really really cool stuff)
One change that comes up to my head right away is the .caption (or .label, I can't even remember) property from many objects are gone. It's now all standardized on .text (like TextBox1.text = "Mike", Label1.text="John"). This change, although small, shows why .NET is better then VB6 - its all standardized. No guessing :-).
Do a search on +VB6 +VB.NET +migrating you'll get some good sources :-).
One last thing - you now can do ASP.NET straight from VB.NETs IDE. It's really easy, and has gotten me into lots of web application programming projects (including my website - yes, the whole thing is written in VB.NET).
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
•
•
Originally Posted by Tekmaven
One change that comes up to my head right away is the .caption (or .label, I can't even remember) property from many objects are gone. It's now all standardized on .text (like TextBox1.text = "Mike", Label1.text="John"). This change, although small, shows why .NET is better then VB6 - its all standardized. No guessing :-).
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: May 2003
Posts: 36
Reputation:
Solved Threads: 0
Wait, so would this type of code work? It's just an event procedure that makes a label visible and not visible, along with changes the text in a textbox.
-------------
Private Sub cmdShow_Click()
lblInfo.Visible = True
txtMessage.Text = "You Clicked it"
End Sub
-------------
Or would everything have to be changed to ".Text" ? In my opinion that doesn't make sense.
-------------
Private Sub cmdShow_Click()
lblInfo.Visible = True
txtMessage.Text = "You Clicked it"
End Sub
-------------
Or would everything have to be changed to ".Text" ? In my opinion that doesn't make sense.
Well, yes, but no.
In VB6, a click sub would need to be named with the buttoname_Click(). In .NET, that type of thing is gone. You can name the sub anything you want - it just needs to have a "handles" statement. So it could be, Private Sub mikeiscool() handles cmdShow.Click() -although most of the time it will still use that naming convention (with the handles keyword following it).
The visible property is still there, and txtMessage.Text = whatever will work too.
One last thing, its not a "Command" button anymore - its just refered to as a Button (or btn).
In VB6, a click sub would need to be named with the buttoname_Click(). In .NET, that type of thing is gone. You can name the sub anything you want - it just needs to have a "handles" statement. So it could be, Private Sub mikeiscool() handles cmdShow.Click() -although most of the time it will still use that naming convention (with the handles keyword following it).
The visible property is still there, and txtMessage.Text = whatever will work too.
One last thing, its not a "Command" button anymore - its just refered to as a Button (or btn).
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Actually it makes a lot more sense. If you wanna check out Visual Studio 2003 (and Visual Basic .NET), Microsoft offers free online sessions into a computer running Visual Studio 2003.
Here is a link: http://msdn.microsoft.com/vstudio/tryit/
I haven't found one change from VB6 to .NET to be bad. They take getting used to - but they are all there for a very good reason.
•
•
•
•
Visual Studio .NET can help you with (nearly) every part of your job. But, don't take our word for it. Try Visual Studio .NET 2003 and Windows® Server 2003 for free* online and find out how these products can help you solve the most difficult development challenges you face today. With the Visual Studio .NET 2003 Hosted Experience, for three hours, you will have unlimited access to Visual Studio .NET Enterprise Architect edition, as well as a library of other valuable tools, resources, and code samples.
It's simple—no complex setup or installation is required to try out Visual Studio .NET 2003 running on a full-featured Windows Server 2003 hosted online. And there is no obligation to buy.
I haven't found one change from VB6 to .NET to be bad. They take getting used to - but they are all there for a very good reason.
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
IMHO Tekmaven is right. The changes do take some getting use to, and yes the IDE is a little fancier and slicker than VB6, but in the end you will find most of your tools right where you would expect them.
It has long been the bane of VB programmers as VB not being completely Object Oriented, and since the code in both VB and C++ are compiled to essentially the same result, .NET bridges the gap by saying hey...be your favorite language and code it to get the result. Should you want to change languages, it is easy enough now to migrate over since VB.NET, C++.NET and C#.NET are all truly Object Oriented.
Being a VBA/VB6 dabbler, I have found that I can now do things in VB.NET that I found hard or some what difficult, in VB6, to being relatively easy to grasp & do.
That make sense?
Hope that helps...
P.S. Happy 4th of July all you Americans. I just returned from the Western US and enjoyed the entire drive immensely!
It has long been the bane of VB programmers as VB not being completely Object Oriented, and since the code in both VB and C++ are compiled to essentially the same result, .NET bridges the gap by saying hey...be your favorite language and code it to get the result. Should you want to change languages, it is easy enough now to migrate over since VB.NET, C++.NET and C#.NET are all truly Object Oriented.
Being a VBA/VB6 dabbler, I have found that I can now do things in VB.NET that I found hard or some what difficult, in VB6, to being relatively easy to grasp & do.
That make sense?
Hope that helps...
P.S. Happy 4th of July all you Americans. I just returned from the Western US and enjoyed the entire drive immensely!
If you don't want to purchase Visual Studio.NET right now, you could always try SharpDevelop a free .NET IDE written in C# - you get the source too :-).
You don't need Visual Studio to compile .NET apps - you could even use Notepad to write it and the command line to compile. Microsoft provides the compilers free - just download the Microsoft .NET Framework SDK (the 110mb Framework download).
You don't need Visual Studio to compile .NET apps - you could even use Notepad to write it and the command line to compile. Microsoft provides the compilers free - just download the Microsoft .NET Framework SDK (the 110mb Framework download).
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
![]() |
Similar Threads
- Is "Visual Basic 2005" Express edition .NET? (VB.NET)
- Using inline C or C++ in Visual basic net (VB.NET)
- Basic Info about asp.net (ASP.NET)
- how do i use inline c or C++ in visual basic net? (VB.NET)
- Use C or c++ code in Visual basic net (VB.NET)
- about Q basic or visual (Legacy and Other Languages)
- Visual Basic.net (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: How To Save Documents Inside Image
- Next Thread: Case Study in VB.Net
| Thread Tools | Search this Thread |
.net .net2005 30minutes 2005 2008 access account arithmetic array basic binary bing button buttons c# center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dropdownlist excel file-dialog folder ftp generatetags google gridview hardcopy image images inline insert intel internet listview mobile monitor ms net networking output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print printing problem problemwithinstallation project reports" save savedialog searchbox searchvb.net select serial server soap sql table tcp text textbox timer toolbox trim update updown user usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf






