Computing.Net > Forums > Web Development > calling VBScript function

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

calling VBScript function

Reply to Message Icon

Name: rohnds
Date: December 7, 2004 at 03:20:11 Pacific
OS: xp
CPU/Ram: 256
Comment:

I have written a couple functions in VBScript in my index.html file.

Now I want to use these functions in my other pages without cutting and pasting the code in each of the pages I write. Is there way to call these VBScript function from an index an external files just like the CSS code we call from an external file.

Any help would be appreciated.

Rohn



Sponsored Link
Ads by Google

Response Number 1
Name: abc123456789
Date: December 7, 2004 at 12:13:19 Pacific
Reply:

I may be wrong but I imagine it can be done in a similar fashion to JavaScript, i.e. an external VBScript file.


0

Response Number 2
Name: abc123456789
Date: December 7, 2004 at 12:24:48 Pacific
Reply:

Sorry I didnt read the question properly.

It can be done in the same way as an external CSS or JavaScript file.

<script language="VBScript" src="filename.vb"></script>

Put this code into the HEAD section of the html and then the vbscript functions can be called as normal.

I hope this makes sense


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: calling VBScript function

Calling java script functions www.computing.net/answers/webdevel/calling-java-script-functions/1166.html

call js function from asp www.computing.net/answers/webdevel/call-js-function-from-asp/284.html

Calling Javascript Function www.computing.net/answers/webdevel/calling-javascript-function/819.html