May 21st, 2007, 12:08 PM
#1
Thread Starter
Junior Member
How using two projects in the same solution?
Hi
i try to use two projects in the same solution.
But i can't pass from my first project to my second project !
In my first project i use :
dim Mytest as new projectTwo.xxx
and i have that message "projectTwo.xxx is not defined"
Do i need any imports or whatever ?
Thanks.
May 21st, 2007, 12:29 PM
#2
Re: How using two projects in the same solution?
Right click on project 1's references folder, choose add reference, go to the projects tab, and select project 2.
May 21st, 2007, 01:00 PM
#3
Thread Starter
Junior Member
Re: How using two projects in the same solution?
thak you for your help.
But now i have that message:
"a reference to 'ProjectTwo' could not be added. An assembly must have a 'dll' extension in order to be referenced"
May 21st, 2007, 01:08 PM
#4
Fanatic Member
Re: How using two projects in the same solution?
Right Click on ProjectTwo, Properties, and change the output type to 'Class Library.'
VB.Net 2008
.Net Framework 2.0
"Must you breathe? 'Cause I need heaven..."
May 21st, 2007, 01:43 PM
#5
Thread Starter
Junior Member
Re: How using two projects in the same solution?
thanks.
now i have my projectTwo underlines with that message:
"type expected" ????
May 21st, 2007, 02:56 PM
#6
Fanatic Member
Re: How using two projects in the same solution?
What exactly are you typing there?
dim Mytest as new projectTwo.Form1?
or something like that?
VB.Net 2008
.Net Framework 2.0
"Must you breathe? 'Cause I need heaven..."
May 21st, 2007, 03:45 PM
#7
Thread Starter
Junior Member
Re: How using two projects in the same solution?
I need to check my Dongle.
my program is in my first project and my Dongle is in my second project.
there are my codes, that should be easier....
thanks.
Attached Files
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width