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

Creating Active X control from a form

Status
Not open for further replies.

allyeric

Programmer
Mar 14, 2000
104
CA
not sure if I am posting this in the right place ...<br><br>I have created an application in VB 6, and now the company wants to put it on the intranet.&nbsp;&nbsp;I understand that I need to make the forms into Active X controls to be able to do this.&nbsp;&nbsp;I have never done this before.&nbsp;&nbsp;If anyone can please point me in the right direction, or perhaps can even list a website that might help, it would be greatly appreciated.<br><br>Thanks in advance<br><br>allyeric
 
<br>To make VB Forms into activeX controls <br><br><br>Copy the project that you want to web enable.<br>This is for backup purposes<br><br>Open the project you want to convert <br><br>Select ADD-INS<br><br>Select ADD-IN Manager<br><br>Select VB 6 ActiveX Document Migration Wizard <br><br>Load this ADD-IN <br><br>Select ADD-INS menu<br><br>Select VB 6 ActiveX Document Migration Wizard<br><br>Follow the steps provided by the wizard <br><br><br>Hope this is of use.<br><br>You can find further information at <br><br>msdn.microsoft.com<br><br><br><br><br>
 
thanks Vince, that part I got now, but how can I use this control now?&nbsp;&nbsp;How can I get it onto the webpage?&nbsp;&nbsp;I've been told to use the Object tag - but I am not sure how to do this.
 
As far as I am aware when you complie the project after using the Add-In it creates copies of all of your forms in 'vbd' format. This type of file will execute within IE5 <br><br>if you create a html page in Visual Interdev and put in the following script it should load your pages <br><br>Sub window_onload<br>'Point this to the URL of your first Form(splash etc)<br>window.navigate &quot;<A HREF=" TARGET="_new"> Sub<br><br>This will act like any other ActiveX in that it will prompt the user to either download or run from location for each ActiveX Document(I.E each form)<br><br>Hope tis solves the problem <br><br>Vince <br><br>
 
thanks Vince - but I don't want the user to download it, just run it from the web page - is this possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top