vb6 Shell no longer works on Vista

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thebales
    New Member
    • Apr 2010
    • 1

    vb6 Shell no longer works on Vista

    I have an vb6 app that calls another vb6.exe. All works fine until installed on Vista. The code is:

    Shell App.path & "\trigger.e xe" & procstring

    I receive error 5 Invalid procedure call or argurment!

    Shell app.path & "\trigger.e xe" works on Vista, but I cannot find a way to pass the parameters the executable needs on Vista.
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    It just may be because you do not have a space between exe and the string you are passing... exe" & somestring = exethisparamete rbeingpassed and thus your error. Now if that is a typo, then try shellexecute API...



    Good Luck

    Comment

    Working...