Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening RDP-file through ShellExecute()
Message
 
À
16/08/2005 07:50:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01041277
Message ID:
01041280
Vues:
23
>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)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform