Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFileVersion Issue
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00209200
Message ID:
00209413
Vues:
36
>>>>Hi,
>>>>
>>>>Anyone having a problem using GetFileVersion() from FOXTOOLS.FLL when looking at an .exe on an NT Server?
>>>>
>>>>TIA,
>>>Hi Ken,
>>>
>>>There shouldn't be, but again I don't have access to an NT server (yet). One possibility that comes to mind is that GetFileVersion() only works with 32 bit executables, DLLs, OCXs, and other compiled files. Are you sure that the file is 32 bits?
>>
>>FWIW, I tried it under VFP 5, both from an NT Server (NT Server Enterprise 4.0, Build 1381, SP4 128 bit) for a 32 bit executable on its local drive, and from a Win98 box (Win98 4.10.1998, all current Critical and Recommended updates applied from WindowsUpdate, and IE5 5.00.2014.0216IC) accessing the same NT Server across the network. GetFileVersion() worked fine in both instances. I looked at the VFP6.EXE installed in my Visual Studio directory.
>
>Hiya Ed,
>
>Do me a favor if you will. Can you try it on a file on the server for which the rights (like a read-only directory) are limited? I'm wondering if something like this might be causing the problem Ken's having.
>
>Thanks,

No problem - I have a restricted userid I can try when I get back home this evening. I was logged in with domain admin privileges, so that wasn't considered. I assume that read but not write or change privileges in the directory as opposed to specific file access rights is is what you want me to test.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform