ActiveX type control or similar in C#

G

Guest

Hello,
I am trying to access some windows components from a web based application
and I am having trouble find my way. The only solution seems to be to creat
an ActiveX control to access the local com objects. My problem is that I
have been primaraly working in C# and too time consuming to go back and
re-learn VC++ to creat those controls I need. I found some articles on how
to creat ActiveX controls using C# and they work find when I test them in the
ActiveX tester tool that comes with Visual Studio.NET 2003, but I can not get
the control to render on the web. Is there a better way that I am missing?
Can any one help, please?

Thank you.
 
¿

¿ Mahesh Kumar

Hi Alex,
Try placing inside any container control such as panel control and
try...once i had same problem,I overcomed by placing inside empty panel
control. just give a try..

Maheshkumar.R
www.snipurl.com/guac
 
G

Guest

Hello,
I am trying to access some windows components from a web based application
and I am having trouble find my way. The only solution seems to be to creat
an ActiveX control to access the local com objects. My problem is that I
have been primaraly working in C# and too time consuming to go back and
re-learn VC++ to creat those controls I need. I found some articles on how
to creat ActiveX controls using C# and they work find when I test them in the
ActiveX tester tool that comes with Visual Studio.NET 2003, but I can not get
the control to render on the web. Is there a better way that I am missing?
Can any one help, please?

Thank you.

Hi Alex,

Hope following links will help:

http://www.c-sharpcorner.com/Code/2003/March/ActiveXInNet.asp
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=187
 
G

Guest

Hi,
Thank you for your response.
The problem i have is that i need to launch Microsoft Active Sync from the
browser and other applications like it. And so far the only way i can see
that happening is through COM and an ActiveX control that access the COM
object on the users local system.

Thank you,
Alex
 
G

Guest

Hi,
Thank you for your response. I have actually found and read through them.
The problem i have had is that as i follow the instructions, from my web page
the control renders as a text box which i can not do anything with. I am
missing something very simple, but i am not sure what. I have created a very
simple user control with a button on it. I have added the control
registration and control unregistration code as they suggest. I have copied
the dll to the web directory. But i still can't get it to render. The only
thing i can think of is that the control has to be added to the GAC for it to
work. Trying to register the control manually as you would with other
ActiveX controls does not work. As my level of knowledge is very limited in
this area I am not sure if I am on the correct path or not.

Thank you again for your quick response,
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top