Home All Groups Group Topic Archive Search About
Author
24 Sep 2006 6:33 AM
Denis Voyer
.... 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

Author
24 Sep 2006 2:50 PM
Dennis
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


Show quoteHide quote
"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
>
>
>
Author
24 Sep 2006 5:25 PM
Denis Voyer
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
>>
>>
>>
Author
24 Sep 2006 10:48 PM
Dennis
When you type the word "Imports" then a space, does your projects name show
up in Intellisense?
--
Dennis in Houston


Show quoteHide quote
"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
> >>
> >>
> >>
>
>
>
Author
24 Sep 2006 11:24 PM
Denis Voyer
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
>> >>
>> >>
>> >>
>>
>>
>>
Author
26 Sep 2006 12:30 AM
Dennis
Try removing the 2nd project then readding it as another project to the
solution or, try adding a reference to it.
--
Dennis in Houston


Show quoteHide quote
"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
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
Author
26 Sep 2006 12:50 AM
Denis Voyer
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
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>
Author
26 Sep 2006 3:26 AM
Denis Voyer
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
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>
Author
26 Sep 2006 10:39 PM
Dennis
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.
--
Dennis in Houston


Show quoteHide quote
"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
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>