Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening RDP-file through ShellExecute()
Message
From
16/08/2005 07:50:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Opening RDP-file through ShellExecute()
Miscellaneous
Thread ID:
01041277
Message ID:
01041277
Views:
84
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)
Next
Reply
Map
View

Click here to load this message in the networking platform