0

I'm in a position right now where my program needs access to write to the Program Files directory. From what I can tell, it seems like applications can request this kind of permission while they're running (the screen will go dark, and a box will pop up with Continue and Cancel buttons), although I'm not sure what I have to do to cause this to pop up.

If anyone can help, that would be great.

gcode
  • 2,954
  • 4
  • 21
  • 32

1 Answers1

1

This has been asked and answered several times.

The short answer is, you can only do it through COM or launching another process.

See this question: Request Windows Vista UAC elevation if path is protected?

Community
  • 1
  • 1
Chris Patterson
  • 28,659
  • 3
  • 47
  • 59
  • Thank you for that information, although it looks like in my case, the easiest method would be to have the program start with elevated access in the beginning with the manifest file. This will most likely be very valuable information for other people though! – gcode Dec 11 '10 at 19:37