Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > RE: .ShellExecute on Vista does not work

Reply
Thread Tools Display Modes

RE: .ShellExecute on Vista does not work

 
 
LT
Guest
Posts: n/a

 
      08-21-2008
What I meant was if anyone could provide any help regarding this issue.

"LT" wrote:

> The following works properly on XP but not on Vista. The error message is
> "The parameter is incorrect".
>
> Set objSh = CreateObject("Shell.Application")
> objSh.ShellExecute "notepad.exe", "" , "", "runas", 1
>
> Thanks,
> LT
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird behavior of ShellExecute on Vista Mihai Ciumeică Windows Vista General Discussion 7 04-16-2008 04:09 AM
Still searching for way to get Vista search to work: Why doesn't FilterFilesWithUnknownExtensions registry key work in Vista? Celegans Windows Vista General Discussion 11 08-31-2007 02:04 PM
HP LaserJet 1010 don't work in Vista since Beta2 - Advanced 1384 Printing Support drivers for XP don't work Alexey Windows Vista Printing / Faxing / Scanning 2 10-19-2006 12:05 AM
Will all the programs that work on xp work on vista? exciter Windows Vista General Discussion 14 10-07-2006 04:40 AM
ShellExecute returns SE_ERR_ACCESSDENIED Trent Windows Vista Installation 1 09-13-2006 12:44 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59