VB6 RunMe = Shell(exename) not working on Server 2008

一般討論 VB6 RunMe = Shell(exename) not working on Server 2008

  • Monday, January 28, 2013 7:37 PM
     
     

    Server2008 R2 - logged on as local admin:

    An application that I've used for years is doing this:

    My VB app uses "RunMe = shell(notepad.exe)" and Notepad opens just fine

    Then "RunMe = Shell("c:\mydir\myapp.exe") and I get an error message stating that I don't have rights to run myapp.exe.

    I can take the SAME command and use the Windows Run applet and myapp starts as intended so it is not a user rights issue ... it's an issue where Server 2008 will not let my VB program run another specific program (remember it can run Notepad, Write, Explorer ... )

     

All Replies