• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Is it possible to run the GUI of another exe file in a MDI Child window?

I have a VB 6.0 application.  I want to run a seperate .exe file's GUI within this VB application's MDI child form.  Is it possible?  Thanks a lot.
1 Solution
Hi DMCLab,

Not effectively, you can use the SetParent api call if you can determine the hWnd of the other application's window. However it will not be a VB MDI Child window and you therefore would also have to handle the positioning of the window within the mdi form and any change in position or size of the other application window.

In essence it can be done to some extent but it does require a fair amount of work on your part, you cannot simply add it as a new mdi child unfortunately.

Tim Cottee
PAQed with no points refunded (of 125)

Community Support Moderator

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now