Launch an app frmo an app?

  • Thread starter Thread starter Lisa
  • Start date Start date
L

Lisa

How can i start an app from an app? does the OpenNetCF libraries have a
function for this? I looked but didnt see anything like CreateProcess..
 
Hi Lisa,

I think I may have just sent an imcomplete message prior to this but anyway,
the FAQ has an entry on this.

7.7. How do I launch another application from within my application?
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx#7.7

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 
If you're using OPENNETCF WinAPI:

dim ProcID as IntPtr

ProcID = OpenNETCF.WinAPI.ShellExecute("\path_to_program\program.exe","parameter")

ProcID is now the process ID of that program. You can use it to bring that program to the front or the back or terminate it.

Patric
 
Sorry there was an error
that's the right one

Dim ProcID as IntPt

ProcID = OpenNETCF.WinAPI.Core.ShellExecute("\path_to_program\program.exe","parameter"
 
Back
Top