Where to put log file with UAC on?

H

House Sparrow

Hi,

I'm developing an application to run under Windows Vista. Under XP, my
applications create and write to a log file located in the program
files folder beside the exe, but this is prohibited with UAC turned
on.

Where is the correct place to put such files? Users will not generally
be expected to view the log, unless they encounter a problem.

Thanks for any advice,
HS
 
M

mayayana

See the links to the MS docs above, in the
posting titled "VB6 Vista UAC Problem".
 
H

House Sparrow

Thanks for the advice, but a log file is not really 'per user'.

A system may have may users. When there's a problem, we want to get
one file from one place, not one for each user. Does the Vista design
accommodate this?

Cheers,
HS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top