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

Problem loading c# ActiveX control

Status
Not open for further replies.

paolo81

Programmer
Dec 27, 2007
1
Hi all, im new to ActiveX programming, I had the following problems recently.

I created a c# class library and added an object tag into my html file, i also created an IIS directory to run the page.

1) My first question is that why wont the activeX control run if i just double click on the html file? why does it only run if i use IIS and navigate to that page?

2) i also added an external dll as a refference to my c# class library(ActiveX project). However i cant create an object of this refference in my activeX code, but it compiles fine only when i run the activex control do i notice the problem.

if i dont have any refference to the added dll the activex control works fine. How can i use the refference dll?

Thnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top