473,395 Members | 1,738 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,395 software developers and data experts.

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
3 6367
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Filip Wtterwulghe | last post by:
Hello, We have a number of VB6 ActiveX applicationmodule(s) that are loaded into a IE6 WebBrowserControl . This WebControl is imbededded into Application X . Now We want to send a message from...
12
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
4
by: rufus | last post by:
Hi, On the project I am working on we need to encapsulate all data and business logic in an activex dll. My question is: How do I do this? How can I access the form objects ie text boxes,...
2
by: Susan Bricker | last post by:
Hi. I have a routine (BldEmail) that is causing an error on my user's PC but not on mine. HELP!!! I have to fix this tonight. She reports an error with err.number=429 and the error message...
5
by: andy.g.ward | last post by:
I keep getting this when trying to create an MFC activex control in a c# windows service - anyone got any ideas what the missing module could be??? Exception thrown :...
1
by: UnaCoder | last post by:
Hi, I noticed that this particular object is only accessable if the IE security setting "Initialize and and script ActiveX controls not marked as safe" is enabled. Does windows maintain this list...
9
by: Anyhoo | last post by:
Hello: We have an ActiveX DLL that we created in C++. We are calling it from vbscript at the top of an .asp page using the "CreateObject" command. The asp page interacts with the ActiveX DLL in...
1
by: kret | last post by:
Hi, this is my first post so first of all I would like to say hello :) Now getting to my problem. In my job I have to create an ActiveX control in .NET 1.1 that can be lunched from IE....
0
by: lilOlMe | last post by:
I have a unique ASP.NET authentication system that I'm developing wherein my ASP.NET application has to access a certain file on the user's computer...sort of. I've been researching ActiveX...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.