Sending parameters or calling functions from another project in a slution

softhard

Active member
Joined
Sep 29, 2012
Messages
35
Programming Experience
Beginner
Hi,
I have two different projects located in one solution. I try to access the functions from another project to my current project but i am allowed to use only structures and enumerations. How can i access the functions which are in another project.

let say i have project1 and project2 in a solution. In project1, i try to write like this

project2.calssname.AND HERE IT SHOULD NOT SHOWING ME THE FUNCTIONS AVALILABLE IN IT....?

I know, i can access functions from a dll but how can i access from another project in the same solution.
 
project2.calssname.AND HERE IT SHOULD NOT SHOWING ME THE FUNCTIONS AVALILABLE IN IT....?
That would work if the member is Shared. If it is not shared you must create an instance of 'calssname' before calling the instance member.
Regardless the member must also have Public access modifier to be accessible from outside the assembly.
 
Back
Top