Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 5, 1998

Switch to Another App and Close It

Use the built-in AppActivate command to switch to another application easily if you know its title. You can even close the application programmatically:

 'This will close app
Private Sub CloseApp (AppTitle As String)
	On Error GoTo ErrExit
	AppActivate AppTitle
	SendKeys "%{F4}", True
ErrExit:
End Sub
Ketan Patel
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date