Re: msrdp object and SendKeys



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




.



Relevant Pages

  • Re: Keyboard problems with Java Desktop System
    ... |attempting to open a remote X session to these from a laptop with Solaris ... CDE or failsafe session). ... Note that you can set the keys via the gconf-editor GUI too by replacing ... the non empty keys by an empty string. ...
    (comp.unix.solaris)
  • Re: Keyboard problems with Java Desktop System
    ... |attempting to open a remote X session to these from a laptop with Solaris ... CDE or failsafe session). ... Note that you can set the keys via the gconf-editor GUI too by replacing ... the non empty keys by an empty string. ...
    (comp.sys.sun.admin)
  • Re: Tosh. CX35D70 (Incl. service menu warning for people)
    ... Other models the number keys might change to different ... menus, but on the Toshiba remote they changed values, something I did ... the volume at max, the volume bar at max, and the remote turned the bar ... Although Toshiba ...
    (sci.electronics.repair)
  • Re: Great SWT Program
    ... failing of the GUI user-interface paradigm. ... And that probably works fine if the remote files aren't too big, ... the keys used for movement and cut, copy, paste can't even be depended ... characters and then type in the resulting number before hitting my ...
    (comp.lang.java.programmer)
  • MCE2005 Remote Control Keys
    ... DVD player and all other functions in MCE are working great. ... Several keys on my phillips oem remote control have quit working. ... all USB devices in the device manager. ...
    (microsoft.public.windows.mediacenter)