CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Displaying other proggies

    Is there any way to make a program run in a VB window?


  2. #2
    Join Date
    Dec 1999
    Location
    Israel
    Posts
    101

    Re: Displaying other proggies

    If you mean to run another exe, use Shell() function, if you mean load another program into VB Window
    itself, you can use DDE / OLE methods to create reference to the corresponding object.

    Good Luck!


  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Displaying other proggies

    If you can find the 'hwnd' of the program that's running, you can make it appear within a VB form (MDI or otherwise) using the SetParent API (although it does get a bit clunky with form positioning).


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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