My first project, help me please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Paulo
    Forum Member
    • Feb 2009
    • 2

    My first project, help me please

    Hi everyone

    I need a button that launch an executable from a dvd. I put this code...

    File.Run("_SourceDrive..\\COMM1\\Setup.exe", "", "_SourceDrive..\\COMM1", SW_SHOWNORMAL, false);

    ...but nothing happen.

    Some idea of why doesn't it work?
  • Dermot
    Indigo Rose Customer
    • Apr 2004
    • 1790

    #2
    Try

    File.Run(_SourceDrive.."\\COMM1\\Setup.exe", "", _SourceDrive.."\\COMM1", SW_SHOWNORMAL, false);
    Dermot

    I am so out of here :yes

    Comment

    • Paulo
      Forum Member
      • Feb 2009
      • 2

      #3
      Thanks Dermot!!! works perfectly

      Comment

      Working...
      X