K
Kevin
Hi!
It's possible to Host a exe application in a winform?
Thanks
It's possible to Host a exe application in a winform?
Thanks
Hi!
It's possible to Host a exe application in a winform?
Thanks
Hi CoolCoder,
I found this article:http://www.codeproject.com/cs/miscctrl/AppControl.asp
Franck said:using System.Threading;
private void Startnewformthread()
{
frmMyform frm = new frmMyform();
frm.Show();
//here do a loop while the form exist, just be sure to put a
DoEvents
//and a certain pause timer to not make it run 100000 times per
second
//for sleep use this : System.Threading.Thread.Sleep(1000);
//1000 = 1 second
}
somewhere in the code
Thread t = new Thread(new ThreadStart(Startnewformthread));
t.Start();