VB6 > BV.Net Equivalents

H

Harry Strybos

Hi All

Is there a book or web site that lists all the VB.Net equivalents for VB.6
methods? In other words, a list of all VB6 keywords and their equivalent in
VB.Net. This would be of enormous help to me. Tank you (sorry, got a cold
;->)
 
S

Scott M.

Well, you need to understand that there aren't just .NET equivalents to VB
6.0 methods.

..NET is all about objects (provided by the .NET Framework) and there are
well over 10,000 of them. So, it would be very difficult to say what has
been replaced with what in a definitive list.

Instead think of it this way, since everything is an object now, ask
yourself if the new object might have a method that might replace an old VB
6.0 function. For example, instead of math related functions, we now have
number objects with math related methods. Instead of string related
functions, we now have string object methods. But here's the tricky part,
MS didn't do away with all those VB 6.0 functions, they can still be used
(although I wouldn't recommend it because they will just need to put in a
call to the .NET method and therefore increase overhead in your app).
 
T

Tom Shelton

Hi All

Is there a book or web site that lists all the VB.Net equivalents for VB.6
methods? In other words, a list of all VB6 keywords and their equivalent in
VB.Net. This would be of enormous help to me. Tank you (sorry, got a cold
;->)

Harry,

I know there is a book that does this - but for the life of me I can't
remember the title... It compares VB6/VB.NET/C#. I'm reasearching
now...

here it is:
http://www.amazon.com/exec/obidos/t...gy_img_2/002-7387380-8731214?v=glance&s=books

I haven't looked at the book personally, but it seems to be along the
lines your asking about.
 
A

Armin Zingler

Harry Strybos said:
Is there a book or web site that lists all the VB.Net equivalents for
VB.6 methods? In other words, a list of all VB6 keywords and their
equivalent in VB.Net. This would be of enormous help to me. Tank you
(sorry, got a cold ;->)


Many/most keywords did not change.

Why a web site? It's part of the documentation. ;-)

VS.NET
VB and VC#
Upgrading applications
Upgrading from VB 6.0
-> Introduction for VB veterans
Reference
VB language
VB language tour
-> Language Changes


What's not contained did not change. :)


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
C

Cor

Hi Scott,

Again in Top from the thread with this kind of questions and in my opinion
from the middle again with the wrong answer about this.

I changed it a little bit for you.

For example, instead of math related functions, we now have also
number objects with math related methods. Instead of one string related
functions, we now have more string related object methods. But here's the
special VB.net part,
MS didn't do away with all those VB 6.0 functions, there are made new ones
for the .Net
(although I wouldn't recommend it because some of them will just need to put
in a
call to the .NET method and therefore increase overhead of one processor
cycle per instruction for some instructions in your app).

The last sentece I keep for your responsibility although for me it is bs.

Akubar has removed the microsoft.visual.basic namespace, someone gave him
that advice and I thought I remember me who, now he cannot use chr and those
things anymore.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top