Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 16th, 2007, 10:17 AM
Registered User
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Shell command under Windows Vista

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)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a shell command in sharepoint. Final_Boss SharePoint Development 0 August 17th, 2007 12:24 PM
Shell command or calling VB exe netfresher General .NET 3 October 30th, 2006 06:23 AM
Shell Command doesn't respond in W2K machines kan_lenny Pro VB.NET 2002/2003 0 September 13th, 2006 07:36 PM
Shell command execution error toshesh VB Databases Basics 3 January 7th, 2006 03:17 AM
Shell command refusing to work underscore10304 Access VBA 4 October 20th, 2004 02:12 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.