[vb6]

Discussion in 'Mixed Languages' started by Reign_Of_Freedom, Nov 26, 2010.

  1. Reign_Of_Freedom

    Reign_Of_Freedom MDL Expert

    Aug 1, 2009
    1,246
    467
    60
    Is there an easy way to run editbin.exe from shell if editbin is included in the app path?

    Meaning i have a project, i compile it, i place a copy of editbin in the same folder that the compiled project is.

    Wanted to set a command button to run editbin with PathFile.Text as the exe to run editbin against.
     
  2. Calistoga

    Calistoga MDL Senior Member

    Jul 25, 2009
    420
    199
    10
    #2 Calistoga, Nov 26, 2010
    Last edited by a moderator: Apr 20, 2017
    You're thinking about something like this?
    Code:
    var path = App.Path & "\editbin.exe"
    
    Shell(path, 1)
    Or did I misunderstand?
     
  3. Reign_Of_Freedom

    Reign_Of_Freedom MDL Expert

    Aug 1, 2009
    1,246
    467
    60
    #3 Reign_Of_Freedom, Nov 27, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    No that's correct, i was trying to make it easier but i realized i needed to link the link.exe FIRST inorder for editbin.exe to work properly from my little APP. Im done with it i'll try to upload it tonight after i talk to ancestor(v) or Yen.
     
  4. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,848
    120
    You got me curious, what did you make?
     
  5. Reign_Of_Freedom

    Reign_Of_Freedom MDL Expert

    Aug 1, 2009
    1,246
    467
    60
    I made a PE Patcher :D i posted it in the app section.