Is it Possible to Call a Windows Form from another Project within a Solution I'm using VB.NET

I have 2 projects in the Solution1. Both projects have Windows Application Form in it. I want the button in the form1 in Project1 to call another form1 from the Project2.

Is this Possible

Can You suggest ways of doing these...

Thank You



Answer this question

Is it Possible to Call a Windows Form from another Project within a Solution I'm using VB.NET

  • Buda56

    Hi,

    Add Refrence to Project2 from Add Reference > Project tab, Use following code to call the form

    Dim F1 As New WindowsApplication2.Form1

    F1.Show

    ========================
    Atanu



  • Cesar Francisco

    ok. Thanks a lot! i'll try it..


  • Is it Possible to Call a Windows Form from another Project within a Solution I'm using VB.NET