473,958 Members | 12,431 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Form App Within Another Windows Form App

I would like to run a windows form application (app2) within another
windows form application (app1). app2 should be displayed within a
certain area of the windows form of app1 (could be inside a panel or
similar). app1 does not need any control over app2 except for starting,
closing, hiding and showing it. Basically, app1 should look like being
a part of app2 despite the fact that they have no knowledge of each
other (except the app name, of course). Is this possible and if so how?

Thanks

Jan 3 '07 #1
4 2422
Maybe you should put the winform from the 2 applications to make it MDI
parent and child.

chanmm

<hu*******@yaho o.comwrote in message
news:11******** **************@ 11g2000cwr.goog legroups.com...
>I would like to run a windows form application (app2) within another
windows form application (app1). app2 should be displayed within a
certain area of the windows form of app1 (could be inside a panel or
similar). app1 does not need any control over app2 except for starting,
closing, hiding and showing it. Basically, app1 should look like being
a part of app2 despite the fact that they have no knowledge of each
other (except the app name, of course). Is this possible and if so how?

Thanks
Jan 4 '07 #2
I am writing app1 but app2 is an external app for which I only have the
executable. This app2 I want to integrate into my app1. How would that
be done?

Chan Ming Man wrote:
Maybe you should put the winform from the 2 applications to make it MDI
parent and child.

chanmm

<hu*******@yaho o.comwrote in message
news:11******** **************@ 11g2000cwr.goog legroups.com...
I would like to run a windows form application (app2) within another
windows form application (app1). app2 should be displayed within a
certain area of the windows form of app1 (could be inside a panel or
similar). app1 does not need any control over app2 except for starting,
closing, hiding and showing it. Basically, app1 should look like being
a part of app2 despite the fact that they have no knowledge of each
other (except the app name, of course). Is this possible and if so how?

Thanks
Jan 4 '07 #3
Mel
You can't unless the external application was specially written to do that.
<hu*******@yaho o.comwrote in message
news:11******** *************@5 1g2000cwl.googl egroups.com...
>I am writing app1 but app2 is an external app for which I only have the
executable. This app2 I want to integrate into my app1. How would that
be done?

Chan Ming Man wrote:
>Maybe you should put the winform from the 2 applications to make it MDI
parent and child.

chanmm

<hu*******@yah oo.comwrote in message
news:11******* *************** @11g2000cwr.goo glegroups.com.. .
>I would like to run a windows form application (app2) within another
windows form application (app1). app2 should be displayed within a
certain area of the windows form of app1 (could be inside a panel or
similar). app1 does not need any control over app2 except for starting,
closing, hiding and showing it. Basically, app1 should look like being
a part of app2 despite the fact that they have no knowledge of each
other (except the app name, of course). Is this possible and if so how?

Thanks

Jan 4 '07 #4
Thanks for your response.
What would the application (app1) to do so that it can be hosted in
another application (app2)?

Thanks

Mel wrote:
You can't unless the external application was specially written to do that.
<hu*******@yaho o.comwrote in message
news:11******** *************@5 1g2000cwl.googl egroups.com...
I am writing app1 but app2 is an external app for which I only have the
executable. This app2 I want to integrate into my app1. How would that
be done?

Chan Ming Man wrote:
Maybe you should put the winform from the 2 applications to make it MDI
parent and child.

chanmm

<hu*******@yaho o.comwrote in message
news:11******** **************@ 11g2000cwr.goog legroups.com...
I would like to run a windows form application (app2) within another
windows form application (app1). app2 should be displayed within a
certain area of the windows form of app1 (could be inside a panel or
similar). app1 does not need any control over app2 except for starting,
closing, hiding and showing it. Basically, app1 should look like being
a part of app2 despite the fact that they have no knowledge of each
other (except the app name, of course). Is this possible and if so how?

Thanks
Jan 5 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
73245
by: RAJ | last post by:
hi plz tell me how to know "how window is going to close"... i have to right code for X button of forms... plz telll me thanks bye
4
3994
by: Jeff Griffin | last post by:
OK, this should be my last question for the day. I have spent a couple hours on google trying to figure this out but I probibly just dont know what I really need to be searching for. I have a Windows Form program that calls a web service that will return (as a string) the full url to an image hosted on an external webserver. My question is how do I then display this image in my form, or is this even possible. It seems like it should be...
6
2649
by: billr | last post by:
I have developed a small API for taking care of a lot of boiler plate stuff in a multi formed windows application, for example setting up a messaging thread framework. New Forms, in the appllication using the API, are subclassed to a Form contained within the API, and they are controlled (controlled in this instance means, kept alive, displayed and hidden) at runtime by a thread whose responsibility is this sole task. In order to run...
5
1419
by: fernandez.dan | last post by:
Hi My question is how to change the view of my windows form. What I want to do is in my Windows Form is first ask the user some questions, when the user is done she pushes a button called next. Based on the input from the user, I would display the appropriate view on the form. I just don't how to do this. Should I create two panels(panel1 and
0
965
by: BodeColander | last post by:
Hello, I'm working on a user control (control A) that contains many controls within it (textboxes, a radio button, listboxes, comboboxes and a button - as well as a whack of labels). During a stage in the application, the form that contains the user control (form A, just say) is hidden when another form (form B) appears, and it can be re-dislayed by closing the form B. That's all find and good, except that form A does not retain the...
15
7110
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter every second. I remote desktop to the computer hosting this application and run the application. It starts up and displays the counter incrementing every second. If I disconnect the network cable between the two computers for 10 seconds and...
21
3422
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters a zipcode that is unknown this form will open. I don't want users to modify any of this customers data until they close the zipcode form. Normally this can accomplished using a modal form, however this prevents me from opening a new copy of...
7
4859
by: =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post by:
I have a windows application with multiple forms & another web application. Now I need a parent EXE or Application which need to act as a container to these application. Example : My existing Web application : http://localhost/MyApp/Default.aspx My existing Win Application : existingWinApp.exe New Parent WinApp : NewWinApp.exe My new winapp will have a menu & below which I will have a form holder.
9
1816
by: Scott Stark | last post by:
Hello, I'm *just* delving into Windows forms-based programming without the benefit of any books, etc. I have a background in light ASP.NET work, so forgive me if this is a really basic question related to Windows GUI. I've created a "Form1.vb" file in my project, added a menustrip, etc. When a user clicks on a menu item, how do I get it to show a new form in the same window?
0
10046
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11667
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11447
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8337
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7498
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6282
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
5023
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.