
Loading an executable file in eVB
'### MenuItem xPlorer
Case "mnuProgrammeExplorer"
lRetMenue = CeCreateProcess ("\windows\fexplore.exe", "", 0, 0,
0, 0, 0, 0, 0, 0)
'### Declaration
Public Declare Function CeCreateProcess Lib "coredll.dll" 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 Long) As Long
Dear All,
I find that the Shell function that works greatly in VB 6.0 does not work
properly in evb 3.0. I got an error saying that the function is not
supported by
the development tool. I would like to know whether there is another way that
allows me to load other programs like calc.exe (in the emulator windows
directory) with eVB using maybe API calls. If so, could u pls guide me on
it?
Thanks :)
Regards,
Chee Leong