Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SheelExecute query
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01623271
Message ID:
01623280
Views:
72
Most likely name of action associated with those files is not 'Open'.
Try
lnRetVal = Shellexecute(0,"",lcFile,"","",3)
>Have been using ShellExecute with Pdf file for a while without any issue
>Try to use now with .jpg and .tif and am getting back a 'File Not associated'
>
>However, If I double click the same file, Paint opens them up both no problem. I can also see in Control Panel..Default Programs that these two types of file seem to be correctly associated
>
>Should ShellExecute work with all associated files or do I need to change something
>
>Command I am using :lnRetVal = Shellexecute(0,"Open",lcFile,"","",3)
>
>Tia
>Gerard
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform