Solved

MDI FORMS

Posted on 1998-10-19
2
215 Views
Last Modified: 2011-09-20
Is it possible to place an application, such as Word, within an MDI Form?
0
Comment
Question by:NeedAnswer
2 Comments
 
LVL 14

Accepted Solution

by:
waty earned 50 total points
ID: 1440578
It is possible to do that, using the API SetParent. Using this API, you tell that the parent of an external application is your application. I have never do that with Word, but with Crystal Report, it works.

Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

0
 
LVL 1

Expert Comment

by:wford
ID: 1440579
Isn't word an MDI form already, in which case, I don't belive windows allows this.

I could be wrong though :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now