You can do this, as long as you put your second project forms in a .dll
instead of a .exe (class library for example).
OR you could use reflection to load an exe.
Here's sample code.
Dim dude As [Assembly]
dude = System.Reflection.Assembly.LoadFile("C:\Documents and
Settings\smalik\My Documents\Visual Studio
Projects\Solution1\WindowsApplication2\bin\Windows Application2.exe")
Dim frm2 As System.Windows.Forms.Form =
dude.CreateInstance("WindowsApplication2.Form1")
frm2.Show()
Thats it.
- Sahil Malik
Independent Consultant.
"Tony Dong" <it****@hotmail.com> wrote in message
news:O2*************@TK2MSFTNGP10.phx.gbl...
Hi There
I have two vb.net window projects made by vb.net, when I run one project
and click a button in this project window form, how can I call other project
window form ?
Thanks
Tony