Why use VB Script?

Hello could someone please tell me if why (if it is), is VB Script better than Java Script?
VB Script only works with IE.
So what are the advantages?
Thanks!
LVL 1
dvd99Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dvd99Author Commented:
Also can VB Script be used without the browser for a scripting language?
Like to log off and on under a new user name?
Thanks?
What things can it do?
0
pjknibbsCommented:
If you know BASIC but don't know Java, VBScript is obviously easier to use. As far as functionality goes they're about the same, though.

Under Windows 98 and Windows 2000, which include the Windows Scripting Host, you can run VBScript *or* JScript outside the browser.
0
deightonprogCommented:
I'm starting using VBscript within ASP pages, seems ok.  I thought it ran on a server then pumps out HTML to the browser, so you can use Netscape.  

Like someone said, I don't know Java and there's too much else to learn, so we're using VB.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

crazymanCommented:
You can run Vbscript or java script in ASP pages either server side or client side,obviously some advantages are lost and gained depending on your choice but Ii usually use VbScript for server side and java Script for Client Side.
Ii guess it is more a case of personal choice than anything because i know a lot of people who use javaScript server side and they have no problems with it.
0
jngillotCommented:
My opinion is that with VB Script you can for example create you own ActiveX DLL or Control and use it in a VB Script

This is a way to extend your browser or the content of your application.

Anyway, the problem with using ActiveX and especially for the Web, is that if you control or dll is huge, the people that are going to connect to your web may stop downloading the control as this may take to much time.

I had the problem in the past and i've decided to write in Java instead of using a control.

Also in VBScript you may be able to open an Access Database for exemple and much more stuff.

Microsoft has an article on all supported function in VB script.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pjknibbsCommented:
jngillot: You can create ActiveX controls in the full-blown Visual BASIC language, but not VBScript.
0
jngillotCommented:
Yes of course.

But then you can use the method CreateObject to have an instance of it.

VB script does not support DDE calls, but support OLE/COM calls.

So if in a VB script you want to open (for example) an Excel Spread sheet, you need to call CreateObject to do so.

As in Java Script you cannot.

Also using VB script you know that this will work with IE and not with Netscape (or you can find an activeX plugin to have the support in Netscape).

As with Java Script you must know offen in your code which browser you are using because of some functions that cound not work with one of them.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.