start then 'run as'-dialogue

start then 'run as'-dialogue

Post by R. Schoppe » Sat, 29 Jan 2005 20:10:28


Hallo,

I want to start the 'run as'-dialogue in my VB-code.
( manuell: SHIFT key and right-click ).
Does anyone know the API-function?


Thanks
Roswitha
 
 
 

start then 'run as'-dialogue

Post by Fosc » Mon, 31 Jan 2005 17:13:51

"R. Schoppe-Jantzen"

Private Sub Form_Load()
' sFile = "C:\TEST.TXT"
Shell "rundll32.exe shell32.dll,OpenAs_RunDLL " ' & sFile
End Sub

' tested on win9x