Computing.Net > Forums > Programming > Visual basic script or #net

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Visual basic script or #net

Reply to Message Icon

Original Message
Name: basicdos
Date: September 26, 2007 at 18:02:42 Pacific
Subject: Visual basic script or #net
OS: WinMe/XP
CPU/Ram: int III / 255Mb
Model/Manufacturer: E -machine
Comment:

Hi all..

I finally have some free time and want to get into somthing new.

Im just doing this as a hobby for now but who knows what the future holds.

Any way Im familiar with basic and visual basic 6, Ive written a few amateur programs but want too try somthing new.

What do you guys think of vb script Vs. vb net.

by the way I was in the bookstore today and saw a book on ajax , does anyone think thats a good language or is it a flash in the pan?

Thanks, I look forward to your thoughtful and colorful responses



Report Offensive Message For Removal


Response Number 1
Name: Razor2.3
Date: September 26, 2007 at 18:33:30 Pacific
Reply: (edit)

What do you guys think of vb script Vs. vb net.
When one of the designers of VBScript talked about VBScript, he asked an important question: How bad is good enough? Basically, VBScript is a quick and dirty way to do something fairly basic. VB.NET a programming language, albeit one limited to the .NET framework.

ajax
To really use AJAX, you need to know JavaScript. Intimately. That alone should scare you off. Still, if you want to design web pages like the newer 2.0 sites that pop up annoying "windows," you need AJAX.


Report Offensive Follow Up For Removal

Response Number 2
Name: basicdos
Date: September 26, 2007 at 19:52:15 Pacific
Reply: (edit)

thanks razor

bad is good enough as long as it works

which language do you think is more versatile, and will be more commonly used into the future.

From what Ive read off this site it seems that vb script could be used to automate alot of things similiar to the way Bat files are used both as a stand alone and over the web is this correct.

the things ive fooled with so far have been stand alone programs that operate on my machine , i did get my phone book program to use the modem and the printer thats about as far as ive gone with peripherals.

what id like to try is to send data through my network cards maybe create a quick notepad type instant message program for sending notes back and forth through the router to my network. maybe even through the internet explorer window???

I dont know the commands for opening the network card as a comm port. does this sound like it would be possible with vb script?


Report Offensive Follow Up For Removal

Response Number 3
Name: Razor2.3
Date: September 26, 2007 at 20:25:59 Pacific
Reply: (edit)

With VBScript? No, not unless you had an ActiveX object that would do so for you.

You have to realize, VBScript by itself is a very weak scripting language. About the most you could do is get some input from the user via InputBox(), do some computations on it, and spit out the result in a MsgBox. (CScript.exe and WScript.exe do add some additional functionality, however.)

Its power lies in evoking ActiveX. File I/O is handled though ActiveX; registry manipulation is done though ActiveX; Active Directory automation is done thanks to ActiveX; WMI interaction relies on ActiveX. Only my most basic scripts don't include a CreateObject() or a GetObject().

With all that said, if you know Visual Basic for Applications, you pretty much know VBS. (The differences can be found here and here.) Look at some of the VBScript posts in this forum; aside from this site's murdering of white space and my abuses of syntax, you should have no trouble understanding what they do.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software