ASP, Python, VBScript and sharing like friends

millja at wwc.edu millja at wwc.edu
Wed Jun 14 19:47:43 EDT 2000


Yup that works!  Thanks.  I now have another question.

I need to (well, would like to) have my Python function returns a list
(really just an array of integers).  VBScript dosnt seem to like this
very much and throws up an invalid data type error.  I tryed messing
around with VBSs array() function but thats not showing me any love.
Anyone have ideas?

thanks
jason milliron

btw, its freakn awesome to have mark hammond reply to your post :)



In article <8i8le9$b6u$1 at nnrp1.deja.com>,
  Mark Hammond <mhammond at skippinet.com.au> wrote:
> 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.
>


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



More information about the Python-list mailing list