Solved

application and my app

Posted on 2006-11-12
1
160 Views
Last Modified: 2010-04-05
hi all,
how are you?
I want to run another application and fix that into my form.
Yes, i can run an application by apishell, but how can i fix it into my application? i don't want to see 2 windows.
thanks alot.
0
Comment
Question by:tnhphuong
1 Comment
 
LVL 4

Accepted Solution

by:
tobjectpascal earned 250 total points
ID: 17928463
Add a Panel onto your Form.

procedure TForm1.Button1Click(Sender: TObject);
Var
 H: HWnd;
begin
 H:=FindWindow('notepad',nil);
 If H<>0 Then
  Begin
    Windows.SetParent(H,Form1.Panel1.Handle);      SendMessage(Form1.Panel1.Handle,wm_command,SC_MAXIMIZE,0);
  End;
end;
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

706 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

15 Experts available now in Live!

Get 1:1 Help Now