Falling Posted March 18, 2005 Share Posted March 18, 2005 Shell "C:\Program Files\Client\Client.exe" What do i need to add to this to make the .exe open up on top of windows instead of opening minimized? Link to comment Share on other sites More sharing options...
bshoenhair Posted March 18, 2005 Share Posted March 18, 2005 Shell "C:\Program Files\Client\Client.exe" What do i need to add to this to make the .exe open up on top of windows instead of opening minimized?<{POST_SNAPBACK}>In Visual basic with AutoItX or in AutoIt ?Do you want to set it topmost or not to open minimized ? Link to comment Share on other sites More sharing options...
Falling Posted March 18, 2005 Author Share Posted March 18, 2005 In Visual basic with AutoItX or in AutoIt ?Do you want to set it topmost or not to open minimized ?<{POST_SNAPBACK}>Umm not sure what you ment. But here is the solution:Dim K As Double K = Shell("C:\Program Files\cleint\Client.exe", vbNormalFocus)It's odd with Vb6 because you can also just do something like this:Shell "C:\Program Files\LocalServer\LocalServer.exe" which will open the exe. But for openin something in a certain way you have to use that function call.Here is a new question though:How do i get the system trey to auto-refresh itself? if i use the Shell "taskkill /im LocalServer.exe" it leaves a ghost of the icon in the system tray. Link to comment Share on other sites More sharing options...
bshoenhair Posted March 18, 2005 Share Posted March 18, 2005 Look Herehttp://www.autoitscript.com/forum/index.ph...7404&hl=refresh Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now