473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Sending keystrokes to an application running on Citrix ICA Client

I'm trying to enter data into a database application running under Citrix ICA
Client. I'm doing it from a VBA macro running under Microsoft Excel 2000
(although it may need to be backwardly compatible with '97).

I'm doing this by using appactivate to activate the database application,
then sendkeys to send strings of data and tab characters to fill up a series
of data fields.

Now, this works if Excel is running under Citrix, but if Excel is running
under regular windows, it can't send keystrokes to Citrix, even if a Citrix
"Parent" window has the focus. I find this odd, because the function
supposedly acts as if you were typing the keys on the keyboard, and if I
enter the keystrokes on the keyboard under the same circumstances the data
gets entered fine.

Is there some kind of lower level API call that I can use to send keystrokes
from regular Windows 98 or 2000 "through" to an application running on
Citrix?

If anyone can help I'd be most grateful!
Nov 21 '05 #1
2 10141
Tim the only way I know of doing it is using another application called QARUN
from compuware. Sorry

"Tim Diggle" wrote:
I'm trying to enter data into a database application running under Citrix ICA
Client. I'm doing it from a VBA macro running under Microsoft Excel 2000
(although it may need to be backwardly compatible with '97).

I'm doing this by using appactivate to activate the database application,
then sendkeys to send strings of data and tab characters to fill up a series
of data fields.

Now, this works if Excel is running under Citrix, but if Excel is running
under regular windows, it can't send keystrokes to Citrix, even if a Citrix
"Parent" window has the focus. I find this odd, because the function
supposedly acts as if you were typing the keys on the keyboard, and if I
enter the keystrokes on the keyboard under the same circumstances the data
gets entered fine.

Is there some kind of lower level API call that I can use to send keystrokes
from regular Windows 98 or 2000 "through" to an application running on
Citrix?

If anyone can help I'd be most grateful!

Nov 21 '05 #2
Take a look at the Beta DLL for AutoIt and incorporate this in your
application. Not perfect, but it is a lot more 'managed' than using
SendKeys. Not sure if it will work in your case. AutoIt has got me out of a
lot of problems lately.

http://www.hiddensoft.com/AutoIt/

Best wishes
Paul Bromley

"Rachel" <Ra****@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
Tim the only way I know of doing it is using another application called QARUN from compuware. Sorry

"Tim Diggle" wrote:
I'm trying to enter data into a database application running under Citrix ICA Client. I'm doing it from a VBA macro running under Microsoft Excel 2000
(although it may need to be backwardly compatible with '97).
yt
I'm doing this by using appactivate to activate the database application, then sendkeys to send strings of data and tab characters to fill up a series of data fields.

Now, this works if Excel is running under Citrix, but if Excel is running under regular windows, it can't send keystrokes to Citrix, even if a Citrix "Parent" window has the focus. I find this odd, because the function
supposedly acts as if you were typing the keys on the keyboard, and if I
enter the keystrokes on the keyboard under the same circumstances the data gets entered fine.

Is there some kind of lower level API call that I can use to send keystrokes from regular Windows 98 or 2000 "through" to an application running on
Citrix?

If anyone can help I'd be most grateful!

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MS | last post by:
Hi All, I created a C# winform Aplication. I published my Application on Citrix server. When I click on my Application Icon to launch application. Nothing happens. My Application is not...
0
by: Daniel | last post by:
how to change the value of Request.ServerVariables on the ser ver? if not possible is there some way to change it by sending back javascript to the client and having the client automaticaly do...
0
by: Imran Aziz | last post by:
Hello All, I have developed an ASP.net application using the latest beta release (version 2 beta 2)of dot net using Visual studio .net express edition. I have been testing the application using...
3
by: Wayne | last post by:
I have a console application (ssh2.exe) that requires keystrokes to be sent to it after activating. I have worked that it needs to be started in it own thread, but capturing the process and...
1
by: MariusI | last post by:
I've created a program which fetches data from the internet using the WebBrowser and HttpWebRequest classes. The program has been tested on several computers and everything was working fine until...
5
by: Blurbint | last post by:
is there someway to etc, send keys to another running application with vb 6.0?
4
by: Max2006 | last post by:
Hi, I am developing a web application on windows XP. A page within my application needs to access to SSRS running on the same machine. Once the web application tries to consume the SSRS web...
1
by: BD | last post by:
Hi All, I'm back again looking for a solution that may, or may not be possible. Using VB I need to determine if a remote site visitor has a particular piece of software installed. In cases...
1
by: rajeev ranjan | last post by:
Hi All, I am hosting my asp.net web application on citrix server. The application is running fine, but i am facing some issues: 1. When i click a url, which need to open a new window, the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.