VBscript to use and OCX method?

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

VBscript to use and OCX method?

Postby time-killer-games » Wed Aug 10, 2011 5:44 pm

I created an activeX that is meant for VBScript on a webpage, not in an AM game. However, the purpose of my webcontrol may be of great use to AM users.

How can an OCX method(s) be used in a webpage? I've tried activeX control pad but it doesn't show my activeX properties as if I never implemented them, and yet the methods of the control can be easily used as a plugin for AM.

I figured since the methods can't be used in the object/param tags, that there could posibly be a way to use it with vbscript instead?

Thanks!
TKG
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Postby reneuend » Thu Aug 11, 2011 4:59 pm

You can call objects and their methods from plugins using vb6. There is probably a way to do it from VB script also, but I'm not sure. I think you have to have a handle to the object you are trying to access. I've done it with Excel VBA, but not from AM.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests