473,586 Members | 2,870 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 6347
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.co m
"Shiva Ramani" <Sh*********@di scussions.micro soft.comwrote in message
news:86******** *************** ***********@mic rosoft.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 capture events from the IE at the windows form level. Can you point me to any hints, sample code? Thanks in advance Sammy
2
12595
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 Word). How do i do that ? Thanks
2
1568
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 xxx.Control.Add(label). Sure I can pass this.Control in parameter in my constructor from my windows form and it works, but I don't want to do that. ...
4
13349
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
1438
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 process.start but by using this the notepad will start as an individual application.I want notepad to show inside a form or in a control inside the form....
7
1885
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 mouse button so that I can move the Form, the Form "jumps" about an inch to the bottom. This only happens when the Form opens up inside an Mdi. ...
3
1915
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 tabpage inside it..i want to load the form of first application inside the tabpage of second application.. so that it feels like the first application...
5
13012
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 textbox keypress event. I got the following error msg: {"SendKeys cannot run inside this application because the application is not handling...
14
2954
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 reason you would want to do this is for example to trigger something from an OnPaint event without resorting to boolean switches-- say if a user...
7
4840
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 :...
0
7911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
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...
1
7954
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...
0
8215
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...
1
5710
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...
0
5390
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...
1
2345
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
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.