473,396 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ActiveX componant in .Net?

I need to develop a web component that will interface to a piece of
hardware. I would like to distribute a component that can be included
inside of customers web applications. This web component needs to have UI
elements as well as an API the customer can hit.

This seems like can ActiveX control, but does .Net have anything to replace
this?

Can I do an ActiveX control in .Net?

Thanks!
Mar 2 '06 #1
4 965
This is just a .NET control. As this is for a web application it could be
either a usercontrol or a custom control :
http://samples.gotdotnet.com/quickst...bpagelets.aspx
http://samples.gotdotnet.com/quickst...authoring.aspx

--
Patrice

"gregory_may" <None> a écrit dans le message de
news:er*************@TK2MSFTNGP14.phx.gbl...
I need to develop a web component that will interface to a piece of
hardware. I would like to distribute a component that can be included
inside of customers web applications. This web component needs to have UI
elements as well as an API the customer can hit.

This seems like can ActiveX control, but does .Net have anything to replace this?

Can I do an ActiveX control in .Net?

Thanks!

Mar 2 '06 #2
To accomplish this, you host a windows user control inside the webpage using
the <object> tag. Obviously the client broweser system will need the
correct version of the .net framework installed. Security can be a pain -
especially when doing io. You will probably have to setup trusted
assemblies or set the url as trusted. Here are some links to more
information. The msdn link has some info about setting the security.

http://aspnet.4guysfromrolla.com/articles/052604-1.aspx
http://msdn.microsoft.com/msdnmag/is...2/01/userctrl/

This link shows you how to turn on ie debug logging if you are having
problems with your control.
http://support.microsoft.com/kb/313892/

Matt

"gregory_may" <None> wrote in message
news:er*************@TK2MSFTNGP14.phx.gbl...
I need to develop a web component that will interface to a piece of
hardware. I would like to distribute a component that can be included
inside of customers web applications. This web component needs to have UI
elements as well as an API the customer can hit.

This seems like can ActiveX control, but does .Net have anything to
replace this?

Can I do an ActiveX control in .Net?

Thanks!

Mar 2 '06 #3
To give the customer an API to use, I would put that into a separate class
in its own assembly. You could still share the device interface logic in a
common class that is used via the customer api or your web application via
the control.

"Matt Brown" <ma**@weminuche.net> wrote in message
news:OE**************@TK2MSFTNGP15.phx.gbl...
To accomplish this, you host a windows user control inside the webpage
using the <object> tag. Obviously the client broweser system will need
the correct version of the .net framework installed. Security can be a
pain - especially when doing io. You will probably have to setup trusted
assemblies or set the url as trusted. Here are some links to more
information. The msdn link has some info about setting the security.

http://aspnet.4guysfromrolla.com/articles/052604-1.aspx
http://msdn.microsoft.com/msdnmag/is...2/01/userctrl/

This link shows you how to turn on ie debug logging if you are having
problems with your control.
http://support.microsoft.com/kb/313892/

Matt

"gregory_may" <None> wrote in message
news:er*************@TK2MSFTNGP14.phx.gbl...
I need to develop a web component that will interface to a piece of
hardware. I would like to distribute a component that can be included
inside of customers web applications. This web component needs to have UI
elements as well as an API the customer can hit.

This seems like can ActiveX control, but does .Net have anything to
replace this?

Can I do an ActiveX control in .Net?

Thanks!


Mar 2 '06 #4
Thanks guys. This sounds like a good start.

"Matt Brown" <ma**@weminuche.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
To give the customer an API to use, I would put that into a separate class
in its own assembly. You could still share the device interface logic in
a common class that is used via the customer api or your web application
via the control.

"Matt Brown" <ma**@weminuche.net> wrote in message
news:OE**************@TK2MSFTNGP15.phx.gbl...
To accomplish this, you host a windows user control inside the webpage
using the <object> tag. Obviously the client broweser system will need
the correct version of the .net framework installed. Security can be a
pain - especially when doing io. You will probably have to setup trusted
assemblies or set the url as trusted. Here are some links to more
information. The msdn link has some info about setting the security.

http://aspnet.4guysfromrolla.com/articles/052604-1.aspx
http://msdn.microsoft.com/msdnmag/is...2/01/userctrl/

This link shows you how to turn on ie debug logging if you are having
problems with your control.
http://support.microsoft.com/kb/313892/

Matt

"gregory_may" <None> wrote in message
news:er*************@TK2MSFTNGP14.phx.gbl...
I need to develop a web component that will interface to a piece of
hardware. I would like to distribute a component that can be included
inside of customers web applications. This web component needs to have
UI elements as well as an API the customer can hit.

This seems like can ActiveX control, but does .Net have anything to
replace this?

Can I do an ActiveX control in .Net?

Thanks!



Mar 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
2
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
6
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed...
18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
7
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
1
by: themadmax | last post by:
I'm writting a COM componant in C++/IDL. This componant is using in C# project, and I want to use System.Drawing.Bitmap In my IDl file I writed importlib("System.Drawing.tlb"); On function...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
1
by: Jassim | last post by:
I am looking for a good trusted and cheap scheduler componant with gannt view?
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.