Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show jpg file in x64 windows
Message
 
À
18/11/2010 11:27:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01489593
Message ID:
01489620
Vues:
108
>>These work for me:
>>
>>? ShellExecute(0,"open","c:\windows\system32\mspaint.exe","D:\software\smlogo.jpg","",1)
>>? ShellExecute(0,"open","c:\windows\sysWOW64\mspaint.exe","D:\software\smlogo.jpg","",1)
>>
>
>Thank you. This works. Questions:
>
>1. How to open jpg and other files with default file type handler like clicking in file in Windows Explorer ?
>
>2. I right clicked in windows explorer in jpg file and selected
>
>Choose default program
>Photo Gallery Viewer
>
>After hat I got error message
>
>Picture printing is not available without the Desktop Experience Feature.
>
>Images are still opened with paint.
>How to open images with Photo Gallery Viewer or other windows built in viewer ?

I do not know.
Clicking from Windows Explorer, it does not mean, you can do it exactly as it is going on on 64 machines when calling from 32 bit application. See http://msdn.microsoft.com/en-us/library/aa384187.aspx, for example. Even with examples I provided, I do not know whether file redirector works or not.

Until more reliable information is available, I would lean on "universal" file viewers like WEB Browser.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform