Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Visual Basic Obsolete?
New Posts  All Forums:Forum Nav:

Visual Basic Obsolete?

post #1 of 12
Thread Starter 
Hey,

So I've been looking to get back into some easy VB coding. Before jumping in, I noticed that MS has ended their support for VB6, and the successor is Visual Basic .NET.

Is there that much of a difference between VB6 and VB.NET? Does the code "change"? Are there significant differences between the two? Will I need to REALLY use VB.NET even if I don't plan on distributing whatever I decide to toy with?

Thanks for any answers

~Gooda~
Water Cooled Quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 Engineering Sample MSI P5N Diamond XFX Radeon 4850 4x2GB G.Skill DDR2-1000 
Hard DriveOptical DriveOSMonitor
640GB Boot - 2x 640GB Backup/Storage Lite-On DVD-R Windows 7 Professional x64 Samsung 245BW (24") 
KeyboardPowerCaseMouse
G15 Ultra X3 850W RocketFish (Lian-Li) by Cyberdruid Microsoft Wireless 6000 
  hide details  
Reply
Water Cooled Quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 Engineering Sample MSI P5N Diamond XFX Radeon 4850 4x2GB G.Skill DDR2-1000 
Hard DriveOptical DriveOSMonitor
640GB Boot - 2x 640GB Backup/Storage Lite-On DVD-R Windows 7 Professional x64 Samsung 245BW (24") 
KeyboardPowerCaseMouse
G15 Ultra X3 850W RocketFish (Lian-Li) by Cyberdruid Microsoft Wireless 6000 
  hide details  
Reply
post #2 of 12
If you don't ever plan on making a public or licensed distribution, then keep on coding in VB6. I still do. I find VB6 a lot easier than VB.net simply because of my experience in it. VB6 does have limitations, but if you are familiar with it, and don't mind the limitations, then there are no complications to worry about.

There are ample tutorials on VB.net for anything you possibly could want to do if you decide to go that route... As there are still ample tutorials on VB6.

What I tend to do is consider what my target audience is for the application I am writing and then chose my language accordingly.

That being said, there are ample reasons to move to the .net, especially in terms of threading and use of multiple core processors. But if you are simply writing an application that is small and does not require heavy processing power, stick with what you know.

Hope this is helpful in some way.
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 GO @ 3.7 ghz (8*463) Asus P5K3 Deluxe 8800 GTX 4gb (4x1gb Team Xtreem 1333 DDR3) 
Hard DriveOptical DriveOSMonitor
2xWD 150gb Raptor Raid 0 & 2xWD 500gb Raid 0 2xAsus Sata x20 DVD Burner Windows Vista x64 Ultimate 24" Dell 2405 and 42" Sharp AQUOS LCD HDTV 
KeyboardPowerCaseMouse
Logitech G15 OCZ Powerstream 600w Thermaltake Armor Logitech Laser (don't remember model) 
Mouse Pad
Alienware 
  hide details  
Reply
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 GO @ 3.7 ghz (8*463) Asus P5K3 Deluxe 8800 GTX 4gb (4x1gb Team Xtreem 1333 DDR3) 
Hard DriveOptical DriveOSMonitor
2xWD 150gb Raptor Raid 0 & 2xWD 500gb Raid 0 2xAsus Sata x20 DVD Burner Windows Vista x64 Ultimate 24" Dell 2405 and 42" Sharp AQUOS LCD HDTV 
KeyboardPowerCaseMouse
Logitech G15 OCZ Powerstream 600w Thermaltake Armor Logitech Laser (don't remember model) 
Mouse Pad
Alienware 
  hide details  
Reply
post #3 of 12
Thread Starter 
Well, I'm downloading the free version of .NET now only because I can't find my Visual Studio disks anywhere. Unless VB6 is free now, I guess I'm swapping over to .NET. Guess it's for the best?

Thanks for your input

~Gooda~
Water Cooled Quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 Engineering Sample MSI P5N Diamond XFX Radeon 4850 4x2GB G.Skill DDR2-1000 
Hard DriveOptical DriveOSMonitor
640GB Boot - 2x 640GB Backup/Storage Lite-On DVD-R Windows 7 Professional x64 Samsung 245BW (24") 
KeyboardPowerCaseMouse
G15 Ultra X3 850W RocketFish (Lian-Li) by Cyberdruid Microsoft Wireless 6000 
  hide details  
Reply
Water Cooled Quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 Engineering Sample MSI P5N Diamond XFX Radeon 4850 4x2GB G.Skill DDR2-1000 
Hard DriveOptical DriveOSMonitor
640GB Boot - 2x 640GB Backup/Storage Lite-On DVD-R Windows 7 Professional x64 Samsung 245BW (24") 
KeyboardPowerCaseMouse
G15 Ultra X3 850W RocketFish (Lian-Li) by Cyberdruid Microsoft Wireless 6000 
  hide details  
Reply
post #4 of 12
Where .NET can be compiled with freely available software, VB6 definitely requires visual studio 6.

A caution: VB.NET is entirely different than VB6 -- think C# (or Java) in VB syntax.

quick reads:
http://www.thescarms.com/vbasic/vb6vsvbnet.aspx
http://www.4guysfromrolla.com/webtech/053001-1.shtml
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
post #5 of 12
Stick with whatever programming language works for you. Hopefully once you grasp a basic knowledge of VB6, you can move onto C or C#. VB is considered by some to start programmers off with bad habbits and while it is "apparently" easier than C/C#/CPP, i find that C# is much much simpler and it is very well supported by MS.
UberRig
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E8200 @ 3.75ghz (1.375v, 468 *4 = 1875mhz FSB) ASUS P5N-E SLI (650i) EVGA 9600 GT (KO Edition) OCZ 2GB Dual Channel Platinum Revision 2 X (2x1GB) 
Hard DriveOptical DriveOSMonitor
WD Caviar 250gb + 80gb Sony DVDRW Vista x64/Mint x64 Philips Brilliance (20" LCD) 
PowerCase
Huntkey Green Star 500w Thermaltake Soprano 
  hide details  
Reply
UberRig
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E8200 @ 3.75ghz (1.375v, 468 *4 = 1875mhz FSB) ASUS P5N-E SLI (650i) EVGA 9600 GT (KO Edition) OCZ 2GB Dual Channel Platinum Revision 2 X (2x1GB) 
Hard DriveOptical DriveOSMonitor
WD Caviar 250gb + 80gb Sony DVDRW Vista x64/Mint x64 Philips Brilliance (20" LCD) 
PowerCase
Huntkey Green Star 500w Thermaltake Soprano 
  hide details  
Reply
post #6 of 12
Quote:
Originally Posted by Butterbum View Post
Stick with whatever programming language works for you. Hopefully once you grasp a basic knowledge of VB6, you can move onto C or C#. VB is considered by some to start programmers off with bad habbits and while it is "apparently" easier than C/C#/CPP, i find that C# is much much simpler and it is very well supported by MS.
I agree with you on C#. I think they really made a good language this time. It's really the easiest, most well rounded language to start with. It helps that it's very similar to java .
post #7 of 12
Expect a fairly steep learning curve. vb.net is fundamentally *quite* different from vb6. It's not necessarily 'harder', but it's ... different, for sure. And trying to code in it 'off the top of your head' is going to be a nightmare. I would *NOT* recommend trying to jump into programming in vb.net without the benefit of Visual Studio.net at your disposal. I definitely learned most of what I know by using VS.net and then looking 'under the covers' to figure out what it was doing. Best of luck in any case
    
CPUMotherboardGraphicsRAM
xeon X5675 6-core @ 4.1ghz (1.29v, 20x205 +ht ) rampage iii extreme msi rx470 gaming X (the $159 budget king) 3 x 2gb corsair xms3 pc12800 (9-9-9-24-1T@1600MHz) 
Hard DriveOptical DriveCoolingOS
hynix 250gb ssd (boot), 2tb deskstar (apps),1tb... plextor px-712sa - still the best optical drive... corsair h8o v2 aio W10 home 
MonitorPowerCaseAudio
asus vw266h 25.5" (1920x1200) abs sl (enermax revolution) * single 70A rail 850w silverstone rv-03 XFi Titanium 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
xeon X5675 6-core @ 4.1ghz (1.29v, 20x205 +ht ) rampage iii extreme msi rx470 gaming X (the $159 budget king) 3 x 2gb corsair xms3 pc12800 (9-9-9-24-1T@1600MHz) 
Hard DriveOptical DriveCoolingOS
hynix 250gb ssd (boot), 2tb deskstar (apps),1tb... plextor px-712sa - still the best optical drive... corsair h8o v2 aio W10 home 
MonitorPowerCaseAudio
asus vw266h 25.5" (1920x1200) abs sl (enermax revolution) * single 70A rail 850w silverstone rv-03 XFi Titanium 
  hide details  
Reply
post #8 of 12
For all my .net needs, I use C#. I find it vastly nicer than VB.NET. However, the biggest problem that I run in to with any .net language is that users have generic problems with .net that have nothing to do with my application.

For my thousands of users, I get at least 3 or 4 a week with problems that I simply cannot fix. Problems such as MyProgram.exe.config (internal configuration?) being corrupt, machine.config being corrupt, System.Xml.dll not existing (despite the fact that it does, and upgrading to .net 2.0 or repairing whatever is currently installed does not help), and lots of other generic problems that they get when running any .net application at all, even a "Hello, World!" app.

VB6 is native, so it doesn't have these problems. However, I would definitely suggest either moving to VB.NET, C# or avoiding .net altogether and using C/C++/Java/Python etc. I hate Delphi about as much as I hate VB6 so maybe you will be comfortable there.
Serene Power
(13 items)
 
  
CPUMotherboardGraphicsRAM
Dual Xeon E5620 Supermicro X8DAL-i EVGA 570HD SC 8GiB Corsair DDR3 1333 ECC-R 
Hard DriveOptical DriveOSMonitor
OCZ Agility 3 120GB SSD (+16TB NAS) LG 10x Blu-Ray Windows 7 x64 / Debian x64 Dell 2408WFP, P2411H 
PowerCase
850W CoolerMaster SilentPro M CoolerMaster Cosmos Pure 
  hide details  
Reply
Serene Power
(13 items)
 
  
CPUMotherboardGraphicsRAM
Dual Xeon E5620 Supermicro X8DAL-i EVGA 570HD SC 8GiB Corsair DDR3 1333 ECC-R 
Hard DriveOptical DriveOSMonitor
OCZ Agility 3 120GB SSD (+16TB NAS) LG 10x Blu-Ray Windows 7 x64 / Debian x64 Dell 2408WFP, P2411H 
PowerCase
850W CoolerMaster SilentPro M CoolerMaster Cosmos Pure 
  hide details  
Reply
post #9 of 12
Quote:
Originally Posted by ghell View Post
For all my .net needs, I use C#. I find it vastly nicer than VB.NET. However, the biggest problem that I run in to with any .net language is that users have generic problems with .net that have nothing to do with my application.
thread hijacking? what hijacking?

Funny though, visual studio handles vb syntax much more elegantly than c#. while I hate #region , I hate the automatic outlinging in C# on every code block even more. I like that I don't have to back up to the "." to get intellisense to kick in.

I still do all my work in VS 2005 though, '08 might've fixed these things.
Quote:
Originally Posted by ghell View Post
For my thousands of users, I get at least 3 or 4 a week with problems that I simply cannot fix. Problems such as MyProgram.exe.config (internal configuration?) being corrupt, machine.config being corrupt, System.Xml.dll not existing (despite the fact that it does, and upgrading to .net 2.0 or repairing whatever is currently installed does not help), and lots of other generic problems that they get when running any .net application at all, even a "Hello, World!" app.
Lordy! you're doing something wrong with your references. I've never ran into a problem with framework dependencies. I've sure as heck created some of my own, but if they've got the framework installed; it should run without complaint.
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
post #10 of 12
Quote:
Originally Posted by hometoast View Post
thread hijacking? what hijacking?
It's not hijacking, the discussion is moving towards C# and .net. If you're going to move to .net, you may as well choose between C# and VB.NET, as you are going to have to learn something quite different to VB6 anyway.

Quote:
Originally Posted by hometoast View Post
Funny though, visual studio handles vb syntax much more elegantly than c#. while I hate #region , I hate the automatic outlinging in C# on every code block even more. I like that I don't have to back up to the "." to get intellisense to kick in.
Ctrl+Space

Quote:
Originally Posted by hometoast View Post
I still do all my work in VS 2005 though, '08 might've fixed these things.
I also use VS 2005 Pro. I see no point in upgrading to 08 as I don't use .net 3.5 at all.

Quote:
Originally Posted by hometoast View Post
Lordy! you're doing something wrong with your references. I've never ran into a problem with framework dependencies. I've sure as heck created some of my own, but if they've got the framework installed; it should run without complaint.
You obviously do not have a user base of thousands. These are very rare problems but they are problems that are posted to MSDN non stop that never get a decent answer from any MS MVP. I am not doing anything wrong. As I said, these users have problems running any .net application on their computer. They can't even run "Hello, World!" applications written in .net.

If this thread is still active next time someone sends me one of these problems, I'll send you a link to many mailing list, forum (msdn, technet, etc), nntp, etc posts asking for help with the problems and no solutions. Actually, generally reinstalling Windows from scratch solves the problem but this is something that users obviously don't like doing. Luckily most of my users have multiple machines and can just use another machine that does not have the problem.
Serene Power
(13 items)
 
  
CPUMotherboardGraphicsRAM
Dual Xeon E5620 Supermicro X8DAL-i EVGA 570HD SC 8GiB Corsair DDR3 1333 ECC-R 
Hard DriveOptical DriveOSMonitor
OCZ Agility 3 120GB SSD (+16TB NAS) LG 10x Blu-Ray Windows 7 x64 / Debian x64 Dell 2408WFP, P2411H 
PowerCase
850W CoolerMaster SilentPro M CoolerMaster Cosmos Pure 
  hide details  
Reply
Serene Power
(13 items)
 
  
CPUMotherboardGraphicsRAM
Dual Xeon E5620 Supermicro X8DAL-i EVGA 570HD SC 8GiB Corsair DDR3 1333 ECC-R 
Hard DriveOptical DriveOSMonitor
OCZ Agility 3 120GB SSD (+16TB NAS) LG 10x Blu-Ray Windows 7 x64 / Debian x64 Dell 2408WFP, P2411H 
PowerCase
850W CoolerMaster SilentPro M CoolerMaster Cosmos Pure 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Visual Basic Obsolete?