![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | how to control serial port of client in asp.net?? please help me! I come across a problem. Now I develop a finger print management system which is based on B/S.When users click a button in the web pages, a device connected to the COM1 serial port of the client machine starts to work. Now I wrote the code which is in charge of serial communication in the ..aspx.cx pages, but then I found that when uses click the button, it is the server's serial port that starts to work,not the clients!! who can tell me how I could control the serial port communication in client through asp.net? I am very nervous about it now! Thank you very much!!! |
My System Specs![]() |
| | #2 (permalink) |
| | Re: how to control serial port of client in asp.net?? Adrian Chen wrote: Quote: > Now I develop a finger print management system which is based on B/S. Quote: > When users click a button in the web pages, a device connected to the > COM1 serial port of the client machine starts to work. Now I wrote the > code which is in charge of serial communication in the .aspx.cx pages, > but then I found that when uses click the button, it is the server's > serial port that starts to work,not the clients!! > ASP.NET code runs on the server, not the client. Quote: > who can tell me how I could control the serial port communication in client > through asp.net? > this, not a web page. You could deploy one through ClickOnce, for example. You could alternatively repackage your code as an ActiveX control and use that from the web page. This requires the use of IE and probably lowered security settings. A third alternative would be to use an off-the-shelf ActiveX control for serial communication, but I don't think this is worth it as opposed to repackaging your own code (which is easy enough to do). One possible advantage is that the off-the-shelf code will probably not need the .NET runtime. -- J. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: how to control serial port of client in asp.net?? Jeroen Mostert, thank you very much! "Jeroen Mostert" <jmostert@xxxxxx> ??????:48776ac5$0$14345$e4fe514c@xxxxxx Quote: > Adrian Chen wrote: Quote: >> Now I develop a finger print management system which is based on B/S. > Unfortunately, many real-world systems are based on BS... > Quote: >> When users click a button in the web pages, a device connected to the >> COM1 serial port of the client machine starts to work. Now I wrote the >> code which is in charge of serial communication in the .aspx.cx pages, >> but then I found that when uses click the button, it is the server's >> serial port that starts to work,not the clients!! >> > ASP.NET code runs on the server, not the client. > Quote: >> who can tell me how I could control the serial port communication in >> client through asp.net? >> > this, not a web page. You could deploy one through ClickOnce, for example. > > You could alternatively repackage your code as an ActiveX control and use > that from the web page. This requires the use of IE and probably lowered > security settings. > > A third alternative would be to use an off-the-shelf ActiveX control for > serial communication, but I don't think this is worth it as opposed to > repackaging your own code (which is easy enough to do). One possible > advantage is that the off-the-shelf code will probably not need the .NET > runtime. > > -- > J. > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| usb-to-serial port cleanup | Vista hardware & devices | |||
| Serial Port | Vista General | |||
| serial port adapter | Vista hardware & devices | |||
| a Unknown Serial Port | Vista hardware & devices | |||
| USB to 9-pin serial port | Vista hardware & devices | |||