CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    47

    Arrow calling another vb exe from a vb program

    I have one VB program abc.exe, I want to call another VB program xyz.exe when a menu item is clicked from abc.exe.

    xyz.exe has its own forms (3 forms)

    thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: calling another vb exe from a vb program

    Any reason why? What have you tried? What's the problem?

    You should be able to call a program, and pass any parameters, unless you're talking about iexplore.exe or something
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2008
    Posts
    47

    Re: calling another vb exe from a vb program

    Thanks dglienna for this fast reply
    I did'nt think it is so easy

    Shell App.Path & "\project1.exe" , vbHide

    worked

    One more doubt, can we create formless vb application (VB6)

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: calling another vb exe from a vb program

    Why would you want that? Could be very evil, so give a good reason...
    We might be able to help
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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