Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening file with desired program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00976801
Message ID:
00976808
Vues:
10
Declare Integer ShellExecute In SHELL32.Dll Integer nWinHandle, String cOperation, String cFileName, String cParameters,;
STRING cDirectory, Integer nShowWindow

*-- make sure xxx is registered with windows to open with a specific progam

xc_Path = [c:\someFile.xxx]
ShellExecute(0, 'Open',xc_Path , '', '', 1)



>Look at the Windows Scripting Object
>
>
>>Hi All,
>>
>>I have a requirement to be able to view "Thumbnails" of TurboCAD file from within FoxPro, and then to open the file in either the TurboCADviwer or TurboCAD.
>>
>>I am using BMPs or JPGs for the thumbnails. They are of the same name as the TurboCAD file. They would like to select the program to use (either TurboCAD or the viewer) and with a click on the photo, open the drawing (not the BMP or JPG) file in the selected program.
>>
>>Any suggestions would be appreciated.
>>
>>Barb
Greg Foote
Software At Work, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform