Results 1 to 5 of 5

Thread: How to call a Console Exe in vb.net 2003

  1. #1

    Thread Starter
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 2007
    Location
    South Africa
    Posts
    830

    Question How to call a Console Exe in vb.net 2003

    hi all

    i want to Call an Exe, that is a Console Application, in that Exe i want throw in Commands from e.g like "Dir", but i want to do this in vb.NET.

    Thanks

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: How to call a Console Exe in vb.net 2003

    The Process.Start method is used to start processes. Pass the filename as the first argument and the argument as the second.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 2007
    Location
    South Africa
    Posts
    830

    Re: How to call a Console Exe in vb.net 2003

    Thanks for your reply , i get your point , please post me an Example code

  4. #4
    Fanatic Member MetalKid's Avatar
    Join Date
    Aug 2005
    Location
    Green Bay, Wisconsin
    Posts
    534

    Re: How to call a Console Exe in vb.net 2003

    System.Diagnostics.Process.Start("Console.exe","Dir")
    If your problem is solved, please use the Mark Thread As Resolved under Thread Tools!

    Show Appreciation. Rate Posts!

  5. #5

    Thread Starter
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 2007
    Location
    South Africa
    Posts
    830

    Resolved Re: How to call a Console Exe in vb.net 2003

    Thank you , it is Resolved

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