Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-12-2006, 02:27 AM   #1
In Runtime
 
Join Date: Dec 2005
Posts: 102
Default VB6 and Visual Basic.Net

I have been using VB6 at school, and was wondering what the difference between it and VB.NET is. Also, do they have the same syntax, commands etc so I would be able to use VB.NET to do everything I do in VB 6?
Thanks.
__________________

nstepho is offline   Reply With Quote
Old 05-12-2006, 03:47 AM   #2
In Runtime
 
Join Date: Dec 2005
Posts: 184
Send a message via AIM to Bloodstalker999
Default Re: VB6 and Visual Basic.Net

I don't know much vb.net but I hear it is what everyone uses in terms of vb. I myself am in the second class of vb6 and my teacher gave me the wrong test it was actually for vb.net and i still got like 95% but i did notice slight change in syntax. What school do you go to? What book do you use? I only ask those questions because someone told me that they are not going to be teaching anymore vb6.
__________________

__________________
~~~~~~~~~~~~~~~~~~~
Live forever or die trying
~~~~~~~~~~~~~~~~~~~
Bloodstalker999 is offline   Reply With Quote
Old 05-12-2006, 07:24 AM   #3
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: VB6 and Visual Basic.Net

The syntax is slightly different, and .Net will allow you to do a few different things, but for the most part the are the same when it comes to what you can do. The only problem with .Net is that if you want to release the program, whoever else is going to use it has to have the .net framework in order for that program to run. VB 6 will run on any xp machine, and most older windows os's as well.
__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 05-12-2006, 09:16 AM   #4
In Runtime
 
Join Date: Dec 2005
Posts: 102
Default Re: VB6 and Visual Basic.Net

Quote:
Originally Posted by Bloodstalker999
What school do you go to? What book do you use?
I'm only in high school, and we don't use any books. The teacher just shows us what to do and demonstrates with a projector, It's only simple stuff.
Also, how do you save your project as an executable in VB.NET? I can't find it anywhere.
nstepho is offline   Reply With Quote
Old 05-12-2006, 09:31 AM   #5
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: VB6 and Visual Basic.Net

File> Save "Project1.exe" Something like that, I know its under file. However im not currently looking at it so i couldnt tell you right off the top of my head.
__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 05-12-2006, 05:03 PM   #6
Baseband Member
 
Join Date: Mar 2006
Posts: 52
Default Re: VB6 and Visual Basic.Net

you mean like a source save? im not sure if its the same but from what i have done it saves the .vbp and a text doc. then asks if u want to add it to source save....
longworm is offline   Reply With Quote
Old 05-12-2006, 05:08 PM   #7
Golden Master
 
Join Date: Apr 2006
Posts: 7,534
Default Re: VB6 and Visual Basic.Net

When I try to save as an EXE from the save like that when you load it, it says its an invalid application or something, and I have the framework...

{I'm talking about Visual Basic.net 2003 here}
LA061 is offline   Reply With Quote
Old 05-12-2006, 05:50 PM   #8
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: VB6 and Visual Basic.Net

Ill post a screenshot for VB 6 and for .net is it a completed app? and is it a full project, not just a single file?

That and the process is a little bit different. I dont have .net installed at this time, but it is a different command. its not like in VB6. If i recall its like "Make Project1" or something like that. Its in the same drop down menu as Run and Debug etc...
__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 05-12-2006, 05:57 PM   #9
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: VB6 and Visual Basic.Net

For VB6 To make an executable it will look like this.

__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 05-16-2006, 05:41 PM   #10
In Runtime
 
Join Date: Dec 2005
Posts: 102
Default Re: VB6 and Visual Basic.Net

Sorry I have been away. Thanks for the replies.
__________________

nstepho is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:16 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0