![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi folks, Does anyone know if its possible to start the phone automatically, perhaps via a call to Process.Start() ? Possibly even pass in a telephone number to be dialled automatically? That would be neat! David |
#3
| |||
| |||
|
|
This has worked nicely, and simply - Process p = Process.Start(@"\Windows\cprog.exe", ""); I guess I could probably pass in some command line arguments to call a number automatically. Cool. "davebythesea" wrote: Hi folks, Does anyone know if its possible to start the phone automatically, perhaps via a call to Process.Start() ? Possibly even pass in a telephone number to be dialled automatically? That would be neat! David |
#4
| |||
| |||
|
|
You've not said which version of CE you are using. If Windows Mobile 5 you can use the Phone class to initiate a call ie:- Microsoft.WindowsMobile.Telephony.Phone phone = new Microsoft.WindowsMobile.Telephony.Phone(); phone.Talk("12345"); The above class is foind in the WM5 SDK (Microsoft.WindowsMobile.dll). If you are using pre WM5 then I *think* Peter Foot has written a wrapper for this. -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com "davebythesea" wrote: This has worked nicely, and simply - Process p = Process.Start(@"\Windows\cprog.exe", ""); I guess I could probably pass in some command line arguments to call a number automatically. Cool. "davebythesea" wrote: Hi folks, Does anyone know if its possible to start the phone automatically, perhaps via a call to Process.Start() ? Possibly even pass in a telephone number to be dialled automatically? That would be neat! David |
#5
| |||
| |||
|
|
Hi, Thanks for the reply. I'm building the app in VS 2005 as a Pocket PC 2003 project. Will probably port it over to Mobile 6 though. Looks nice and easy that Phone class. Excellent! David "Simon Hart [MVP]" wrote: You've not said which version of CE you are using. If Windows Mobile 5 you can use the Phone class to initiate a call ie:- Microsoft.WindowsMobile.Telephony.Phone phone = new Microsoft.WindowsMobile.Telephony.Phone(); phone.Talk("12345"); The above class is foind in the WM5 SDK (Microsoft.WindowsMobile.dll). If you are using pre WM5 then I *think* Peter Foot has written a wrapper for this. -- Simon Hart Visual Developer - Device Application Development MVP http://simonrhart.blogspot.com "davebythesea" wrote: This has worked nicely, and simply - Process p = Process.Start(@"\Windows\cprog.exe", ""); I guess I could probably pass in some command line arguments to call a number automatically. Cool. "davebythesea" wrote: Hi folks, Does anyone know if its possible to start the phone automatically, perhaps via a call to Process.Start() ? Possibly even pass in a telephone number to be dialled automatically? That would be neat! David |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |