将密钥发送到远程桌面 [英] Send keys to Remote Desktop

查看:70
本文介绍了将密钥发送到远程桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个应用程序在远程桌面上运行(在Citrix ICA下,

但同样的问题适用于RDC或PC Anywhere)。现在,我想从本地应用程序向远程应用程序发送

密钥。我尝试使用SendKeys在VB

中发送密钥,以及使用keybd_event API,但是我无法发送

任何密钥。它适用于任何本地应用程序,但我无法远程传递

键。有没有办法呢?


谢谢!

Etienne

解决方案

< blockquote>永远不要使用发送密钥....这是最好的黑客攻击。只有具有焦点的应用才会收到消息,这是永远无法保证的。


在VS.NET帮助下查看Remoting

Jeff

" Etienne Charland" < mysteryx93 at hotmail>在留言中写道

新闻:HL ******************** @ b2b2c.ca ...

你好,有一个应用程序在远程桌面上运行(在Citrix ICA下,
但同样的问题适用于RDC或PC Anywhere)。现在,我想从本地应用程序向远程应用程序发送
密钥。我尝试使用SendKeys在
VB中发送密钥,以及使用keybd_event API,但我无法发送任何密钥。它适用于任何本地应用程序,但我无法远程传递密钥。有办法吗?

谢谢!
Etienne



永远不要使用发送密钥....它至多是黑客攻击。只有具有焦点的应用才会收到消息,这是永远无法保证的。


在VS.NET帮助下查看Remoting

Jeff

" Etienne Charland" < mysteryx93 at hotmail>在留言中写道

新闻:HL ******************** @ b2b2c.ca ...

你好,有一个应用程序在远程桌面上运行(在Citrix ICA下,
但同样的问题适用于RDC或PC Anywhere)。现在,我想从本地应用程序向远程应用程序发送
密钥。我尝试使用SendKeys在
VB中发送密钥,以及使用keybd_event API,但我无法发送任何密钥。它适用于任何本地应用程序,但我无法远程传递密钥。有办法吗?

谢谢!
Etienne



我在尝试什么实现是一个现有系统的黑客!远程

界面太糟糕了,所以我想用本地

应用程序自动输入数据。


" Jeff狄龙" < JE ** @ removeemergencyreporting.com>在消息中写道

news:ut ************* @ TK2MSFTNGP09.phx.gbl ...

从不使用发送密钥.. ..起初是个黑客。只有具有焦点的应用程序才能获得消息,这是永远无法保证的。

在VS.NET的帮助下查看帮助

杰夫
" Etienne Charland < mysteryx93 at hotmail>在消息中写道
新闻:HL ******************** @ b2b2c.ca ...

有一个应用程序在远程桌面上运行(在Citrix
ICA下,
但同样的问题适用于RDC或PC Anywhere)。现在,我想从本地应用程序向远程应用程序发送
密钥。我尝试使用SendKeys在


VB

中发送密钥,以及使用keybd_event API,但我无法发送任何密钥。它适用于任何本地应用程序,但我无法远程传递密钥。有什么办法吗?

谢谢!
Etienne



Hi, there is an application running on a remote desktop (under Citrix ICA,
but the same problem applies for RDC or PC Anywhere). Now, I want to send
keys to the remote application from a local app. I tried sending keys in VB
with SendKeys, as well as using keybd_event API, but I''m not able to send
any keys. It works very well for any local applications, but I can''t pass
the keys remotely. Is there any way to do it?

Thanks!
Etienne

解决方案

Never use send keys....it''s a hack at best. Only the app with focus will
get the message, which is never guaranteed.

Look under Remoting in VS.NET help

Jeff
"Etienne Charland" <mysteryx93 at hotmail> wrote in message
news:HL********************@b2b2c.ca...

Hi, there is an application running on a remote desktop (under Citrix ICA,
but the same problem applies for RDC or PC Anywhere). Now, I want to send
keys to the remote application from a local app. I tried sending keys in VB with SendKeys, as well as using keybd_event API, but I''m not able to send
any keys. It works very well for any local applications, but I can''t pass
the keys remotely. Is there any way to do it?

Thanks!
Etienne



Never use send keys....it''s a hack at best. Only the app with focus will
get the message, which is never guaranteed.

Look under Remoting in VS.NET help

Jeff
"Etienne Charland" <mysteryx93 at hotmail> wrote in message
news:HL********************@b2b2c.ca...

Hi, there is an application running on a remote desktop (under Citrix ICA,
but the same problem applies for RDC or PC Anywhere). Now, I want to send
keys to the remote application from a local app. I tried sending keys in VB with SendKeys, as well as using keybd_event API, but I''m not able to send
any keys. It works very well for any local applications, but I can''t pass
the keys remotely. Is there any way to do it?

Thanks!
Etienne



What I am trying to achieve is a hack around an existing system! The remote
interface is too crappy, so I want to automate data entry with a local
application.

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message
news:ut*************@TK2MSFTNGP09.phx.gbl...

Never use send keys....it''s a hack at best. Only the app with focus will
get the message, which is never guaranteed.

Look under Remoting in VS.NET help

Jeff
"Etienne Charland" <mysteryx93 at hotmail> wrote in message
news:HL********************@b2b2c.ca...

Hi, there is an application running on a remote desktop (under Citrix
ICA,
but the same problem applies for RDC or PC Anywhere). Now, I want to send
keys to the remote application from a local app. I tried sending keys in


VB

with SendKeys, as well as using keybd_event API, but I''m not able to send
any keys. It works very well for any local applications, but I can''t pass
the keys remotely. Is there any way to do it?

Thanks!
Etienne




这篇关于将密钥发送到远程桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆