Hi,

We have developed one application which is developed in VB .Net in VS2003,VS2005 and VS2008 version.

The application which is build in VS2003 and VS2005 are perfectly worked in Vista except for application developed in Visual studio 2008.

This application is accessing the registry.

It giving error only application build with VS2008 . But when we launch this exe with (UAC) i.e. "Run as administrator" it works fine.

Is their any CODE through which i can disable UAC.

Our client usually don't have a habit to "run as administrator".

Please suggest me the solution for this Issue.

Reply from the earliest will really appreciated.

Thanks and regards,
Virendra

Your client can disable it.

That i know that my client can disable but i want thorugh my code that will happen .i don't need to give any instruction to client for doing this.

No way as you use some of administrative tasks like, writing on files which located on system drive, sql connections, etc....

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.