Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 07-06-08   #1 (permalink)
Fold4TheCause-Fold4ThePpl
 
Havegooda's Avatar
 
amd ati

Join Date: Sep 2007
Location: Palm Desert
Posts: 3,365
Blog Entries: 1

Rep: 201 Havegooda is acknowledged by manyHavegooda is acknowledged by manyHavegooda is acknowledged by many
Unique Rep: 147
Folding Team Rank: 94
Trader Rating: 15
Default Visual Basic Obsolete?

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~
__________________
If you need any help to do with Folding (or Intel), feel free to PM me ANYTIME.
Buy mah stuffz! Topic
Start folding HERE!
Funds Acquired For Updated Build
[||||||||||||||||||||] - $872.52/$2034.15
Quote:
Originally Posted by GoHigh View Post
All that work in my bathroom for three hours and for what... 2c. All that stroking... back and forth...

System: HTPC
CPU
Athlon 64 X2 4400+
Motherboard
Foxconn 780G
Memory
G.Skill 2x1GB DDR2-800
Graphics Card
Hauppauge WinTV 1600 PCI
Hard Drive
80GB Boot/2x640GB-RAID0/640GB Backup
Sound Card
Onboard
Power Supply
Generic 430W
Case
Aprevia
CPU cooling
Rosewill RCX-Z80-AL
OS
Vista Ultimate
Monitor
Samsung 245BW (24")
Havegooda is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 07-06-08   #2 (permalink)
Intel Overclocker
 
intel nvidia

Join Date: Oct 2007
Posts: 45

Rep: 3 emperor_choad Unknown
Unique Rep: 3
Trader Rating: 0
Default

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.
__________________
System: Desktop
CPU
Q6600 GO @ 3.7 ghz (8*463)
Motherboard
Asus P5K3 Deluxe
Memory
4gb (4x1gb Team Xtreem 1333 DDR3)
Graphics Card
8800 GTX
Hard Drive
2xWD 150gb Raptor Raid 0 & 2xWD 500gb Raid 0
Sound Card
Soundblaster Audigy 2 ZS Platinum
Power Supply
OCZ Powerstream 600w
Case
Thermaltake Armor
CPU cooling
Swiftech Apogee GTX - BIX 2x120
GPU cooling
Stock
OS
Windows Vista x64 Ultimate
Monitor
24" Dell 2405 and 42" Sharp AQUOS LCD HDTV
emperor_choad is offline   Reply With Quote
Old 07-06-08   #3 (permalink)
Fold4TheCause-Fold4ThePpl
 
Havegooda's Avatar
 
amd ati

Join Date: Sep 2007
Location: Palm Desert
Posts: 3,365
Blog Entries: 1

Rep: 201 Havegooda is acknowledged by manyHavegooda is acknowledged by manyHavegooda is acknowledged by many
Unique Rep: 147
Folding Team Rank: 94
Trader Rating: 15
Default

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~
__________________
If you need any help to do with Folding (or Intel), feel free to PM me ANYTIME.
Buy mah stuffz! Topic
Start folding HERE!
Funds Acquired For Updated Build
[||||||||||||||||||||] - $872.52/$2034.15
Quote:
Originally Posted by GoHigh View Post
All that work in my bathroom for three hours and for what... 2c. All that stroking... back and forth...

System: HTPC
CPU
Athlon 64 X2 4400+
Motherboard
Foxconn 780G
Memory
G.Skill 2x1GB DDR2-800
Graphics Card
Hauppauge WinTV 1600 PCI
Hard Drive
80GB Boot/2x640GB-RAID0/640GB Backup
Sound Card
Onboard
Power Supply
Generic 430W
Case
Aprevia
CPU cooling
Rosewill RCX-Z80-AL
OS
Vista Ultimate
Monitor
Samsung 245BW (24")
Havegooda is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 07-08-08   #4 (permalink)
Mmmm! Toast!
 
hometoast's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Pennsylvania
Posts: 924

Rep: 69 hometoast is acknowledged by some
Unique Rep: 55
Trader Rating: 8
Default

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
__________________
Rocket 3 down-payment fund: [|||||||||] $6k
e6750 @ 3.2 Ghz (400x8)

System: Muh Box
CPU
E6750 @ 3.2Ghz
Motherboard
DFI Blood Iron
Memory
4x1G GSkill HZs @960
Graphics Card
eVGA 8800GT 512 @675/950
Hard Drive
2xWD 320 AAKS Raid0 + 74G Raptor
Sound Card
X-Fi XtremeMusic
Power Supply
CM Extreme Power 650W
Case
CM Centurion 5
CPU cooling
AC Freezer 7
OS
Vista Biz 64
Monitor
Samsung 204BW
hometoast is offline Overclocked Account   Reply With Quote
Old 07-09-08   #5 (permalink)
Programmer
 
Butterbum's Avatar
 
intel nvidia

Join Date: Jun 2008
Location: London
Posts: 263

Rep: 13 Butterbum Unknown
Unique Rep: 14
Trader Rating: 0
Default

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.
__________________
System: UberRig
CPU
C2D E8200 @ 3.75ghz (1.375v, 468 *4 = 1875mhz FSB)
Motherboard
ASUS P5N-E SLI (650i)
Memory
OCZ 2GB Dual Channel Platinum Revision 2 X (2x1GB)
Graphics Card
EVGA 9600 GT (KO Edition)
Hard Drive
WD Caviar 250gb + 80gb
Sound Card
Soundblaster Live
Power Supply
Huntkey Green Star 500w
Case
Thermaltake Soprano
CPU cooling
Zalman 9500
GPU cooling
Stock
OS
XP x32/Ubuntu 8.04
Monitor
Philips 200W (20inch LCD)
Butterbum is offline   Reply With Quote
Old 07-09-08   #6 (permalink)
Using more Linux everyday
 
BiG O's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: University of Virginia
Posts: 1,243

Rep: 137 BiG O is acknowledged by manyBiG O is acknowledged by many
Unique Rep: 111
Trader Rating: 2
Default

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 :P.

System: My System
CPU
Q6700
Motherboard
Blood Iron
Memory
8GB Crucial Ballistix DDR2-800 (4x2GB)
Graphics Card
BFG 8800GTS 512MB g92
Hard Drive
2X 500GB Seagate Barracuda 7,200 RPM SATA RAID 0
Sound Card
Razer Barracuda AC-1 7.1Gaming Soundcard
Power Supply
ABS 700W Modular
Case
Antec 900
CPU cooling
Tuniq Tower 120
GPU cooling
Stock
OS
Vista Ultimate x64 SP, openSUSE 11.0, Xubuntu 8.04
Monitor
Hanns-G 28" & Dell Ultrasharp 19" widescreen
BiG O is offline Overclocked Account   Reply With Quote
Old 07-11-08   #7 (permalink)
4.0 GHz
 
brettjv's Avatar
 
intel nvidia

Join Date: Mar 2008
Location: Cali Native in AZ
Posts: 526

Rep: 63 brettjv is acknowledged by some
Unique Rep: 49
Trader Rating: 0
Default

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

System: the wolf
CPU
e8400@4005mhz (445x9, 1.22V) q750a151
Motherboard
asus p5k-e wifi
Memory
2x1gb patriot (890mhz, 5-5-5-15, 2.2V)
Graphics Card
8800gts512 810/1944/1152@bench 756/1890/1107@daily
Hard Drive
Raptor X, 2x160GB SATA(RAID0), 320GB SATA
Sound Card
audigy2 platinum pro
Power Supply
Antec Neo HE 500W (17A+17A+17A)
Case
antec nine hundred
CPU cooling
tmg i1
GPU cooling
stock
OS
XP SP2
Monitor
hp w2207h
brettjv is offline   Reply With Quote
Old 07-23-08   #8 (permalink)
New to Overclock.net
 
intel ati

Join Date: Mar 2007
Posts: 159

Rep: 11 ghell Unknown
Unique Rep: 9
Trader Rating: 0
Default

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.
__________________
System: Anon.
CPU
Core 2 Duo E8500
Motherboard
ASUS Striker Exteme 680i
Memory
4*1024MiB Corsair XMS2 Pro 800MHz 4-4-4-12 (LEDs)
Graphics Card
HD 4870x2
Hard Drive
2*250GB Seagate Barracuda 7200.10, 1*500GB 7200.11
Sound Card
X-Fi XtremeMusic
Power Supply
1000W Enermax Galaxy DXX
Case
SilverStone Temjin TJ07
CPU cooling
D-Tek Fuzion
OS
Vista Ultimate x64 / Debian x64
Monitor
Dell 2408WFP (DisplayPort)
ghell is offline   Reply With Quote
Old 07-23-08   #9 (permalink)
Mmmm! Toast!
 
hometoast's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Pennsylvania
Posts: 924

Rep: 69 hometoast is acknowledged by some
Unique Rep: 55
Trader Rating: 8
Default

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.
__________________
Rocket 3 down-payment fund: [|||||||||] $6k
e6750 @ 3.2 Ghz (400x8)

System: Muh Box
CPU
E6750 @ 3.2Ghz
Motherboard
DFI Blood Iron
Memory
4x1G GSkill HZs @960
Graphics Card
eVGA 8800GT 512 @675/950
Hard Drive
2xWD 320 AAKS Raid0 + 74G Raptor
Sound Card
X-Fi XtremeMusic
Power Supply
CM Extreme Power 650W
Case
CM Centurion 5
CPU cooling
AC Freezer 7
OS
Vista Biz 64
Monitor
Samsung 204BW
hometoast is offline Overclocked Account   Reply With Quote
Old 07-23-08   #10 (permalink)
New to Overclock.net
 
intel ati

Join Date: Mar 2007
Posts: 159

Rep: 11 ghell Unknown
Unique Rep: 9
Trader Rating: 0
Default

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.
__________________
System: Anon.
CPU
Core 2 Duo E8500
Motherboard
ASUS Striker Exteme 680i
Memory
4*1024MiB Corsair XMS2 Pro 800MHz 4-4-4-12 (LEDs)
Graphics Card
HD 4870x2
Hard Drive
2*250GB Seagate Barracuda 7200.10, 1*500GB 7200.11
Sound Card
X-Fi XtremeMusic
Power Supply
1000W Enermax Galaxy DXX
Case
SilverStone Temjin TJ07
CPU cooling
D-Tek Fuzion
OS
Vista Ultimate x64 / Debian x64
Monitor
Dell 2408WFP (DisplayPort)
ghell is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 03:19 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.25754 seconds with 9 queries