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:

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)

Re: Shell command under Windows Vista by Karl

Karl
Tue Apr 17 14:09:57 CDT 2007

Robert Mileski <r_mileski@hotmail.com> wrote:
> I have a tiny problem

Did the suggestion I gave to your duplicate post elsewhere help?

(Grrrr... Please don't multipost.)
--
.NET: It's About Trust!
http://vfred.mvps.org



Re: Shell command under Windows Vista by Robert

Robert
Tue Apr 17 17:15:32 CDT 2007

No, it didn't..

It was actually a very funny suggestion ;) Because the name of the file has
nothing to do with the UAC.

Anyway, I posted the solution in the other message ;)


"Karl E. Peterson" <karl@mvps.org> wrote in message
news:eVVO%23PSgHHA.2396@TK2MSFTNGP04.phx.gbl...
> Robert Mileski <r_mileski@hotmail.com> wrote:
>> I have a tiny problem
>
> Did the suggestion I gave to your duplicate post elsewhere help?
>
> (Grrrr... Please don't multipost.)
> --
> .NET: It's About Trust!
> http://vfred.mvps.org
>


Re: Shell command under Windows Vista by Karl

Karl
Wed Apr 18 13:06:01 CDT 2007

Robert Mileski <r_mileski@hotmail.com> wrote:
> No, it didn't..
>
> It was actually a very funny suggestion ;) Because the name of the file has
> nothing to do with the UAC.

So one might think. One might, in such a case, be very wrong. <g>

http://www.google.com/search?q=setup+heuristics+vista

http://groups.google.com/groups?q=setup%20heuristics%20vista

> Anyway, I posted the solution in the other message ;)

Glad you got it going!
--
.NET: It's About Trust!
http://vfred.mvps.org