473,795 Members | 3,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10213
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****@discuss ions.microsoft. com> wrote in message
news:84******** *************** ***********@mic rosoft.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
1457
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 launched. My Application is accessing backend SQL and Oracle Database. I could Run my application through RDP/Terminal Services
0
1502
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 something to change the value of Request.ServerVariables I would like to reset the value in Request.ServerVariables
0
387
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 the debugger and built in web browser, and it works fine on it. But now that I have copied the contents to an IIS 5.1 Server the application runs dead slow, In the Build -> configuration manager I was not able to find an option for release build...
3
9034
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 sending the keystrokes escapes me at the moment. Is there any material online that describes the process of sending keystrokes to a console app?
1
2665
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 we tried Citrix . The Citrix client in question has access to the internet through internet exporer, yet when we try to access the web through the webcontrol in our program it fails to connect. Are there special considerations which must be taken...
5
2069
by: Blurbint | last post by:
is there someway to etc, send keys to another running application with vb 6.0?
4
2806
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 services, I receive the following error: System.Web.Services.Protocols.SoapException: The permissions granted to user DEV1\ASPNET' are insufficient for performing this operation. --->...
1
1167
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 where they used the installer, there will be a registry key that can be checked, however, not all people use the installer. Some just download the zip file and extract the files. I'm thinking that, first the code should check for the registry value...
1
2354
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 system always asking re-login in a new pop up window. 2. The values of drop down menus are not changing when i change them.
0
10448
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10167
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7544
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2922
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.