473,422 Members | 1,759 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,422 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 6368
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
1
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.