Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 21st, 2007, 08:00 AM
Authorized User
Join Date: Mar 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default device DLL programming in client side programming

dear friends,

i have a case like these :
1. we have a card reader (usb port connection)...

2. we must connect this reader to client computer (there are some clients in different cities)....
we think to use internet connection...and it means we have to use web application (ASP .NET and javascript and webserver.)

3. reader's function is to read and write from a card, whereas the card's source data is from database (ASP .NET)

4. firstly, i tried to add reference in ASP .NET web application to the reader's DLL,
but it can not make a live event trigger/connection to the clients since the DLL is installed in the web server...

5. then i think of other solution :
client side programming..
and i install the reader's DLL in client computer...so reader can interact lively...is that true ?

6. but i don't know how to use DLL event, trigger in client side programming...can anybody help ?
should we use JavaScript or AJAX ?

the DLL has event that is listening to the USB port all the time to check if any card is detected (it also has Timer function)..
and also it returns the status all the time ...
actually we must use List1 to add the status (string) to the List1 all the time.....
i don't know how to use this event in web application..
can anybody help ?

7. if we use DLL in Javascript, how to communicate with ASP .NET if we want to distribute data
(queried by database through ASP .NET) to the DLL in client side so that it can write to the card via reader ?

could you help me how to do it properly.

Thank you,

Old March 21st, 2007, 08:03 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

Cross post

================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
================================================== =========
Why can't Programmers, program??
================================================== =========
Old February 19th, 2009, 12:01 PM
Registered User
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Possibile Solution

AS per us post... I think you want to access the client end card reader.. via the web interface.. for that you want to know the place where you place you device driver code...

I don't think its possible to do via some scripts... only possibility as per my view you can place URL labeled the install card reader which should place the dll in an appropriate place (for example: you can place the dll in e:\cardread\cardread.dll).. and ewhen ever the client want to read the web interface should invoke the dll method reside in E:\cardread directory..) I think this is may be useful...

If you have alternate soln.. kindly post here so that it will be useful for others.....

Any way all the best for your work...


Similar Threads
Thread Thread Starter Forum Replies Last Post
device driver programming for a pen drive rohit_md22 Linux 4 August 18th, 2009 10:46 PM
connecting client to client (Socket programming) maricar C# 0 September 25th, 2008 04:34 AM
device DLL programming in client side programming hendyhanusin ASP.NET 1.0 and 1.1 Basics 0 March 21st, 2007 08:05 AM
device DLL programming in client side programming hendyhanusin ASP.NET 2.0 Professional 1 March 21st, 2007 08:04 AM
Smart Device Programming hareeshvs C# 0 May 14th, 2006 06:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.