Solved

working with 2 project in 1 solution

Posted on 2009-03-31
1
132 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
1 Comment
 
LVL 6

Accepted Solution

by:
RPCIT earned 500 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now