Pete
Thu Feb 05 02:33:21 CST 2004
Hi,
use
Public Declare Function CeCreateProcess Lib "Coredll" Alias "CreateProcessW"
(ByVal lpApplicationName As String, ByVal lpCommandLine As String, ByVal
lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal
bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment
As Long, ByVal lpCurrentDirectory As Long, ByVal lpStartupInfo As Long,
ByVal lpProcessInformation As String) As Long
and similar to
Success = CeCreateProcess("\programs\myprog.exe", commandline, 0, 0, 0, 0,
0, 0, 0, 0)
HTH
Pete
--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com
"Jeff Chan" <jeffchan629@hotmail.com> wrote in message
news:%23ecX$m76DHA.3704@tk2msftngp13.phx.gbl...
> Dear all,
>
> I want to "ShellExecute" an application from my eVB program. However, I do
> not know how it can be done. Any body can tell me how to do so or provide
a
> code segment? Is the code segment same as Visual Basic?
>
> Thank you very very much.
> Jeff.
>
>