Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> VBScript vs JScript, vbscript...is it ever used?
OrbitPoints
post Sep 13 2004, 02:07 AM
Post #1


Member [ Level 1 ]
Group Icon

Group: [HOSTED]
Posts: 31
Joined: 9-September 04
Member No.: 402



I have used Jscript every since I started web development, why did m$ make vbscript? Are there any advantages to using it? Is it abandoned now? I have never seen any site use it.
Go to the top of the page
 
+Quote Post
dissipate
post Sep 13 2004, 10:28 AM
Post #2


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 120
Joined: 2-September 04
Member No.: 100



hmmm.

both are scripting languages that can be used within ASP pages. there's a lot of documentation out there on using VBscript with ASP. however, VBscript can only run properly on IE. so if you're designing pages which you want to work with other browsers such as netscape, use jscript.
Go to the top of the page
 
+Quote Post
zarjay
post Sep 13 2004, 02:24 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 48
Joined: 6-September 04
Member No.: 318



VBscript is just another attempt by Microsoft to monopolize the industry, so I would suggest never using it, as it's only compatible with IE. Despite the fact that Javascipt could be disabled on webpages by the user, at least it works in most, if not all, browsers.
Go to the top of the page
 
+Quote Post
daniel15
post Sep 23 2004, 09:19 AM
Post #4


Member - Active Contributor
Group Icon

Group: Members
Posts: 88
Joined: 4-September 04
From: Melbourne, Australia
Member No.: 217



VBScript is ok if you know Visual Basic, but it is only compatible with IE. I used to use VBScript for a while, but now my interest is PHP.
Go to the top of the page
 
+Quote Post
marijnnn
post Sep 23 2004, 02:21 PM
Post #5


Premium Member
Group Icon

Group: [HOSTED]
Posts: 336
Joined: 22-September 04
Member No.: 798



don't confuse php & vbscript, it are both totally different things.
vbscript runs clientside, unless you use it inside asp pages with the runat server directive.
if you are looking for a reason, i'd agree with zarjay, + the fact that vbscript is more adapted to the microsoft system that jscript is.
jscript is far more universal, so i'd advise you to use jscript as much as possible.
Go to the top of the page
 
+Quote Post
mastercomputers
post Sep 23 2004, 02:32 PM
Post #6


BUG.SWAT.PATROL
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



QUOTE(OrbitPoints @ Sep 13 2004, 03:07 PM)
I have used Jscript every since I started web development, why did m$ make vbscript? Are there any advantages to using it? Is it abandoned now? I have never seen any site use it.
*



Both VBScript and JScript are Microsoft scripting languages, you should use JavaScript instead, JScript was MS's attempt to push JavaScript out of the scene as competition but it didn't do so well. VBScript, well, stay clear of it, this is also a script used by virus writers and is not only effective on the web. .ASP is based on VBScripting, so it's quite similar in syntax.

You may not see VBScripts as it's only supported by IE, I'm not sure of any other browsers who went onboard for this scripting language. So you should consider it abandoned, obsolete...


Cheers, MC

Go to the top of the page
 
+Quote Post
marijnnn
post Sep 23 2004, 03:14 PM
Post #7


Premium Member
Group Icon

Group: [HOSTED]
Posts: 336
Joined: 22-September 04
Member No.: 798



right, i forgot about jscript! i always say jscript to stay short and spare me from typing, but it's a totally different thing than javascript!
so all the times i said jscript, i meant javascript. hehe.
Go to the top of the page
 
+Quote Post
r3d
post Oct 8 2004, 03:36 AM
Post #8


death
Group Icon

Group: Members
Posts: 268
Joined: 8-September 04
Member No.: 384



vb script is not obsolete, and as long ms support vb it will still exist. anyway it is use by malicious site who hate ie. beware wink.gif. and wsh(window scripting host), ms office and other ms product have a support to vb script. it can be use with any purpose good or bad wink.gif
Go to the top of the page
 
+Quote Post
Lee-Programmer
post Oct 13 2006, 01:27 PM
Post #9


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 11
Joined: 13-October 06
Member No.: 16,536



Well, for one thing, many people have supported JS, wholly of its compatibility and safety. Frankly speaking, VB script is not very effective, not as powerful as JS and is horrifically cut down by a whole lot from the original VB6. VB is good, but VBS has just been a push by Microsoft to get into scripting. They did a messy job of it. Even MS IE 6 has some bugs with VBS.
Stick to JS. It's nice and simple. Ther more simple, the better to code.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 22nd August 2008 - 01:43 AM