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!

Sendkeys to Citrix Application

Status
Not open for further replies.

hartwell

Technical User
Apr 18, 2005
80
GB
Hi Guys

I am currently having trouble sending keys (using Microsoft Access 2003) to a Application on Citrix,

I can get focus on it (using AppActivate) however when ever using a sendkeys statement it does nothing,

something to note is that the citrix Application does not appear in the start bar.

Code:
'AppActivateByStringPart is a function which searches for a window with the definded string in it.

AppActivateByStringPart "\\"
Sleep 1000
SendKeys "(%{F4})", True
 
>SendKeys "(%{F4})", True

Have you tried SendKeys "%{F4}", True

Not sure about Access/ VBA but I have VB6 apps using Sendkeys under Citrix without problems.
 
Have tried with no luck,

The Access Database im runinng is out side of citrix but by the sounds of it yours is within citrix.

Thanks
 
Is Sendkeys always failing or only in this piece of code, are you sure AppActivateByStringPart is working properly?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top