|
-
August 23rd, 2001, 04:29 AM
#1
Program Files Folder
Hi there
How can I get the path of the program files folder? There are API functions for retrieving the windows path and the windowssystem path, but I didn't find anything on the program files path. Problem is the path is language dependent, so I can't just say it's always "program files".
thanks for your help
daniel
-
August 23rd, 2001, 07:48 AM
#2
Re: Program Files Folder
I think U must read it in registry in HKEY_LOCAL_MACHINE root. U can find the correct code in yuor Visual studio 6.0 installation folder. Find for "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1" and open the project. Look at frmPath and basSetup1 (function ResolveDestDir). It's to complicate to write code in mail... "more simple" read it...
hi, brt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|