hi
i have a problem here..hope u guys can help me..
i have two projects p1 n p2 in vb.net windows application..
what i want to do is link these two projects such that when i click
a button in form1 of p1 it goes to form2 of p2...help please....
thanks in advance

Recommended Answers

All 6 Replies

Copy the code in same directory, make sure they do not have form with same name. create a new project with all files.

m sorry m new at this so not able to get what u r trying to say...
i should place p1and p2 (projects) in same directory ...
And then what should i be doing create a new project with all files ...which all files....can u be please more ellaborate ..can u please explain it with more detail...

Copy the code in same directory, make sure they do not have form with same name. create a new project with all files.

Are both the projects part of a single solution ?

Are both the projects part of a single solution ?

yes..

yes..

i have created both the projects n have stored it in same directory..what should i be doing next..

In Visual Studio's Solution Explorer Panel, drag the form in P2 and drop it on P1 and that way both forms will be in the same project.

Now it should be easy to load form 2 from form 1.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.