473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do I call a program from a smart device?

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
4 2008
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
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
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
You have to invoke CreateProcess in order to do that.
Kind regards

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Brian Holbrook | last post by:
Is it possible to use the databrid as the flexgrid. I am using vb .net in a smart device application. I have a part number being entered by the user, I then want to search the grid for that part...
0
by: Matt Duligall | last post by:
Hi, I've recently purchased VB.NET 2003 and was hoping to experiment with the smart device apps. However the smart device application wizard does not seem to appear in my templates box. ...
0
by: Jason Gyetko | last post by:
I have a VB.NET Windows Application which uses Shell() to run a program. What is the equivalent for a Smart Device Application? Thanks.
2
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this...
7
by: Dan | last post by:
I'd like to have a set of more-or-less common code which I want to use for both desktop and smart device projects. I have two questions: 1. How can I set up conditional compile directives for...
0
by: Kevin Altis | last post by:
OSCON 2006: Opening Innovation http://conferences.oreillynet.com/os2006/ Save the date for the 8th annual O'Reilly Open Source Convention, happening July 24-28, 2006 at the Oregon Convention...
0
by: pumaken68 | last post by:
Does anyone has experience with calling web service from pocket pc 2003 project in VS 2005 environment? I just migrated a smart device(pocket pc 2003) solution from VS 2003 to VS 2005. There are...
3
by: Rudi | last post by:
Hello, following problem: At program end or release an assembly a serial device should get a final exit sequence. How can I do this? With Dispose() it's no problem, but this assembly is used...
1
by: archanapriya | last post by:
Hi, I am new to Microsoft.net and Smart Device applications using C#.Net. I have few queries regarding the smart device applications and .net. Can any one help me with these? 1. Why do we...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.