CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Posts
    1

    Gui's for dos applications

    How do I call a dos program from witin a vb program?

    I have several dos programs that use the standard format eg [dos.exe] [filename] [switch]

    What I would like to do is specify the filename and switch then execute the command.

    I know this is a very simple problem but i can't find any referance to it anywhere.

    I am quite new to vb but not to basic. I used to write alot of stuff in basic on old 8 bit machines and the syntax is very simlair.

    Thanks Bob


  2. #2
    Join Date
    Feb 2001
    Location
    Stamford CT USA
    Posts
    2,167

    Re: Gui's for dos applications

    You can lookup Shell() function to execute external programs.

    -Cool Bizs

    Good Luck,
    -Cool Bizs

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

Featured