473,509 Members | 7,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run a .net exe inside a windows form

I need to run a .net application (.net winapp with multiple forms) inside a
main C# windows application - form which should be the container of the above
application
Jul 1 '08 #1
1 6344
Shiva,

If the application does not expose it's main form from it's EXE, and the
constructor of the form is not where the real work happens, then you really
have to run the program and try setting the parent of the window to your
app. It's not clean, and you are going to have some problems with it, I
believe.

If you have knowledge of the app and can reference the EXE/DLLs, then
you can just create the instances of the forms you need and then parent them
to your MDI container.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Shiva Ramani" <Sh*********@discussions.microsoft.comwrote in message
news:86**********************************@microsof t.com...
>I need to run a .net application (.net winapp with multiple forms) inside a
main C# windows application - form which should be the container of the
above
application

Jul 1 '08 #2

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

Similar topics

1
465
by: SammyBar | last post by:
Hi all, I'd like to use html/xml/xsl for rendering views in a windows form client. I assume I should embed IE inside a windows form in order to show the form inside a MDI form. I should also...
2
12591
by: developer | last post by:
I have a form with a menu on the top. This menu show another form. I want to open this second form maximized inside the parent form just below the menu of the parent form. (Like Microsoft...
2
1564
by: Efkas | last post by:
I have a Win Form app, calling the consctructor of a class. Inside the class, I declare some stuff like new Label, etc. I want to add this label inside the constructor in the windows form by...
4
13345
by: Toze | last post by:
I'm using a assembly to load my apllication (ex: Mobi.exe), and now I need to list all forms in my apllication and list all controls (ex: txtname;btnname) inside of each form.
0
1427
by: arunrsivaram | last post by:
Hi, I am using visual studio.net 2003 and I am working on a windows application project.I would like to know if it is possible to open a notepad inside a windows form.I tried both shell and...
7
1879
by: Doc John | last post by:
I created a non-rectangular Windows Form which opens inside of an MDI container and I'm managing the MouseMove and MouseDown events with the following code. The problem is that when I click on the...
3
1910
by: lazycoder207 | last post by:
hello, i have a windows application which is fully self sufficient..it has a form with a few controls and the usual event handling... i made another windows application with a tabcontrol with a...
5
12971
by: =?Utf-8?B?U3JpbWFu?= | last post by:
Hi, We are launching .net window from vb6 form. In .net form tabbing(tab out from one control to another control) was not working. for that i have written a code like Sendkeys.send("{TAB}") in the...
14
2937
by: raylopez99 | last post by:
KeyDown won't work KeyPress fails KeyDown not seen inspired by a poster here:http://tinyurl.com/62d97l I found some interesting stuff, which I reproduce below for newbies like me. The main...
7
4835
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...
0
7137
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...
1
7073
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...
0
7506
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...
1
5062
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...
0
3218
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...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1571
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 ...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.