Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell command under Windows Vista

Status
Not open for further replies.

mileski

Programmer
Apr 16, 2007
1
DE
Hi all,

I have a tiny problem with a vba code under Windows Vista. I need a way to start a program using the shell command or something else like this:

Code:
shell("updater.exe", 1)

The problem is, that this is actually an updater program, which has to be started in Administrator mode. Now, when I try to start it like in Win Xp the user doesn't get the UAC Window asking him if he wants to continue starting the program. The Shell command doesn't do anything.

Anybody has an idea how can I accomplish this? (Starting Winword.exe under Administrator privileges solves the problem, but this is of course out of question)


Robert.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top