?
Solved

working with 2 project in 1 solution

Posted on 2009-03-31
1
Medium Priority
?
138 Views
Last Modified: 2012-05-06
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
Comment
Question by:sayeth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
RPCIT earned 1500 total points
ID: 24034682
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question