467,876 Members | 1,227 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,876 developers. It's quick & easy.

ASP.NET ActiveX Object Windows API Access

I'm trying to determine if it is possible to create a ActiveX control which
would be deployed through IE that would provide access to the client
resources to control devices like barcode readers, printers, scales, mag
stripe readers etc. If the user is prompted to download and install the
ActiveX object that is ok.

Is this possible through .NET and ActiveX delivered via ASP.NET through a
browser? Do I need to look at some other technology to make this happen?
Any suggestions would be great.

-StinkyDuck
Jan 17 '08 #1
  • viewed: 6055
Share:
3 Replies
It doesnt matter if the delivery ASP.NET or PHP or HTML

to "execute" activeX dll (or .cab - compressed dll), u use <object>
tag in the HTML code

of course it can access barcode readers, printers, etcccc... , assume
activeX dll in the browser just like any other EXE application.

so, you'll need to write the DLL. I'm not sure if you could with .net,
but i've written some in the past with VB and Delphi. U need to lookup
how to write "ActiveX form" with .net

then, you may need to get digital signature for your dll. if not, by
default, IE will block the installation. Verisign digital signature is
about $400 (in the past) annually. I'm sure you can get cheaper from
others. it's something like ssl.

then when u have the dll, normally you must compress it as .cab. just
put on the webserver, and embed using <objecttag.

On Jan 17, 1:24*pm, "StinkyDuck" <stinkyd...@gmail.comwrote:
I'm trying to determine if it is possible to create a ActiveX control which
would be deployed through IE that would provide access to the client
resources to control devices like barcode readers, printers, scales, mag
stripe readers etc. *If the user is prompted to download and install the
ActiveX object that is ok.

Is this possible through .NET and ActiveX delivered via ASP.NET through a
browser? *Do I need to look at some other technology to make this happen?
Any suggestions would be great.

-StinkyDuck
Jan 17 '08 #2
Is there a different alternative to ActiveX. I understand that ActiveX is
only supported in IE. Is there a technology other than ActiveX that
supports a great variety of browsers?

-StinkyDuck

<zz*******@gmail.comwrote in message
news:99**********************************@i12g2000 prf.googlegroups.com...
It doesnt matter if the delivery ASP.NET or PHP or HTML

to "execute" activeX dll (or .cab - compressed dll), u use <object>
tag in the HTML code

of course it can access barcode readers, printers, etcccc... , assume
activeX dll in the browser just like any other EXE application.

so, you'll need to write the DLL. I'm not sure if you could with .net,
but i've written some in the past with VB and Delphi. U need to lookup
how to write "ActiveX form" with .net

then, you may need to get digital signature for your dll. if not, by
default, IE will block the installation. Verisign digital signature is
about $400 (in the past) annually. I'm sure you can get cheaper from
others. it's something like ssl.

then when u have the dll, normally you must compress it as .cab. just
put on the webserver, and embed using <objecttag.

On Jan 17, 1:24 pm, "StinkyDuck" <stinkyd...@gmail.comwrote:
I'm trying to determine if it is possible to create a ActiveX control
which
would be deployed through IE that would provide access to the client
resources to control devices like barcode readers, printers, scales, mag
stripe readers etc. If the user is prompted to download and install the
ActiveX object that is ok.

Is this possible through .NET and ActiveX delivered via ASP.NET through a
browser? Do I need to look at some other technology to make this happen?
Any suggestions would be great.

-StinkyDuck
Jan 17 '08 #3
Here is a walkthrough:
http://support.microsoft.com/kb/555685

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------

"StinkyDuck" <st********@gmail.comwrote in message
news:OR**************@TK2MSFTNGP02.phx.gbl...
Is there a different alternative to ActiveX. I understand that ActiveX is
only supported in IE. Is there a technology other than ActiveX that
supports a great variety of browsers?

-StinkyDuck

<zz*******@gmail.comwrote in message
news:99**********************************@i12g2000 prf.googlegroups.com...
It doesnt matter if the delivery ASP.NET or PHP or HTML

to "execute" activeX dll (or .cab - compressed dll), u use <object>
tag in the HTML code

of course it can access barcode readers, printers, etcccc... , assume
activeX dll in the browser just like any other EXE application.

so, you'll need to write the DLL. I'm not sure if you could with .net,
but i've written some in the past with VB and Delphi. U need to lookup
how to write "ActiveX form" with .net

then, you may need to get digital signature for your dll. if not, by
default, IE will block the installation. Verisign digital signature is
about $400 (in the past) annually. I'm sure you can get cheaper from
others. it's something like ssl.

then when u have the dll, normally you must compress it as .cab. just
put on the webserver, and embed using <objecttag.

On Jan 17, 1:24 pm, "StinkyDuck" <stinkyd...@gmail.comwrote:
>I'm trying to determine if it is possible to create a ActiveX control
which
would be deployed through IE that would provide access to the client
resources to control devices like barcode readers, printers, scales, mag
stripe readers etc. If the user is prompted to download and install the
ActiveX object that is ok.

Is this possible through .NET and ActiveX delivered via ASP.NET through a
browser? Do I need to look at some other technology to make this happen?
Any suggestions would be great.

-StinkyDuck
Jan 18 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by A.M. | last post: by
4 posts views Thread by rufus | last post: by
2 posts views Thread by Susan Bricker | last post: by
5 posts views Thread by andy.g.ward | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.