Avian Waves
®
\
Forums
\
RD Tabs
\
RD Tabs Suggestions
\
rdp activex control
Register
Login
Search
Blog
About
Software
Tools
RD Tabs
Legacy
XS BAP
VSCMap
SCHANNEL ADM Template
XS EDB Limit Changer
RemovableStorageDevice ADM Template
Windows Mobile Classic
Music
Discography
Avian Waves
TCX - All We Can Do
Studio
The Black Room
Keyboards
Rack Synths
Effects Processors
Mixing
Monitoring
Interfaces
Sequencing & Editing
Instruments Plugins
Effects Plugins
Contact
Forums
Blog
About
Software
Tools
RD Tabs
Legacy
XS BAP
VSCMap
SCHANNEL ADM Template
XS EDB Limit Changer
RemovableStorageDevice ADM Template
Windows Mobile Classic
Music
Discography
Avian Waves
TCX - All We Can Do
Studio
The Black Room
Keyboards
Rack Synths
Effects Processors
Mixing
Monitoring
Interfaces
Sequencing & Editing
Instruments Plugins
Effects Plugins
Contact
Forums
Welcome Guest! To enable all features please try to register or login.
×
Avian Waves Forums
Search
Help
×
Avian Waves Forums
RD Tabs
RD Tabs Suggestions
rdp activex control
rdp activex control
Previous Topic
Next Topic
Tools
Watch this topic
Print this topic
Atom Feed
RSS Feed
Marc
68.6% (Friendly)
Flock Member
Topic Starter
2007-07-04T14:37:02Z
#1
Hi !
I'm facing a problem I could solve by writing a small program that uses the rdp activex control to connect somewhere automatically. Now I created a new Project in VS and added that control and everything is straight forward except for setting the password. There is put_Server(), put_UserName() etc. But I don't see a way to set the password. I quickly started my favorite rdp client mod ever to check if it allows specifying a password before connecting to the server and RD Tabs does! So may I ask how do you do it?
Best regards
Marc
View All Posts by User
Timothy
100% (Exalted)
Flock Leader
2007-07-06T11:16:11Z
#2
Ah yes! The password fiasco. The RDP control is on its umpteenth version and as such has lots of weird old ways to invoke certain things and has deprecated some features you find in the older documentation (I remember searching on Google for how to set the password for a while). The current preferred way (Vista/Server 2008) is to use Network Authentication which pulls credentials from an OS prompt. Very secure (OS prompts like that override keystroke loggers and whatnot), but that sucks for scripting. Not to mention that Server 2003 doesn't support Network Authentication anyway... Luckily it falls back to just shoving the username/password to the prompt, but I digress...
There are two functions you need to use. (This is in VB.Net)
1. To set the password:
AxControl.AdvancedSettings.ClearTextPassword = "YourPassword"
2. To clear the password:
CType(Me.AxControl.GetOcx, MSTSCLib.IMsTscNonScriptable).ResetPassword()
The "non-scriptable" parameter is stuff you can't access from scripts (supposedly) but you can from regular languages by casting (that's the CType) the OCX reference of the control to IMsTscNonScriptable and invoking the function from there.
BTW: In COM parlance, I guess "ClearTextPassword" would actually be put_ClearTextPassword.
View All Posts by User
Atom Feed
Rss Feed
Similar Topics
mirroring control among tabs
(
RD Tabs Support
) by
int0x13
2010-12-14T11:38:17Z
question about msrdp control and focus
(
RD Tabs General Discussion
) by
Timothy
2008-10-06T10:39:38Z
Integration with rdp://
(
RD Tabs Support
) by
Felipe
2018-10-19T15:10:34Z
Reverse RDP Attack: Code Execution on RDP Clients
(
RD Tabs General Discussion
) by
Timothy
2019-02-24T20:11:04Z
export RDP files
(
RD Tabs Support
) by
Dan C
2015-12-10T06:51:00Z
Users browsing this topic
Guest
Avian Waves Forums
RD Tabs
RD Tabs Suggestions
rdp activex control
full film