E
emars
Greetings
I am creating an app to connect a BT GPS and a BT GPRS phone.
the BTConnect utility from www.high-point.com works very well for both
of these and is able to launch the DUN automatically.
I am however unable to catch the exit code (success, failure, etc).
when I run the code below I get a message that the process handle is
invalid.
Process BT_gps
OpenNETCF.Diagnostics.ProcessStartInfo psi = new
OpenNETCF.Diagnostics.ProcessStartInfo();
psi.FileName = "\\Windows\\Start Menu\\Programs\\BTConnect.exe";
psi.Arguments = "dev=00:90:4B:2A:56:1F svctype=SPP search=10";
BT_gps = Process.Start(psi);
tbStatus.Text = "Starting Bluetooth GPS Lookup...";
string g = BT_gps.ExitCode.ToString();
debuglog.Text+=g+"\r\n";
Any suggestions?
Thanks in advance!
I am creating an app to connect a BT GPS and a BT GPRS phone.
the BTConnect utility from www.high-point.com works very well for both
of these and is able to launch the DUN automatically.
I am however unable to catch the exit code (success, failure, etc).
when I run the code below I get a message that the process handle is
invalid.
Process BT_gps
OpenNETCF.Diagnostics.ProcessStartInfo psi = new
OpenNETCF.Diagnostics.ProcessStartInfo();
psi.FileName = "\\Windows\\Start Menu\\Programs\\BTConnect.exe";
psi.Arguments = "dev=00:90:4B:2A:56:1F svctype=SPP search=10";
BT_gps = Process.Start(psi);
tbStatus.Text = "Starting Bluetooth GPS Lookup...";
string g = BT_gps.ExitCode.ToString();
debuglog.Text+=g+"\r\n";
Any suggestions?
Thanks in advance!