Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TAKE 2: Contained description of an EXE file
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00582794
Message ID:
00582852
Views:
23
Hi Brian,

Glad to see I'm not going any further crazy than I've already gone (bg)...

Thanks for the heads-up. That's good to know. It looks like I'll have to read the EXE by the byte and try to find it that way.


>Evan,
>
>The client I'm working for uses Wise InstallManager and I just tried this for kicks and, you're right, AGETFILEVERSION doesn't work on the exe's it creates. I tried in both VFP6 SP5 and VFP7. Humm....
>
>
>- Brian
>
>
>>Hi all,
>>
>>In thread # 581909, Alexander Golovlev attempted to assist me with parsing out the Windows file description contained in an EXE file using the VFP internal AGETFILEVERSION() function.
>>
>>Unfortunately, it only seems to work about half the time. Many EXE files, which show a Windows description in Explorer/My Computer, can't evidently be seen by the function and it returns 0 with no information in the array.
>>
>>These files seem to have one common "thread" (pun intended) -- they have all been created with the Wise Installer (at least, the Wise Installation Wizard comes up when I run each one separately). I have *hundreds* of these files for which I need to grab the contained description.
>>
>>Anybody out there know another way to get this info besides AGETFILEVERSION?
>>
>>TIA,
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Reply
Map
View

Click here to load this message in the networking platform