Problem.

P

Peeter Ilumäe

Hi!

I need to call another pocket PC application with commandline options from
my .net CF Pocket PC application. Is there a quick and easy way to that? Or
if there's a hard way, where could I get some help regarding?



With thanks,
Peeter Ilumäe
Codewiser.com
 
P

Peter Foot [MVP]

You can use the CreateProcess API function through P/Invoke to start a
process. The quick and easy way is to use the OpenNETCF Smart Device
Framework (www.opennetcf.org/sdf/) as this includes an implementation of
Process class which matches the desktop so you can simply call:-

OpenNETCF.Diagnostics.Process.Start("myapp.exe", "somefilename.txt")

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top