Results 1 to 4 of 4

Thread: [RESOLVED] [2005] Calling external command line

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    38

    Resolved [RESOLVED] [2005] Calling external command line

    In VS 2005 Express, what is the object used to call an external program?
    an example command line would be:
    "msiexec.exe /i /q {more parameters here} /switches"

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Calling external command line

    Use the Process.Start method. Note that the file to be executed and the commandline arguments are passes as separate parameters to Process.Start.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Hyperactive Member koolprasad2003's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    443

    Thumbs up Re: [2005] Calling external command line

    hello frnd,

    just use the

    system.diagonastic.process.start("Process Name")

    or u can also use the

    shell("Command")


    regards,
    koolprasad2003

  4. #4

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    38

    Re: [RESOLVED] [2005] Calling external command line

    thank you

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