• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

working with 2 project in 1 solution

Solution  WindowsApplication1
    --Project1
           clsA.vb
           clsB.vb
            Form1B.vb
    --Project2
           clsC.vb
           Form1B.vb
Public Class clsA
  Public x As Integer
End Class

Public Class Form1
    Private Sub anySub()
       Dim y As New Integer
       'i m trying to set clsA.x = y
    End Sub
End Class      
0
sayeth
Asked:
sayeth
1 Solution
 
RPCITCommented:
Not sure what your looking for, but when using multiple projects, you need to add references between them.  Usually from your "host" project, you would add a reference to the "client" project, but you may need to reference both to each other.  Do this by right clicking on the project in solution explorer and click Add Reference.  Then choose the project from the Projects tab.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now