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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

instantiating activex doc frm a webpage

Status
Not open for further replies.

sudi123

Programmer
May 8, 2002
20
0
0
US
hi there,
i want to instantiate classes in a activex document from a webpage. i need to communication in both ways from document to webpage and vice versa.

this is very urgent
any help is highly appreciated
 
You can either place the address of the ActiveX Document into a link
Code:
<a href=&quot;[URL unfurl="true"]http://www.mysite.com/adocs/docMyApp.vbd&quot;>My[/URL] Doc</a>

Or, within another ActiveX document...

First instantiate IE as an object

Code:
    Set ieMyDoc = CreateObject(&quot;InternetExplorer.Application&quot;)


Then either on a menu item or command button, call the page

Code:
    ieMyDoc.navigate &quot;[URL unfurl="true"]http://www.mysite.com/adocs/docMyApp.vbd&quot;[/URL]

HTH,

MapMan

Assume nothing, question everything, be explicit not implicit, and you'll always be covered.
 
Thanx for the reply ...but what i wanted is to use the classes in the activex document that will do some of my work like executing a crystal report....
how do i make a call to the classes in activex doc say i want to pass some parameters and receive some...

any kind of help is highly appreciated
 
this is very urgent i need to complete it in 2 days..

any help is highly appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top