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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Focusing on different applications

Status
Not open for further replies.

melkober

Technical User
Jun 14, 2006
8
CA
I have a function that I have programmed to focus on another application outside of Access by sending it a key. Now I am trying to get focus back on the orginal application in Access after a process in the outside application is complete. Any ideas of what I could do?
 



Hi,

Don't you think that it might be a tad helpful if we could take a gander at your code?

Skip,

[glasses] [red][/red]
[tongue]
 
As per your request Skip :p

Private Sub frmCamCapture_Click()
Call CamClick
AppActivate "CameraApp", 0
Forms!Capture.SetFocus
End Sub

Sub CamClick()
AppActivate "RemoteCaptureTask", 0
SendKeys "^{F12}", 0
End Sub

Mel :)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top