Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Notepad execution

Status
Not open for further replies.

jseva

IS-IT--Management
Mar 26, 2001
26
US
When I invoke notepad.exe using 'shell', notepad doesn't come up on the screen. Instead it's minimized. How can I program it so that notepad is shown on the screen when I execute 'shell'. Please advise.
 
Shell "notepad", vbNormalFocus

'other values for 2nd argument:
'vbhide
'vbmaximizedfocus
'vbminimizedfocus
'vbminimizednofocus
'vbnormalnofocus

 
Thanks for the quick help, Justin!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top