ASP, Python, VBScript and sharing like friends

Mark Hammond mhammond at skippinet.com.au
Wed Jun 14 15:12:25 EDT 2000


In article <8i6u39$re3$1 at nnrp2.deja.com>,
  millja at my-deja.com wrote:

> would like to integrate.  Is there some way to
> call this function from within the VBScript?
>  Or, it would work if I can get numbers,
> generated by the VBScript, into the Python
> function and the results of this function back to
> the VBScript.

VB should be able to call any Python function defined on the page,
simply by calling it by name.

Python should be able to call any VB function defined on the page with
some magic syntax that Im not sure of :-)

Under IE, you do it via "Window.VBFunc()".  I assume that under ASP, it
will be via the server or document object - most likely the document -
eg "Document.VBFunc()"

Feel free to post a sample once you get it working :-)

Mark.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list