Results 1 to 2 of 2

Thread: Shelling

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    1
    I am trying to make a simple program that allows the user to select several check boxes and then starts a command line program using the selected arguments. My plan was to concatenate a string according to the secletions and then pass it to the shell command. How ever whenever i try something like

    Shell LoadLine$
    (LoadLine$ is my concatenated string i.e. 5200 -g-d )

    I get an error. Can anyone explain what I am doing wrong?

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196
    You need to make sure that the mane of your executable is in the line..,

    so...
    Code:
    LoadLine$ = "myprog.exe 5200 -g-d"
    Shell LoadLine$
    if that doesn't work then tell usthe exact error message that you are getting...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width