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!

Running OCX Application

Status
Not open for further replies.

chassid

MIS
Aug 27, 2000
58
US
B"H

Does anyone know how to run an OCX application, one that runs with Visual Basic or C++, through the Internet?

Any help will be greatly appreciated.

Daniel Do you know the Chabad Lubavitch Sheliach in your area?
He is waiting for you!
 
First of all, you copy the OCX file into one folder in your server.
Go to that folder then run (in Dos console)
c:\winnt\system32\regsvr32 yourocxfile.ocx to register your ocx.

Then in you ASP file, use Server.CreateObject("yourocx.class") to create object like you create object for FileSystemObject, Dictionary, ...

Hope it helps.
 
Thanks for your help...

Now, by doing what you told me then you would have to send values and return them from the OCX. Is that true?

Is there a way to have the OCX appear as you see it when it is running under a local program on the server? Can the same be done with Visual Basic programs?

Thks,
Daniel Do you know the Chabad Lubavitch Sheliach in your area?
He is waiting for you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top