Re: The Windows directory location from VB6

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Thu, 21 Jul 2005 12:06:43 -0700, "Karl E. Peterson" <karl@xxxxxxxx>
wrote:

>Uh, what? Recommended by whom? GetWindowsDirectory is far preferable, in this case.

SDK docs:
"This function is provided primarily for compatibility. Applications
should store code in the Program Files folder and persistent data in
the Application Data folder in the user's profile. For more
information, see ShGetFolderPath."

Context seems a bit screwy though with the implication / assumption as
to ~why~ one would want to know the windir.


-Tom
MVP - Visual Basic
(please post replies to the newsgroup)
.



Relevant Pages

  • Re: can an application be transferred?
    ... I need to re-install XP and my applications on a clean drive, ... have a few applications that I cannot get anymore, because I lost the ... or because they are not available for download anymore. ... Some only need the Program Files folder copied. ...
    (microsoft.public.windowsxp.general)
  • Re: Reinstalled - most saved data didnt work
    ... The applications that are in the Program Files folder need to be reinstalled ... > Prior to clean reinstalling I not only saved docs, ... The reinstall got rid of some clutter but my PC ...
    (microsoft.public.windowsxp.help_and_support)