Solved

application and my app

Posted on 2006-11-12
1
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month3 days, 21 hours left to enroll

630 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