Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie to vbscript

0 views
Skip to first unread message

Compass

unread,
Oct 22, 1998, 3:00:00 AM10/22/98
to
I hope someone can help me here. I am capturing a string from a Shockwave
file and I need to use vbscript to catch it and send it where I need it.

The string is being captured correctly, because when I use MsgBox, it echoes
the following string:

SomeFunction('http://www.foo.com')

I am capturing it with this function:

<script language="vbscript">
sub test3_ExternalEvent(aCommand)
end sub
</script>

The problem I am having is that I need this string to call another
JavaScript function that is on the page. The string is the exact syntax I
need. I have tried :

<script language="vbscript">
sub test3_ExternalEvent(aCommand)
call aCommand
end sub
</script>

but this doesn't work, I get a type mismatch error. Somehow I need the
string 'aCommand' completely intact and I need it to call the other function

Anybody that can help or point me in the correct direction would be
appreciated.

Thanks,

Brad Basden
bas...@imagun.com

0 new messages