multi projects in one solution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • afshinf
    New Member
    • Mar 2008
    • 2

    multi projects in one solution

    Hi all
    I have 2 projects in my solution in vb2005
    project one has form1 which has a button and by clicking that it opens the form2 in project2
    my problem is by opening this form i use the form1.hide
    but from form2 i dont know how to call the form1 to show

    i appriciate if any of you could help me in this matter
  • VBWheaties
    New Member
    • Feb 2008
    • 145

    #2
    Originally posted by afshinf
    Hi all
    I have 2 projects in my solution in vb2005
    project one has form1 which has a button and by clicking that it opens the form2 in project2
    my problem is by opening this form i use the form1.hide
    but from form2 i dont know how to call the form1 to show

    i appriciate if any of you could help me in this matter
    You can add a property or variable of type form1 to form2. then, simply use the property or variable to access form1 methods.

    Comment

    • afshinf
      New Member
      • Mar 2008
      • 2

      #3
      hi
      maybe I couldnt explain my problem properly
      lets say, if i add 2 project in one solution
      we know that we can have access to forms of project2 from project1 by adding refrence to project1
      question is how we can have access to forms of project1 from project2

      Comment

      Working...