473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB6 vs VB.NET

I was hoping to start up a discussion on the pros and cons of VB6 vs
VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
the other hand, why should someone not use VB.NET (besides learning
curve which is my current reason)?

David
Jul 17 '05 #1
12 12619
On 11 Aug 2004 08:15:08 -0700, dh*******@chestnut.org (David) wrote:
I was hoping to start up a discussion on the pros and cons of VB6 vs
VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
the other hand, why should someone not use VB.NET (besides learning
curve which is my current reason)?


Well, since we're mostly pre-.Net here, I'd have to say you're mostly
going to get cons, rather than pros.

....wait a minute, that doesn't sound right...

[ahem] Let's try that again... I, personally, have tried VB.Net and
don't like it. Some people say it's a "natural upgrade" to VB6, to
which I say nuts. VB.Net is a totally different language; it doesn't
work the same as "regular" VB.

The biggest advantage that I can see is that Microsoft will support
VB.Net for some time to come, while they're phasing out their pre-.Net
languages. Also, in theory the .Net framework can be built for
multiple platforms (and there are projects underway) allowing for
portability - similar to Java's VM.

A couple disadvantages I can think of right off-hand:
- relies on the .Net framework
- relatively easy to reconstruct something resembling the original
source code from the compiled program

Now, if you want some people to give you reasons to switch to .Net, go
to this group and ask there:
news:microsoft.public.dotnet.languages.vb
Jul 17 '05 #2
I have to give another point of view. I am self taught, starting with
Basic on a TI994a computer (remember these?), then the obvious
Q-Basic. My first VB version was 4, I now have VB6sp6 and VB.Net
2003, and 2005 beta.

Using VB.Net was wierd at first, I guess because I was used to VB6.
After using it for a while (a few months) I really like it.
Everything I do now I do in VB.Net. I am not a full time programmer,
so you may get different opinions on this. I have done a lot of
programming for companies, and still support 3 apps I wrote in VB6.

After using VB.Net, I have to say I wish I had it when these apps were
written. VB.Net is a more powerful language then VB6. Going back and
modifying the apps I still support, I notice things that could have
been done a lot easier in VB.Net.

As far as depending on the 1.1 Framework (2.0 for VB.Net 2005), that
is true. You need that installed to run the VB.Net programs. On the
flip side, most OS's will have this installed already. It comes with
WinXP, and 2003 Server, so there will not be a great disadvantage to
requiring this.

Yes, I know there are still a lot of 98, NT, and 2k machines out
there, that is why I still need VB6

Hope this helps!

On 11 Aug 2004 08:15:08 -0700, dh*******@chestnut.org (David) wrote:
I was hoping to start up a discussion on the pros and cons of VB6 vs
VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
the other hand, why should someone not use VB.NET (besides learning
curve which is my current reason)?

David


Jul 17 '05 #3
> I have to give another point of view. I am self taught,
starting with Basic on a TI994a computer (remember
these?),


Yes... not only do I remember them, I started on the TI99/4 too! (Note,
no "a", although I eventually had one of those also.) Did you ever
happen to come across either of these programs, TI-Asteroids or Shuttle
Command, in your TI travels?

Rick

Jul 17 '05 #4
Yeah, I remember Shuttle Command, but not asteroids. I remember when
I got the Extended Basic cartridge - I thought "This computer can do
ANYTHING!" How times change... I never got the expansion box, so I
never worked up to getting a floppy drive - everything saved on a
cassette tape.

On Wed, 11 Aug 2004 22:02:25 -0400, "Rick Rothstein"
<ri************@NOSPAMcomcast.net> wrote:
I have to give another point of view. I am self taught,
starting with Basic on a TI994a computer (remember
these?),


Yes... not only do I remember them, I started on the TI99/4 too! (Note,
no "a", although I eventually had one of those also.) Did you ever
happen to come across either of these programs, TI-Asteroids or Shuttle
Command, in your TI travels?

Rick


Jul 17 '05 #5
> Yeah, I remember Shuttle Command, but not asteroids.

I was the programmer for both of those programs. I hope you enjoyed
Shuttle Command... if you had a legitimate copy that is.<g>

I remember when I got the Extended Basic cartridge -
I thought "This computer can do ANYTHING!"
That was exactly how I felt.

How times change... I never got the expansion box, so I
never worked up to getting a floppy drive...
I had one... single-sided, single-density... a whole 90K of storage!

....everything saved on a cassette tape.


Weren't those things fun? Three-minutes of continual screechy chatter
just to load one program! The floppy was not too much better,
speed-wise; I think it took about a minute to load the same program it
took three-minutes to load by tape.
Rick - MVP

Jul 17 '05 #6
Besides OS, is there another reason why you would stay with VB6? The
..NET framework can be installed on the other operating systems,
correct?

David

Eddie B <> wrote in message news:<4v********************************@4ax.com>. ..
I have to give another point of view. I am self taught, starting with
Basic on a TI994a computer (remember these?), then the obvious
Q-Basic. My first VB version was 4, I now have VB6sp6 and VB.Net
2003, and 2005 beta.

Using VB.Net was wierd at first, I guess because I was used to VB6.
After using it for a while (a few months) I really like it.
Everything I do now I do in VB.Net. I am not a full time programmer,
so you may get different opinions on this. I have done a lot of
programming for companies, and still support 3 apps I wrote in VB6.

After using VB.Net, I have to say I wish I had it when these apps were
written. VB.Net is a more powerful language then VB6. Going back and
modifying the apps I still support, I notice things that could have
been done a lot easier in VB.Net.

As far as depending on the 1.1 Framework (2.0 for VB.Net 2005), that
is true. You need that installed to run the VB.Net programs. On the
flip side, most OS's will have this installed already. It comes with
WinXP, and 2003 Server, so there will not be a great disadvantage to
requiring this.

Yes, I know there are still a lot of 98, NT, and 2k machines out
there, that is why I still need VB6

Hope this helps!

On 11 Aug 2004 08:15:08 -0700, dh*******@chestnut.org (David) wrote:
I was hoping to start up a discussion on the pros and cons of VB6 vs
VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
the other hand, why should someone not use VB.NET (besides learning
curve which is my current reason)?

David

Jul 17 '05 #7
I did just notice one of the differences, both a pro and a con.

Pro: compilation errors are easier to locate and fix. In VB6, if there
are multiple errors, it will stop at the first one and bring you to
that line. In .NET, it will list them all out for you and let you just
double click the problem line and be brought to that point in the
code.

Con: More coding is needed when using ADO and simple I/O. In VB6, I
could assign a value like strFirstName = rs!FirstName. In .NET, I had
to do strFirstName = rs.Fields("FirstName").Value. I could not even
get away with rs("FirstName"). Similarly, to open a file and print to
it, in VB6 I could just write:

Open "C:\Temp\temp.txt" for Output as 1
Print #1, "Test"

is now

Microsoft.VisualBasic.FileOpen(1, "C:\Temp\temp.txt", OpenMode.Output)
Microsoft.VisualBasic.Print(1, "Test")
David

dh*******@chestnut.org (David) wrote in message news:<83**************************@posting.google. com>...
I was hoping to start up a discussion on the pros and cons of VB6 vs
VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
the other hand, why should someone not use VB.NET (besides learning
curve which is my current reason)?

David

Jul 17 '05 #8
Yes, it can be installed on other OS's, but it is about 35 megs. This
may not be a problem, but then again...

On 12 Aug 2004 06:35:12 -0700, dh*******@chestnut.org (David) wrote:
Besides OS, is there another reason why you would stay with VB6? The
.NET framework can be installed on the other operating systems,
correct?

David

Eddie B <> wrote in message news:<4v********************************@4ax.com>. ..
I have to give another point of view. I am self taught, starting with
Basic on a TI994a computer (remember these?), then the obvious
Q-Basic. My first VB version was 4, I now have VB6sp6 and VB.Net
2003, and 2005 beta.

Using VB.Net was wierd at first, I guess because I was used to VB6.
After using it for a while (a few months) I really like it.
Everything I do now I do in VB.Net. I am not a full time programmer,
so you may get different opinions on this. I have done a lot of
programming for companies, and still support 3 apps I wrote in VB6.

After using VB.Net, I have to say I wish I had it when these apps were
written. VB.Net is a more powerful language then VB6. Going back and
modifying the apps I still support, I notice things that could have
been done a lot easier in VB.Net.

As far as depending on the 1.1 Framework (2.0 for VB.Net 2005), that
is true. You need that installed to run the VB.Net programs. On the
flip side, most OS's will have this installed already. It comes with
WinXP, and 2003 Server, so there will not be a great disadvantage to
requiring this.

Yes, I know there are still a lot of 98, NT, and 2k machines out
there, that is why I still need VB6

Hope this helps!

On 11 Aug 2004 08:15:08 -0700, dh*******@chestnut.org (David) wrote:
>I was hoping to start up a discussion on the pros and cons of VB6 vs
>VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
>the other hand, why should someone not use VB.NET (besides learning
>curve which is my current reason)?
>
>David


Jul 17 '05 #9
it will list them all out for you and let you just
double click the problem line and be brought to that point in the
code.
Very true, also, you can assign points of code through this window, if
you are working on something, and want to mark it - do it here. That
way it is easier to find later.
Con: More coding is needed when using ADO and simple I/O. Actually, this is also a Pro. As far as simple text I/O, it is
actually not any harder, plus it allows more freedom to do some things
that were harder in VB6. I have an INI dll that makes writing to and
reading from an ini file kinda like getting a field in a database. In
VB6, you had to read the whole file, in VB.Net you get just what you
want.

As far as ADO, I used to agree. This was one of the big turn-offs for
me in VB.Net. After you get used to it, it is pretty easy. Have you
used a dataset yet? Sorting and filtering is easier also, do to the
fact that you can write SQL statements for all searches. You can also
join tables - another big plus in my book.

On 12 Aug 2004 15:02:34 -0700, dh*******@chestnut.org (David) wrote:
I did just notice one of the differences, both a pro and a con.

Pro: compilation errors are easier to locate and fix. In VB6, if there
are multiple errors, it will stop at the first one and bring you to
that line. In .NET, it will list them all out for you and let you just
double click the problem line and be brought to that point in the
code.

Con: More coding is needed when using ADO and simple I/O. In VB6, I
could assign a value like strFirstName = rs!FirstName. In .NET, I had
to do strFirstName = rs.Fields("FirstName").Value. I could not even
get away with rs("FirstName"). Similarly, to open a file and print to
it, in VB6 I could just write:

Open "C:\Temp\temp.txt" for Output as 1
Print #1, "Test"

is now

Microsoft.VisualBasic.FileOpen(1, "C:\Temp\temp.txt", OpenMode.Output)
Microsoft.VisualBasic.Print(1, "Test")
David

dh*******@chestnut.org (David) wrote in message news:<83**************************@posting.google. com>...
I was hoping to start up a discussion on the pros and cons of VB6 vs
VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
the other hand, why should someone not use VB.NET (besides learning
curve which is my current reason)?

David


Jul 17 '05 #10
This would sound like a con to me.

David
Eddie B <> wrote in message news:<5i********************************@4ax.com>. ..
Yes, it can be installed on other OS's, but it is about 35 megs. This
may not be a problem, but then again...

On 12 Aug 2004 06:35:12 -0700, dh*******@chestnut.org (David) wrote:
Besides OS, is there another reason why you would stay with VB6? The
.NET framework can be installed on the other operating systems,
correct?

David

Eddie B <> wrote in message news:<4v********************************@4ax.com>. ..
I have to give another point of view. I am self taught, starting with
Basic on a TI994a computer (remember these?), then the obvious
Q-Basic. My first VB version was 4, I now have VB6sp6 and VB.Net
2003, and 2005 beta.

Using VB.Net was wierd at first, I guess because I was used to VB6.
After using it for a while (a few months) I really like it.
Everything I do now I do in VB.Net. I am not a full time programmer,
so you may get different opinions on this. I have done a lot of
programming for companies, and still support 3 apps I wrote in VB6.

After using VB.Net, I have to say I wish I had it when these apps were
written. VB.Net is a more powerful language then VB6. Going back and
modifying the apps I still support, I notice things that could have
been done a lot easier in VB.Net.

As far as depending on the 1.1 Framework (2.0 for VB.Net 2005), that
is true. You need that installed to run the VB.Net programs. On the
flip side, most OS's will have this installed already. It comes with
WinXP, and 2003 Server, so there will not be a great disadvantage to
requiring this.

Yes, I know there are still a lot of 98, NT, and 2k machines out
there, that is why I still need VB6

Hope this helps!

On 11 Aug 2004 08:15:08 -0700, dh*******@chestnut.org (David) wrote:

>I was hoping to start up a discussion on the pros and cons of VB6 vs
>VB.NET. Specifically, why should someone switch from VB6 to VB.NET? On
>the other hand, why should someone not use VB.NET (besides learning
>curve which is my current reason)?
>
>David

Jul 17 '05 #11
why would they not want to use VB6
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004
Jul 17 '05 #12
Who would 'they' be? Not sure who this message is directed to...

On Mon, 16 Aug 2004 19:54:58 -0400, "Hal Rosser"
<hm******@bellsouth.net> wrote:
why would they not want to use VB6
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004


Jul 17 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.