Using shell command to start as an administrator application

  • Thread starter Martin Theriault
  • Start date
M

Martin Theriault

Hello

Excel VBA macro to open Hypersnap6.exe application:

I got a shell command that is use to start an application .exe program.

Command was working fine until i installed Win7. With this new OS, i must open Hypersnap6.exe as an administrator.

My shell command line failed to open it in this mode

actual shell line is :

rep= shell("C:\Program Files (x86)\HyperSnap 6\HprSnap6.exe" -hidden "-initfrom:C:\Program Files (x86)\HyperSnap 6\Snap_Config.ini")

Any help appreciated

Martin

PS1: I did post similar question in Mrexel forum, but no answer yet

PS2: Please excuse my English, i'm more fluent in French



EggHeadCafe - Software Developer Portal of Choice
C# and VB.NET Conversions Pocket Reference
http://www.eggheadcafe.com/tutorial...c4a-10cb93fd4298/c-and-vbnet-conversions.aspx
 
J

JP

I may be wrong (and I'm sure someone will come along to correct me),
but if you could programmatically act as the administrator, then what
would be the point of the security feature?

--JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top