I have created a system that have to use a Identification Card Reader. The Identification Card Reader application is installed on the local computer. This application is used to retrieve data from Card Reader to the system. I can run the Identification Card Reader on the local computer using:
System.Diagnostics.Process.Start("C:\MyKadDev2\MyKad.exe")
However, when the system is being publish to the server, the system cannot retrieve the Identification Card Reader application that is installed on the local computer. How I want to execute and run local apps on the system that run on server.
I am using ASP.NET VB
System.Diagnostics.Process.Start("C:\MyKadDev2\MyKad.exe")
System.Threading.Thread.Sleep(11000)
Dim FILENAME As String = Server.MapPath("mykaddata.txt")
Dim objStreamReader As StreamReader
objStreamReader = File.OpenText(FILENAME)
Dim contents As String = objStreamReader.ReadToEnd()
txtIC_No.Text = contents.Split(ControlChars.Tab)(0)
txtName.Text = contents.Split(ControlChars.Tab)(1)
objStreamReader.Close()