calling vbscript function from jscript 
Author Message
 calling vbscript function from jscript

Does anybody know how to call a function in VBScript froj jscript?


Mon, 25 Oct 2004 04:26:35 GMT  
 calling vbscript function from jscript

Quote:

> Does anybody know how to call a function in vbscript froj jscript?

That's a loaded question ;-)...

In an IE browser with client side script elements that are mixed VBScript/JavaScript, you call a function written in VBScript from JavaScript the same as you would call any function written in JavaScript.

The same is true if you had mixed VBScript/JavaScript in server side ASP code or in any other script host (like WSH .wsf files or WSCs) that supports multiple languages.

But if your intent is for a client side JavaScript function to call a server side VBScript function, then you can't (well, you can indirectly if you use something like the MS Java based Remote Scripting).

--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--



Tue, 26 Oct 2004 07:23:08 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. .obj

2. Vectors!

3. calling vbscript function from jscript?

4. Calling a JSCRIPT From a VBScript Function

5. Calling VB function from jscript/vbscript?

6. Calling JScript function from VBScript code

7. Calling Jscript Function from Vbscript?

8. call a jscript-function in the vbscript-part of an asp-page

9. Call JScript function from VBScript

10. Calling Jscript Function from Vbscript?

11. How to call a VBScript function in JScript?

12. Suggestions on improving my code ?

 

 
Powered by phpBB® Forum Software