Click to See Complete Forum and Search --> : Displaying other proggies


January 5th, 2000, 02:23 PM
Is there any way to make a program run in a VB window?

Ruth Glushkin
January 6th, 2000, 01:13 AM
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!

Chris Eastwood
January 6th, 2000, 02:28 AM
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