Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old March 21st, 2007, 08:00 AM
Authorized User
Join Date: Mar 2007
Location: , , .
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,

  #2 (permalink)  
Old March 21st, 2007, 08:03 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2005
Location: Ohio, USA
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??
================================================== =========
  #3 (permalink)  
Old February 19th, 2009, 11:01 AM
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...


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 12:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.