I convert my program from Delphi6 to Delphi2007 and only get it work on Window Vista if:

1. UAC (User Account Control) is OFF.
2. or if UAC is ON. then I have to select the program short cut on desktop, right click and choose "Run as administrator"

Is there any way (adding code) to run the program without doing like to above.

Please help, I will need to submit my project soon!

Many thanks,

You should go into your delphi folder under Program files and go into the properties of the folder, under security, create a user called everyone and grant that user full control. your problem will be solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.