Re: msrdp object and SendKeys
- From: "Josh Rosenberg [MSFT]" <joshrose@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 Mar 2007 13:13:06 -0800
I don't code in VB, so you'll excuse my ignorance, but isn't VB a scripting language? We only allow keys to be sent manually when being used in a non-script context; otherwise maliciously designed web pages that forward a TS connection could do "interesting" things to the user's session. If you are coding in a non-script context (a binary installed by the user or whatever), you'll have access to that function, but otherwise it is off-limits.
--
Josh Rosenberg [MSFT]
SDE - Terminal Services
"Bernhard" <Bernhard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2A9E4843-7B79-493C-BC74-8AE0E3593BAE@xxxxxxxxxxxxxxxx
Dear Thomas, I have seen this interface, but this is not visible from the
ActiveX object. The Active X object uses the interfaces RdpClient2 and
RdpClient3 only.
"ThomasT." wrote:
I have found in the doc:
IMsRdpClientNonScriptable::SendKeys
Good luck
Thomas T.
"Bernhard" <Bernhard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:83C0039F-04BD-46B5-8E70-D29D8DA1FEDC@xxxxxxxxxxxxxxxx
> Hi,
> I installed the msrdp ActiveX object an created a VB6 application. Ok,
> very
> easy! I can connect to the remote server and use it like the normal rdp
> client.
>
> However, now I tried to send keys to the remote session. Things like
> SendKeys, PostMessage or keybd_event were NOT successful, but there > must
> be a
> way, because standard rdp clients can send special key strokes to the
> remote
> session.
>
> How can we do that?
>
> Thanks in advance!
>
> Bernhard
.
- Follow-Ups:
- Re: msrdp object and SendKeys
- From: Bernhard
- Re: msrdp object and SendKeys
- References:
- Re: msrdp object and SendKeys
- From: ThomasT.
- Re: msrdp object and SendKeys
- Prev by Date: Re: Icons move every login...
- Next by Date: Re: What to add to Terminal Services to allow file transfer?
- Previous by thread: Re: msrdp object and SendKeys
- Next by thread: Re: msrdp object and SendKeys
- Index(es):
Relevant Pages
|