|
-
Sep 6th, 2000, 06:23 AM
#1
Thread Starter
New Member
Is it possible for my ActiveX Control loaded on a webpage, to call the VBScript functions and subs defined on that page?
And if, then how do I call them from the ActiveX?
I have tried with calling through the Parent object, but it won't let me access my own subs and functions on the webpage.
Hope anyone can help...
- ManCap
-
Sep 6th, 2000, 08:16 AM
#2
use the MS activex control pad for this ...
http://hotfiles.zdnet.com/cgi-bin/te...es/search.html (then type in control pad)
-
Sep 7th, 2000, 04:54 PM
#3
Frenzied Member
You can do this through events on the ActiveX object. Remember though, that the ActiveX control is running on the Client side, not the Server. You can access Client side scripts and functions but not server side.
If you use the Script Outline in Interdev, once you have added the ActiveX control to the page using the <OBJECT> tag and given it a name with the name attribute, it will
show up in the script outline and you can easily add events for the ActiveX control. Within these events you can call other client side scripts on the page.
Hope this helps
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|