Hi, thankx for the reply. I have the use 'Connect' as action instead of 'Open'.
>>Hello, I'm using following code to try to open a RDP-files located on the local c:\-drive.
>>
>>The function returns 31, which means no associated programm found. I can start the RDP-file by double clicking the file...
>>
>>I checked the association in Windows and the RDP-extension is linked to the Windows Remote Desktop application.
>>
>>Used code :
>>
>>hDCScreen = GetDesktopWindow()
>>? ShellExecute ( hDCScreen, "Open", "c:\Test.rdp","","",0)
>
>Not tested but try:
>? ShellExecute ( 0, "Open", "c:\Test.rdp","","",0)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement