Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to host an Active-X exe inside a browser 1

Status
Not open for further replies.

jbhatta

Programmer
Feb 27, 2001
5
0
0
US
I have a VB Active-X exe which I want to run inside Internet Explorer. I am trying to run the application using a hyperlink, which starts the application in a standalone mode... Using "TARGET" tag also does not help.
Please help!
Thanks a lot.
 
You will have to access it using an ASP page that load the Active-X.

Good Luck
-Mats
 
You need to set up an OBJECT tag inside an asp page to run your dll. I'm doing the same thing now. Don't forget the CODEBASE tag.
Like this:
<OBJECT ID=&quot;myActiveX&quot; WIDTH=50% HEIGHT=50%
CLASSID=&quot;CLSID:12345678-8B82-1111-8B57-00A0C11AB99B&quot;
CODEBASE=&quot; <PARAM NAME=&quot;_ExtentX&quot; VALUE=&quot;17674&quot;>
<PARAM NAME=&quot;_ExtentY&quot; VALUE=&quot;10478&quot;>

</OBJECT>

param tag sets the params of your activex object.
copy the classid from your registry.
codebase tag will automaticlly d/l the control if they don't have it.

This is all I know at the moment, but I hope this helps.

-Gary They never have to knock if your door is always open.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top