473,395 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
Sep 24 '06 #1
8 863
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
Sep 24 '06 #2
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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.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

Sep 24 '06 #3
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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.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


Sep 24 '06 #4
No it doesn't. That's the part I don't get. The first one does but not the
second.

"Dennis" <De****@discussions.microsoft.comwrote in message
news:F4**********************************@microsof t.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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microso ft.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



Sep 24 '06 #5
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" <De****@discussions.microsoft.comwrote in message
news:F4**********************************@microsof t.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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.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



Sep 26 '06 #6
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?

"Dennis" <De****@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.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" <De****@discussions.microsoft.comwrote in message
news:F4**********************************@microso ft.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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microso ft.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




Sep 26 '06 #7
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" <De****@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.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" <De****@discussions.microsoft.comwrote in message
news:F4**********************************@microso ft.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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microso ft.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




Sep 26 '06 #8
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
"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" <De****@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.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" <De****@discussions.microsoft.comwrote in message
news:F4**********************************@microsof t.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" <De****@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.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




Sep 26 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Donnal Walter | last post by:
The following method is defined in one of my classes: def setup(self, items={}): """perform setup based on a dictionary of items""" if 'something' in items: value = items # now do something...
3
by: Wayne Wengert | last post by:
I am trying to populate a combobox with a lisy of items. I want the 1st item to be "Make a Selection" and the following items will be names from a table in my DB (See code below). When I run the...
2
by: dave | last post by:
This little problem is driving me nuts!! On my webform page I create 2 variables.. Protected p_dml As String = "I" Public Const mwv_id As Integer = 0 ' originally had mwv_id as Protected
1
by: sneha123 | last post by:
There will be some 20 questions and for each question there will be 4 choices.what i want to do is to select multiple answers by clicking the checkbox. i m using asp.net,vb.net pls help me we...
3
by: Dany P. Wu | last post by:
Hi everyone, One of my Windows forms contain two listbox controls, with Add and Remove buttons between them. The idea is to allow users to select multiple items from one ListBox, click the...
2
by: hsuntn | last post by:
I am grabbing Outlook MailItems using the Items property on my Outlook inbox. When I iterate through them, I notice that they are not ordered in ReceivedTime or CreationTime order. For example, ...
0
by: Brian Henry | last post by:
Since no one else knew how to do this I sat here all morning experimenting with this and this is what I came up with... Its an example of how to get a list of items back from a virtual mode list...
5
by: Phill W. | last post by:
(VB'2003) What's the correct way to remove multiple, selected items from a ListView control (say, from a ContextMenu)? I ask because I'm getting a very annoying ArgumentOutOfRangeException...
13
by: Joel Koltner | last post by:
Is there an easy way to get a list comprehension to produce a flat list of, say, for each input argument? E.g., I'd like to do something like: for x in range(4) ] ....and receive
13
by: PetterL | last post by:
I writing a program where I read menu items from a file. But I have problem when I click an menu item i want it to mark that one as checked but I cant access the menu object of that item to see...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.