[quoted text, click to view] > I guess the first question is why are you using the Windows run when you c=
an
> use the Process class to start any process you want. =A0If you want there =
to
> be a GUI element simply show a dialog with the command to run and let the
> user click the Enter key to start the process.
>
> Hope this helps
> Lloyd Sheen- Ocultar texto citado -
I forgot to explain that part.. of corse i can use Shell or process
call like you said, but im emulating the Framework 2.0 with Thinstall,
and Thinstall have a problem that is... you cannot run any setup.exe
with your application because or it gives a error or it block the
setup... i have sended a email to them but still didnt get the answer
for my problem...
Every application i tell my application to execut Thinstall copy that
application and b00m problem...
So till my company gives the order to all laptops have FW 2.0 that
come here to install our software i must simplify to the maximum the
installations....
So thats why im not using shell or process.start .... and im sending
KeySends because that my application cannot grab and use it :P
Anyway.... Yesterday i have fixed my problem with...
Const VK_LWIN =3D &H5B
Const KEYEVENTF_KEYUP =3D &H2
Const VK_APPS =3D &H5D
Const VK_DELETE =3D &H2E
Dim VK_ACTION =3D &H52
Call keybd_event(VK_LWIN, 0, 0, 0)
Call keybd_event(VK_ACTION, 0, 0, 0)
Call keybd_event(VK_LWIN, 0, KEYEVENTF_KEYUP, 0)
But to sendkey with the text "B:\setup.exe" im having problems...
some times the app sends some times he dont send...