Click here to Skip to main content
15,939,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello i need a bit of help.
I just managed to run a .exe front Access 2000 with the command Shell ("root/name.exe"), but now i need that the new window(my outside app) shows up in the front window, because when i run the Shell command it comes minimized.

Ty in advances
Posted

This is in VB, but it should help you
http://office.microsoft.com/en-us/access-help/shell-function-HA001228906.aspx[^]

Basically you should call
Shell("root/name.exe", 1)
 
Share this answer
 
thanks.
i used a variant
 Dim name as Variant
name= Shell("root/name.exe",vbMaximizedFocus)
or the vbNormalFocus was good also, but thanks :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900