|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Use items from....... a project from another project in the same solution? I've got tweo
projects with forms in each. What I want to do is open one form in project 2 from a form in project 1. I've looked but can't find the info on how to do that. Any help would be nice. Thanks Denis In the project you want to open the form from the other project, add an
Imports statement at the top of the module where you want to open the form, i.e., Imports Project2 -- Show quoteHide quoteDennis in Houston "Denis Voyer" wrote: > .... a project from another project in the same solution? I've got tweo > projects with forms in each. What I want to do is open one form in project 2 > from a form in project 1. I've looked but can't find the info on how to do > that. Any help would be nice. Thanks > > Denis > > > Hey Dennis,
Clicked the wrong reply button, you'll be getting this in a email, lol sorry. Anyways, I tried that but it says that the namespace is cannot be found. It doesn't even show up in the intell. Is there something I should be doing for it to see the project? Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... > In the project you want to open the form from the other project, add an > Imports statement at the top of the module where you want to open the > form, > i.e., Imports Project2 > -- > Dennis in Houston > > > "Denis Voyer" wrote: > >> .... a project from another project in the same solution? I've got tweo >> projects with forms in each. What I want to do is open one form in >> project 2 >> from a form in project 1. I've looked but can't find the info on how to >> do >> that. Any help would be nice. Thanks >> >> Denis >> >> >> When you type the word "Imports" then a space, does your projects name show
up in Intellisense? -- Show quoteHide quoteDennis in Houston "Denis Voyer" wrote: > Hey Dennis, > > Clicked the wrong reply button, you'll be getting this in a email, lol > sorry. Anyways, I tried that but it says that the namespace is cannot be > found. It doesn't even show up in the intell. Is there something I should be > doing for it to see the project? > > > "Dennis" <Den***@discussions.microsoft.com> wrote in message > news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... > > In the project you want to open the form from the other project, add an > > Imports statement at the top of the module where you want to open the > > form, > > i.e., Imports Project2 > > -- > > Dennis in Houston > > > > > > "Denis Voyer" wrote: > > > >> .... a project from another project in the same solution? I've got tweo > >> projects with forms in each. What I want to do is open one form in > >> project 2 > >> from a form in project 1. I've looked but can't find the info on how to > >> do > >> that. Any help would be nice. Thanks > >> > >> Denis > >> > >> > >> > > > No it doesn't. That's the part I don't get. The first one does but not the
second. Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:F4401AB7-A32F-4E2F-AD7D-C815E393FE85@microsoft.com... > When you type the word "Imports" then a space, does your projects name > show > up in Intellisense? > -- > Dennis in Houston > > > "Denis Voyer" wrote: > >> Hey Dennis, >> >> Clicked the wrong reply button, you'll be getting this in a email, lol >> sorry. Anyways, I tried that but it says that the namespace is cannot be >> found. It doesn't even show up in the intell. Is there something I should >> be >> doing for it to see the project? >> >> >> "Dennis" <Den***@discussions.microsoft.com> wrote in message >> news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... >> > In the project you want to open the form from the other project, add an >> > Imports statement at the top of the module where you want to open the >> > form, >> > i.e., Imports Project2 >> > -- >> > Dennis in Houston >> > >> > >> > "Denis Voyer" wrote: >> > >> >> .... a project from another project in the same solution? I've got >> >> tweo >> >> projects with forms in each. What I want to do is open one form in >> >> project 2 >> >> from a form in project 1. I've looked but can't find the info on how >> >> to >> >> do >> >> that. Any help would be nice. Thanks >> >> >> >> Denis >> >> >> >> >> >> >> >> >> Try removing the 2nd project then readding it as another project to the
solution or, try adding a reference to it. -- Show quoteHide quoteDennis in Houston "Denis Voyer" wrote: > No it doesn't. That's the part I don't get. The first one does but not the > second. > > "Dennis" <Den***@discussions.microsoft.com> wrote in message > news:F4401AB7-A32F-4E2F-AD7D-C815E393FE85@microsoft.com... > > When you type the word "Imports" then a space, does your projects name > > show > > up in Intellisense? > > -- > > Dennis in Houston > > > > > > "Denis Voyer" wrote: > > > >> Hey Dennis, > >> > >> Clicked the wrong reply button, you'll be getting this in a email, lol > >> sorry. Anyways, I tried that but it says that the namespace is cannot be > >> found. It doesn't even show up in the intell. Is there something I should > >> be > >> doing for it to see the project? > >> > >> > >> "Dennis" <Den***@discussions.microsoft.com> wrote in message > >> news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... > >> > In the project you want to open the form from the other project, add an > >> > Imports statement at the top of the module where you want to open the > >> > form, > >> > i.e., Imports Project2 > >> > -- > >> > Dennis in Houston > >> > > >> > > >> > "Denis Voyer" wrote: > >> > > >> >> .... a project from another project in the same solution? I've got > >> >> tweo > >> >> projects with forms in each. What I want to do is open one form in > >> >> project 2 > >> >> from a form in project 1. I've looked but can't find the info on how > >> >> to > >> >> do > >> >> that. Any help would be nice. Thanks > >> >> > >> >> Denis > >> >> > >> >> > >> >> > >> > >> > >> > > > Yeah I did that a couple of times and it still didn't go into the
Intellisense and I tried putting a refference to it through the resorces and it says that a project must have a .dll file in order to be refferenced. So I took a look at some sample progies I had in a folder and it does have an inbetween project with a dll file that works with two other projects so maybe that's what I have to do; create a project that can talk to more than one project in a solution? Seems a lot of work just to talk between projects but I'll keep looking I guess. There's got to be a simpler solution to this, along the lines of what you suggested. Is there a setting that I may not have to make all of this work properly? Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:227F3063-E158-4431-8437-E078CD10D4EC@microsoft.com... > Try removing the 2nd project then readding it as another project to the > solution or, try adding a reference to it. > -- > Dennis in Houston > > > "Denis Voyer" wrote: > >> No it doesn't. That's the part I don't get. The first one does but not >> the >> second. >> >> "Dennis" <Den***@discussions.microsoft.com> wrote in message >> news:F4401AB7-A32F-4E2F-AD7D-C815E393FE85@microsoft.com... >> > When you type the word "Imports" then a space, does your projects name >> > show >> > up in Intellisense? >> > -- >> > Dennis in Houston >> > >> > >> > "Denis Voyer" wrote: >> > >> >> Hey Dennis, >> >> >> >> Clicked the wrong reply button, you'll be getting this in a email, lol >> >> sorry. Anyways, I tried that but it says that the namespace is cannot >> >> be >> >> found. It doesn't even show up in the intell. Is there something I >> >> should >> >> be >> >> doing for it to see the project? >> >> >> >> >> >> "Dennis" <Den***@discussions.microsoft.com> wrote in message >> >> news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... >> >> > In the project you want to open the form from the other project, add >> >> > an >> >> > Imports statement at the top of the module where you want to open >> >> > the >> >> > form, >> >> > i.e., Imports Project2 >> >> > -- >> >> > Dennis in Houston >> >> > >> >> > >> >> > "Denis Voyer" wrote: >> >> > >> >> >> .... a project from another project in the same solution? I've got >> >> >> tweo >> >> >> projects with forms in each. What I want to do is open one form in >> >> >> project 2 >> >> >> from a form in project 1. I've looked but can't find the info on >> >> >> how >> >> >> to >> >> >> do >> >> >> that. Any help would be nice. Thanks >> >> >> >> >> >> Denis >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Ok after asking about the settings I went in to see what was different in
that one progy that worked. I found that the "Output Type" in the proerties Pages has to be set to "Class Library" first and then it can be added as a Reference in the project you wish to use it from. The nice thing about it is that this setting does not interfear with the continueity of the project, everything will still work as before in that project. So there you go if anyone has this problem that's how you fix it. :-) Thanks for the help Dennis. (Love the name btw) ;-) Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:227F3063-E158-4431-8437-E078CD10D4EC@microsoft.com... > Try removing the 2nd project then readding it as another project to the > solution or, try adding a reference to it. > -- > Dennis in Houston > > > "Denis Voyer" wrote: > >> No it doesn't. That's the part I don't get. The first one does but not >> the >> second. >> >> "Dennis" <Den***@discussions.microsoft.com> wrote in message >> news:F4401AB7-A32F-4E2F-AD7D-C815E393FE85@microsoft.com... >> > When you type the word "Imports" then a space, does your projects name >> > show >> > up in Intellisense? >> > -- >> > Dennis in Houston >> > >> > >> > "Denis Voyer" wrote: >> > >> >> Hey Dennis, >> >> >> >> Clicked the wrong reply button, you'll be getting this in a email, lol >> >> sorry. Anyways, I tried that but it says that the namespace is cannot >> >> be >> >> found. It doesn't even show up in the intell. Is there something I >> >> should >> >> be >> >> doing for it to see the project? >> >> >> >> >> >> "Dennis" <Den***@discussions.microsoft.com> wrote in message >> >> news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... >> >> > In the project you want to open the form from the other project, add >> >> > an >> >> > Imports statement at the top of the module where you want to open >> >> > the >> >> > form, >> >> > i.e., Imports Project2 >> >> > -- >> >> > Dennis in Houston >> >> > >> >> > >> >> > "Denis Voyer" wrote: >> >> > >> >> >> .... a project from another project in the same solution? I've got >> >> >> tweo >> >> >> projects with forms in each. What I want to do is open one form in >> >> >> project 2 >> >> >> from a form in project 1. I've looked but can't find the info on >> >> >> how >> >> >> to >> >> >> do >> >> >> that. Any help would be nice. Thanks >> >> >> >> >> >> Denis >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Sorry, didn't know you were trying to add two applications to the same
project. Suspect you can't do this because each may have it's own start-up form. -- Show quoteHide quoteDennis in Houston "Denis Voyer" wrote: > Ok after asking about the settings I went in to see what was different in > that one progy that worked. I found that the "Output Type" in the proerties > Pages has to be set to "Class Library" first and then it can be added as a > Reference in the project you wish to use it from. The nice thing about it is > that this setting does not interfear with the continueity of the project, > everything will still work as before in that project. So there you go if > anyone has this problem that's how you fix it. :-) > > Thanks for the help Dennis. (Love the name btw) ;-) > > "Dennis" <Den***@discussions.microsoft.com> wrote in message > news:227F3063-E158-4431-8437-E078CD10D4EC@microsoft.com... > > Try removing the 2nd project then readding it as another project to the > > solution or, try adding a reference to it. > > -- > > Dennis in Houston > > > > > > "Denis Voyer" wrote: > > > >> No it doesn't. That's the part I don't get. The first one does but not > >> the > >> second. > >> > >> "Dennis" <Den***@discussions.microsoft.com> wrote in message > >> news:F4401AB7-A32F-4E2F-AD7D-C815E393FE85@microsoft.com... > >> > When you type the word "Imports" then a space, does your projects name > >> > show > >> > up in Intellisense? > >> > -- > >> > Dennis in Houston > >> > > >> > > >> > "Denis Voyer" wrote: > >> > > >> >> Hey Dennis, > >> >> > >> >> Clicked the wrong reply button, you'll be getting this in a email, lol > >> >> sorry. Anyways, I tried that but it says that the namespace is cannot > >> >> be > >> >> found. It doesn't even show up in the intell. Is there something I > >> >> should > >> >> be > >> >> doing for it to see the project? > >> >> > >> >> > >> >> "Dennis" <Den***@discussions.microsoft.com> wrote in message > >> >> news:6AFDE40D-8871-4A29-A478-B083091BA427@microsoft.com... > >> >> > In the project you want to open the form from the other project, add > >> >> > an > >> >> > Imports statement at the top of the module where you want to open > >> >> > the > >> >> > form, > >> >> > i.e., Imports Project2 > >> >> > -- > >> >> > Dennis in Houston > >> >> > > >> >> > > >> >> > "Denis Voyer" wrote: > >> >> > > >> >> >> .... a project from another project in the same solution? I've got > >> >> >> tweo > >> >> >> projects with forms in each. What I want to do is open one form in > >> >> >> project 2 > >> >> >> from a form in project 1. I've looked but can't find the info on > >> >> >> how > >> >> >> to > >> >> >> do > >> >> >> that. Any help would be nice. Thanks > >> >> >> > >> >> >> Denis > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> > >> > >> > > >
UTF8 Encoding and MP3 tags
SQL Statement for limiting the number of detail retrieved in Access 2000? Combining a date value with a time value SQL DISTINCT COUNT Constant - InDebugMode error Single Sign On / Authentication System? Deploying programs with net framework 2 onto framework 1 What does instantText mean in Edit method of DataGridColumnStyle Binding a Text Box |
|||||||||||||||||||||||