Opening a .exe file from within another.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bean41
    New Member
    • Apr 2007
    • 3

    Opening a .exe file from within another.

    Hello,

    I am trying to create a program that asks that user to enter a user name and their password, which then allows them to install a setup file.

    I have programed up the password and username windows. My problem is now opening the Setup.exe from the program. I have tried using a OLE control and linking it with the file, but when it runs it comes up telling me "Out Of Memory".

    If anyone can help please can you tell me if it is possible to open a .exe file from within another .exe file.

    At the moment, I am using Visual Basic 5, but if it would be easier to code up with another program, then I would be willing to learn.

    Thanks
  • iburyak
    Recognized Expert Top Contributor
    • Nov 2006
    • 1016

    #2
    Use Shell function in VB.

    Comment

    • bean41
      New Member
      • Apr 2007
      • 3

      #3
      Originally posted by iburyak
      Use Shell function in VB.
      Thank you very much for you help

      Comment

      Working...