Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening file with desired program
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976801
Message ID:
00976808
Views:
11
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform