T
Toad
A long winded question.
In Windows XP and 2000, one can write an application that performs a
ShellExecute with the "runas" verb to launch the Run As dialog box. I
have extended this to then automate the dialog by clicking the run as
another use radio button, filling in the user name and the password,
etc. as dictated by command line options.
In Vista, the Run As dialog looks completely different and I suspect MS
has secured the dialog so that it cannot be automated via SendMessage
calls (let alone that it doesn't look like a traditional dialog). Does
anyone know if this is true, or can the Vista RunAs dialog be automated
as in XP and W2K ?
The reason I ask is that I would like to control the which user is
selected instead of having to click down the list in the Vista dialog...
Toad
--
In Windows XP and 2000, one can write an application that performs a
ShellExecute with the "runas" verb to launch the Run As dialog box. I
have extended this to then automate the dialog by clicking the run as
another use radio button, filling in the user name and the password,
etc. as dictated by command line options.
In Vista, the Run As dialog looks completely different and I suspect MS
has secured the dialog so that it cannot be automated via SendMessage
calls (let alone that it doesn't look like a traditional dialog). Does
anyone know if this is true, or can the Vista RunAs dialog be automated
as in XP and W2K ?
The reason I ask is that I would like to control the which user is
selected instead of having to click down the list in the Vista dialog...
Toad
--