B
brambilla
Hi at all!
I'm developping an application in VB.NET 2005 for windows ce 6.0
embedded and from this application i need to
run a program (for example cmd.exe). I am trying to use the "Shell"
command to run the program but when I try it I always get an error
saying "file not found".
For example:
dim ID as integer
ID = Shell("""\windows\cmd.exe""", AppWinStyle.NormalFocus, True, -1)
In msdn on-line i read that "Shell" command is supported by
compactframework 2.0.
My target is to show the windows date/time tab:
ID = Shell("""CtlPnl.exe"" \windows\cplmain.cpl,13",
AppWinStyle.NormalFocus, True, -1)
If i execute this command (CtlPnl.exe \windows\cplmain.cpl,13) from
command prompt, it work fine.
Any ideas?
Does it miss something in the O.S. design?
Any information will be very appreciated.
Thankyou very much
Ale
I'm developping an application in VB.NET 2005 for windows ce 6.0
embedded and from this application i need to
run a program (for example cmd.exe). I am trying to use the "Shell"
command to run the program but when I try it I always get an error
saying "file not found".
For example:
dim ID as integer
ID = Shell("""\windows\cmd.exe""", AppWinStyle.NormalFocus, True, -1)
In msdn on-line i read that "Shell" command is supported by
compactframework 2.0.
My target is to show the windows date/time tab:
ID = Shell("""CtlPnl.exe"" \windows\cplmain.cpl,13",
AppWinStyle.NormalFocus, True, -1)
If i execute this command (CtlPnl.exe \windows\cplmain.cpl,13) from
command prompt, it work fine.
Any ideas?
Does it miss something in the O.S. design?
Any information will be very appreciated.
Thankyou very much
Ale