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

Active X Controls

Status
Not open for further replies.

ByNary010101

Programmer
Joined
Nov 22, 2004
Messages
16
Location
US
Hi, not sure if this should go here or in the ASP forum...I have created an Active X Control using VB6 SP6 and would like to use it in my ASP pages...how do I do that?? Is there something from the VB side that I need to do in order to prep it for rendering in a browser as opposed to a Windows Form?? Any help is greatly appreciated.
 
The short answer is no! hehe.

You see, what happens with asp code is that the websever actually compiles the code upon a person mavigate to the site. If you have a IIS server, or equivalent, just put the code, and all of the supporting files, into a folder that the webserver recognizes as being the location of where to allow Net users navigate; usually InetPub. Then, once you have made sure that the users are allowed to run asp scripts, then simply navigate to the address of the asp page via your web browser and see what happens. I hope this helps you a bit...


LF
 
The longer, and more accurate, answer is that you should digitally sign your ActiveX control


And why should you? Well, here's a little light bedtime reading:


(and the short version is that the default security setting of IE will reject ActiveX controls that are not signed)
 
The other thing you have to do is put an object tag in your asp page. When you compile your ActiveX control, you'll find a sample html page with the correct object tag in it.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top