By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,020 Members | 1,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,020 IT Pros & Developers. It's quick & easy.

How do I call a program from a smart device?

P: n/a
Al
Hello,

Could someone give me a clue? I am building a "smart device" application
under VS2003(VB), and find that "Shell" is not supported. I don't find a
"Call", "Start Process", or "Run". How do I run a simple .exe from a smart
device application? Thanks in advance. Al
Nov 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
OpenNETCF has a Process class that allows you to run things. You can use
the Smart Device Framework to get this capability and many, many more, or
just look at the source and do the same thing in your own code.
www.opennetcf.org

Paul T.

"Al" <ag******@nospam.netscape.com> wrote in message
news:u%****************@TK2MSFTNGP10.phx.gbl...
Hello,

Could someone give me a clue? I am building a "smart device"
application under VS2003(VB), and find that "Shell" is not supported. I
don't find a "Call", "Start Process", or "Run". How do I run a simple .exe
from a smart device application? Thanks in advance. Al

Nov 23 '05 #2

P: n/a
Al
Thank you sir, I'll look into it. Al

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:eK**************@tk2msftngp13.phx.gbl...
OpenNETCF has a Process class that allows you to run things. You can use
the Smart Device Framework to get this capability and many, many more, or
just look at the source and do the same thing in your own code.
www.opennetcf.org

Paul T.

"Al" <ag******@nospam.netscape.com> wrote in message
news:u%****************@TK2MSFTNGP10.phx.gbl...
Hello,

Could someone give me a clue? I am building a "smart device"
application under VS2003(VB), and find that "Shell" is not supported. I
don't find a "Call", "Start Process", or "Run". How do I run a simple
.exe from a smart device application? Thanks in advance. Al


Nov 23 '05 #3

P: n/a
Al,

A very little sample in a nice way.

\\\Notepad
Dim p As New Process
Dim pi As New ProcessStartInfo
pi.arguments = "c:\windows\win.ini"
pi.FileName = "notepad.exe"
p.startinfo = pi
p.Start()
///

I hope this helps,

Cor
Nov 23 '05 #4

P: n/a
You have to invoke CreateProcess in order to do that.
Kind regards

Nov 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.