Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2007

Tip: Looking for answers? Try searching our database.

Shell command under Windows Vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert Mileski - 16 Apr 2007 15:01 GMT
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)
Karl E. Peterson - 17 Apr 2007 20:09 GMT
> I have a tiny problem

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

(Grrrr...  Please don't multipost.)
Signature

.NET: It's About Trust!
http://vfred.mvps.org

Robert Mileski - 17 Apr 2007 23:15 GMT
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 ;)

>> I have a tiny problem
>
> Did the suggestion I gave to your duplicate post elsewhere help?
>
> (Grrrr...  Please don't multipost.)
Karl E. Peterson - 18 Apr 2007 19:06 GMT
> 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!
Signature

.NET: It's About Trust!
http://vfred.mvps.org

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.