G
Guest
I have need to call a windows service on the PC while the device is cradled.
Essentially I have a windows service that handles creating a file that I need
to transfer to the device. I need the windows service for this as the file
to be transferred is an sdf and is created and populated by the windows
service from a very large XML file.
I have tried several variations of the Process and ProcessInfo classes to
accomplish this but continuessly get the following error.
<CODE>
[8/17/07 4:18:02 PM]:Attempt to execute the windows service on the PC failed.
[8/17/07 4:18:05 PM]:Win32Exception
[8/17/07 4:18:05 PM]:at System.Diagnostics.Process.StartWithShellExecuteEx()
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start()
at Xterprise.Wellspan.AssetMgmt.WSEquipmentTransfer.SyncData()
at Xterprise.Wellspan.AssetMgmt.frmMain.mnuSync_Click()
at System.Windows.Forms.MenuItem.OnClick()
at System.Windows.Forms.Menu.ProcessMnuProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Xterprise.Wellspan.AssetMgmt.StubForm..ctor()
at Xterprise.Wellspan.AssetMgmt.Program.Main()
</CODE>
I am using Windows Mobile 6 to attempt this.
Thanks for any help...
Essentially I have a windows service that handles creating a file that I need
to transfer to the device. I need the windows service for this as the file
to be transferred is an sdf and is created and populated by the windows
service from a very large XML file.
I have tried several variations of the Process and ProcessInfo classes to
accomplish this but continuessly get the following error.
<CODE>
[8/17/07 4:18:02 PM]:Attempt to execute the windows service on the PC failed.
[8/17/07 4:18:05 PM]:Win32Exception
[8/17/07 4:18:05 PM]:at System.Diagnostics.Process.StartWithShellExecuteEx()
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start()
at Xterprise.Wellspan.AssetMgmt.WSEquipmentTransfer.SyncData()
at Xterprise.Wellspan.AssetMgmt.frmMain.mnuSync_Click()
at System.Windows.Forms.MenuItem.OnClick()
at System.Windows.Forms.Menu.ProcessMnuProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Xterprise.Wellspan.AssetMgmt.StubForm..ctor()
at Xterprise.Wellspan.AssetMgmt.Program.Main()
</CODE>
I am using Windows Mobile 6 to attempt this.
Thanks for any help...