Hi all,
Please is there somebody who can explain me the differences between ASP and VBScript?
thank you very much.
best regards, Leuvenaar
ASP is a technology. It stands for Active Server Pages. VBScript is a language. It can be used to write Active Server Pages.
Elija
Was this answer helpful ?
Yes No
so if i understand you right, all ASP code is written in VBScript??
but when i look on the VBScript forum, some pieces of code look very strange for me...(originally i'm an ASP guy) some other characters and functions...
please tell me
Was this answer helpful ?
Yes No
Quote:
| Originally Posted by leuvenaar so if i understand you right, all ASP code is written in VBScript??
but when i look on the VBScript forum, some pieces of code look very strange for me...(originally i'm an ASP guy) some other characters and functions...
please tell me |
ASP can be written in JavaScript, but personally I cannot understand why anyone would want to although some people do and probably have a perfectly valid reason for doing so.
Was this answer helpful ?
Yes No
Probably because they know Javascript
Elija
Was this answer helpful ?
Yes No
Quote:
| Originally Posted by elijathegold Probably because they know Javascript
Elija |
My point really was that ASP is built around MS technologies and VB is MS whereas JS isn't so in theory is better suited.
There are some things that you can do easily in one language that you can't do in the other, and vice versa, though, but I have always found it easier to find info for VB rather than JS as far as ASP is concerned.
Was this answer helpful ?
Yes No
VBScript is a browser-side scripting language with much the same functionality as JavaScript. However, it has only been supported by Internet Explorer, plus it's much slower than JavaScript so most people don't use it as a browser language. There are a few differences between the browser-side and server-side (ASP) versions of VBScript. Mostly it's functions that have to do with running the browser. I haven't ever really used VBScript in anything outside of ASP and don't plan to as I use FireFox as my main browser.

Was this answer helpful ?
Yes No
Quote:
| Originally Posted by Hyrum R VBScript is a browser-side scripting language with much the same functionality as JavaScript. However, it has only been supported by Internet Explorer, plus it's much slower than JavaScript so most people don't use it as a browser language. There are a few differences between the browser-side and server-side (ASP) versions of VBScript. Mostly it's functions that have to do with running the browser. I haven't ever really used VBScript in anything outside of ASP and don't plan to as I use FireFox as my main browser.  |
I always use JavaScript client-side, it is on server-side that I use VBScript.
Was this answer helpful ?
Yes No
so if i understand it correctly, VBS can be client-side and also server-side??
can anybody give me some usefull links or sample codes of this??
greatings and thanks for posting.
Leuvenaar
Was this answer helpful ?
Yes No
VBS is useless on the client - unless you are only going to be supporting ie. If you want more info look on the microsoft site, its bound to be there.
Personally, I write my Server side code (ASP) in VbScript and my client side code in javascript. I find them better suited to those roles.
Elija
Was this answer helpful ?
Yes No