Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Are VB & VB.NET the same?

Reply
 
Old 05-30-2009   #1 (permalink)


Vista Home Premium 32-bit
 
 

Are VB & VB.NET the same?

If not, then how can I covert them and is more like a different kind of VB like VBA?

My System SpecsSystem Spec
Old 05-30-2009   #2 (permalink)
Richard Mueller [MVP]


 
 

Re: Are VB & VB.NET the same?


"Advice Pro" <guest@xxxxxx-email.com> wrote in message
news:ca10b92bae0ca2ab57de5dd62570058b@xxxxxx-gateway.com...
Quote:

>
> If not, then how can I covert them and is more like a different kind of
> VB like VBA?
>
>
> --
> Advice Pro
The latest versions of Visual Basic are called Visual Basic, but are
actually VB.NET. The last "classic" version of VB was Version 6. The classic
VB6 is very similar to VBScript. VBA is a different thing, but I gather it
is also similar to VBScript.

VB.NET has a conversion utility, which can convert 90% of VB6 code (they
say), but in practice the remaining code can be a pain to convert. I've
heard many people say it is easier to start over in VB.NET. The basic VB.NET
language is similar, but different enough from classic VB to require a steep
learning curve.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


My System SpecsSystem Spec
Old 05-30-2009   #3 (permalink)
Tim Williams


 
 

Re: Are VB & VB.NET the same?

I think VB and VBA are essentially the same underlying language (VBA is an
implementation of VB).
VBscript would be the odd one out.

VB(net) is VB in name only and some syntactical similarities: I recall in
the early dot net days many long-time classic VB developers liked to refer
to it as "VB.Not!"

Tim



"Richard Mueller [MVP]" <rlmueller-nospam@xxxxxx> wrote in
message news:O3cwyDW4JHA.1712@xxxxxx
Quote:

>
> "Advice Pro" <guest@xxxxxx-email.com> wrote in message
> news:ca10b92bae0ca2ab57de5dd62570058b@xxxxxx-gateway.com...
Quote:

>>
>> If not, then how can I covert them and is more like a different kind of
>> VB like VBA?
>>
>>
>> --
>> Advice Pro
>
> The latest versions of Visual Basic are called Visual Basic, but are
> actually VB.NET. The last "classic" version of VB was Version 6. The
> classic VB6 is very similar to VBScript. VBA is a different thing, but I
> gather it is also similar to VBScript.
>
> VB.NET has a conversion utility, which can convert 90% of VB6 code (they
> say), but in practice the remaining code can be a pain to convert. I've
> heard many people say it is easier to start over in VB.NET. The basic
> VB.NET language is similar, but different enough from classic VB to
> require a steep learning curve.
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --
>
>

My System SpecsSystem Spec
Old 05-30-2009   #4 (permalink)
Al Dunbar


 
 

Re: Are VB & VB.NET the same?


"Tim Williams" <timjwilliams@xxxxxx> wrote in message
news:%23B3WQxW4JHA.2336@xxxxxx
Quote:

>I think VB and VBA are essentially the same underlying language (VBA is an
>implementation of VB).
> VBscript would be the odd one out.
.... and interesting where this was posted yet he didn't even ask about
vbscript. Maybe he should have asked in a vb or vb.net newsgroup...

/Al
Quote:

> VB(net) is VB in name only and some syntactical similarities: I recall in
> the early dot net days many long-time classic VB developers liked to refer
> to it as "VB.Not!"
>
> Tim
>
>
>
> "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxx> wrote in
> message news:O3cwyDW4JHA.1712@xxxxxx
Quote:

>>
>> "Advice Pro" <guest@xxxxxx-email.com> wrote in message
>> news:ca10b92bae0ca2ab57de5dd62570058b@xxxxxx-gateway.com...
Quote:

>>>
>>> If not, then how can I covert them and is more like a different kind of
>>> VB like VBA?
>>>
>>>
>>> --
>>> Advice Pro
>>
>> The latest versions of Visual Basic are called Visual Basic, but are
>> actually VB.NET. The last "classic" version of VB was Version 6. The
>> classic VB6 is very similar to VBScript. VBA is a different thing, but I
>> gather it is also similar to VBScript.
>>
>> VB.NET has a conversion utility, which can convert 90% of VB6 code (they
>> say), but in practice the remaining code can be a pain to convert. I've
>> heard many people say it is easier to start over in VB.NET. The basic
>> VB.NET language is similar, but different enough from classic VB to
>> require a steep learning curve.
>>
>> --
>> Richard Mueller
>> MVP Directory Services
>> Hilltop Lab - http://www.rlmueller.net
>> --
>>
>>
>
>

My System SpecsSystem Spec
Old 05-30-2009   #5 (permalink)
mayayana


 
 

Re: Are VB & VB.NET the same?

As others have said, VB and VB.Net are completely
different, in a number of ways. And neither is
VBScript. So it's a little bit like you're looking in a
dessert cookbook to find a recipe for turning beef
stew into salad.

VB is a COM-centric system that produces
native-code-compiled EXEs and COM DLLs. In general,
VB programmers use the VB language methods plus
COM objects and, optionally, the Win32 API. VB.Net
is part of a Java-style, JIT-compiled system. It's one
of several .Net languages, all of which mainly use
the extensive system of objects (called classes in .Net)
that are part of the .Net "Framework". Like Java, then,
it's mainly for writing intranet applets, using a thoroughly
object-oriented coding style that depends on a "virtual
machine" runtime.

VB is to VB.Net as C++ is to C#. Each pair shares a
common syntax -- a deliberate effort to ease the transition
from Windows programming to .Net programming. (Just
as Java and javascript were designed to look like C++,
while VBS was designed to look like VB.) But beyond the
syntax similarity, VB and VB.Net have almost nothing in
common.

(It gets confusing because Microsoft originally made a
distinction between VB and VB.Net, but over time they've
decided to stop supporting VB and have dropped the ".Net"
from "VB.Net". The MS marketing folks have even gone so
far as to pretend that VB.Net is an upgrade to VB, retroactively
renumbering VB.Net 1, 2 and 3 as "VB7", "VB8" and "VB9".)

If you have a VBScript question it would
help if you clarify it. If you have a VB question try:

microsoft.public.vb.general.discussion

If you have a .Net question, or if you want to
convert VB to VB.Net, try this .Net group:

microsoft.public.dotnet.languages.vb



Quote:

>
> If not, then how can I covert them and is more like a different kind of
> VB like VBA?
>
>
> --
> Advice Pro

My System SpecsSystem Spec
Reply

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46