using activeX in web form
-
hi, using C# i did a user control that i want to use from web page. when i tried the control using windows application it works ok. when i add it as object to the web page it is never loaded. this control uses a special dll which is needed for its operation. could it be the reason for the problem? how can i add external dll's so they will be installed on the client side? thanks
-
hi, using C# i did a user control that i want to use from web page. when i tried the control using windows application it works ok. when i add it as object to the web page it is never loaded. this control uses a special dll which is needed for its operation. could it be the reason for the problem? how can i add external dll's so they will be installed on the client side? thanks
samy100 wrote:
using C# i did a user control that i want to use from web page. when i tried the control using windows application it works ok. when i add it as object to the web page it is never loaded. this control uses a special dll which is needed for its operation. could it be the reason for the problem? how can i add external dll's so they will be installed on the client side?
First, I like to clarify some background information about your first line. By default, any .NET Windows Forms controls are not exactly ActiveX controls. You can use ActiveX controls and embed it directly on any web page, but ActiveX control means it can only run on Internet Explorer. Secondly, any Windows Forms control you've created needs to be wrapped as a COM object. COM object itself is an ActiveX control. After this, you can embed it in any web pages. Good luck. Eriawan
-
samy100 wrote:
using C# i did a user control that i want to use from web page. when i tried the control using windows application it works ok. when i add it as object to the web page it is never loaded. this control uses a special dll which is needed for its operation. could it be the reason for the problem? how can i add external dll's so they will be installed on the client side?
First, I like to clarify some background information about your first line. By default, any .NET Windows Forms controls are not exactly ActiveX controls. You can use ActiveX controls and embed it directly on any web page, but ActiveX control means it can only run on Internet Explorer. Secondly, any Windows Forms control you've created needs to be wrapped as a COM object. COM object itself is an ActiveX control. After this, you can embed it in any web pages. Good luck. Eriawan