HighTechTalks DotNet Forums  

VBScript or VB.NET?

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss VBScript or VB.NET? in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Primera
 
Posts: n/a

Default VBScript or VB.NET? - 08-19-2005 , 11:19 AM






I have been using VBScript for some time in my Admin duties for login
scripts, reports, and information gathering. I have recently started looking
at VB.NET and have become interested in learning a more robust language than
VBScript. Can I do everything in VB.NET that I can do in VBScript? What are
the pros and cons of this?

Thanks in advance.

Reply With Quote
  #2  
Old   
Mythran
 
Posts: n/a

Default Re: VBScript or VB.NET? - 08-19-2005 , 11:38 AM







"Primera" <Primera (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have been using VBScript for some time in my Admin duties for login
scripts, reports, and information gathering. I have recently started
looking
at VB.NET and have become interested in learning a more robust language
than
VBScript. Can I do everything in VB.NET that I can do in VBScript? What
are
the pros and cons of this?

Thanks in advance.
Yes, you can do everything in VB.Net that you can do in VBScript and then
some

Pros:

VB.Net is a compiled language, so you gain performance benefits of that.
VB.Net can do more than VBScript can.
VB.Net is a managed language.
VB.Net is easier than VBScript, IMO.
VB.Net means you are learning a .Net language and will one day, hopefully,
make the step to C# :P

Cons:

VB.Net is a compiled language, you have to compile the app for every change
you make to the code.
Umm, yeah...can't think of any other con's atm.

Mythran



Reply With Quote
  #3  
Old   
Primera
 
Posts: n/a

Default Re: VBScript or VB.NET? - 08-19-2005 , 12:21 PM



So you feel that C# is better than VB.NET? If so....why?

Thanks very much for your help.


"Mythran" wrote:

Quote:
"Primera" <Primera (AT) discussions (DOT) microsoft.com> wrote in message
news:BFC465CC-38D4-4CEB-8C76-7A76ED7F35A6 (AT) microsoft (DOT) com...
I have been using VBScript for some time in my Admin duties for login
scripts, reports, and information gathering. I have recently started
looking
at VB.NET and have become interested in learning a more robust language
than
VBScript. Can I do everything in VB.NET that I can do in VBScript? What
are
the pros and cons of this?

Thanks in advance.

Yes, you can do everything in VB.Net that you can do in VBScript and then
some

Pros:

VB.Net is a compiled language, so you gain performance benefits of that.
VB.Net can do more than VBScript can.
VB.Net is a managed language.
VB.Net is easier than VBScript, IMO.
VB.Net means you are learning a .Net language and will one day, hopefully,
make the step to C# :P

Cons:

VB.Net is a compiled language, you have to compile the app for every change
you make to the code.
Umm, yeah...can't think of any other con's atm.

Mythran



Reply With Quote
  #4  
Old   
James
 
Posts: n/a

Default Re: VBScript or VB.NET? - 09-18-2005 , 11:59 PM



agreed with pros and cons

BUT

whatever u script in vbscript, u must learn where to find the correct synatx
in vb.bet, it is not copy and paste and expect vb.net to work for u.

What i did was for my vbscript (usually console based), i used vb.net to
create fanciful windows forms, then pass paramenters to vbscript to execute
, so in actual fact, my vbscript is executing.

Of course in the long run, vb.net suppose to run better, but u need time to
convert all the "text" scripts into "exe" vb.net


"Mythran" <kip_potter (AT) hotmail (DOT) comREMOVETRAIL> wrote

Quote:
"Primera" <Primera (AT) discussions (DOT) microsoft.com> wrote in message
news:BFC465CC-38D4-4CEB-8C76-7A76ED7F35A6 (AT) microsoft (DOT) com...
I have been using VBScript for some time in my Admin duties for login
scripts, reports, and information gathering. I have recently started
looking
at VB.NET and have become interested in learning a more robust language
than
VBScript. Can I do everything in VB.NET that I can do in VBScript?
What
are
the pros and cons of this?

Thanks in advance.

Yes, you can do everything in VB.Net that you can do in VBScript and then
some

Pros:

VB.Net is a compiled language, so you gain performance benefits of that.
VB.Net can do more than VBScript can.
VB.Net is a managed language.
VB.Net is easier than VBScript, IMO.
VB.Net means you are learning a .Net language and will one day, hopefully,
make the step to C# :P

Cons:

VB.Net is a compiled language, you have to compile the app for every
change
you make to the code.
Umm, yeah...can't think of any other con's atm.

Mythran




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.