VB code help

Discussion in 'OT Technology' started by sideshow bob, Mar 24, 2005.

  1. sideshow bob

    sideshow bob New Member

    Joined:
    Jun 30, 2003
    Messages:
    108
    Likes Received:
    0
    I am creating a front-end for my MAME cabinet and need some help.

    I want a list box to be populated with all the roms in a folder. And after selecting an item in the list, that file gets sent to the Command Line as the argument for the emulator.

    For example, the list is Game A, Game B, Game C. Select Game C and hit submit. The string passed to the command line would be "emulator.exe Game C"

    Thats it. Any links, suggestions would help.
     
  2. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    shell "c:\emulator\emulator.exe " & cbGameChoice
     

Share This Page