473,396 Members | 1,786 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,396 software developers and data experts.

Multi project solution

Hello.
Propably a simple question :

I have a multi project solution in vb.net.
In detail, i have a project "Main" and projects A,B,C.

How can I switch between projects ???

Thanks in advance,
Vasilis
Nov 21 '05 #1
6 1957
Depends on what you mean with 'switch'.

You can right-click on a project in the solution-exploror and select 'Set as
Startup Propject'.

"Vasilis X" <so*****@somewhere.com> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello.
Propably a simple question :

I have a multi project solution in vb.net.
In detail, i have a project "Main" and projects A,B,C.

How can I switch between projects ???

Thanks in advance,
Vasilis

Nov 21 '05 #2
I don't want on design time but when my app is running.
Project Main will work as a menu and from there I want to run project B and
project C and so on...
"Qwert" <no**@nosp.com> wrote in message
news:L_********************@casema.nl...
Depends on what you mean with 'switch'.

You can right-click on a project in the solution-exploror and select 'Set
as Startup Propject'.

"Vasilis X" <so*****@somewhere.com> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello.
Propably a simple question :

I have a multi project solution in vb.net.
In detail, i have a project "Main" and projects A,B,C.

How can I switch between projects ???

Thanks in advance,
Vasilis


Nov 21 '05 #3
"Vasilis X" <so*****@somewhere.com> schrieb:
I don't want on design time but when my app is running.
Project Main will work as a menu and from there I want to run project B
and project C and so on...


If projects 'A', 'B', and 'C' are class library projects (you can change
that in the project properties), you can reference the class library
projects from your main EXE project (select the EXE project in solution
explorer and choose "Add reference..." from its context menu.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4
Maybe I misunderstand, but I think you should rephrase your question. A
'project' and an 'application'are 2 different things. You can't 'run' a
project, only an application. A project can be of the output-type
'executable', but it is not one. When you build the project, the result may
be an executable.

All of your projects are output-type 'executable', and from one of them you
want execute other ones? Or some are 'class libraries'?
I don't want on design time but when my app is running.
Project Main will work as a menu and from there I want to run project B
and project C and so on...
"Qwert" <no**@nosp.com> wrote in message
news:L_********************@casema.nl...
Depends on what you mean with 'switch'.

You can right-click on a project in the solution-exploror and select 'Set
as Startup Propject'.

"Vasilis X" <so*****@somewhere.com> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello.
Propably a simple question :

I have a multi project solution in vb.net.
In detail, i have a project "Main" and projects A,B,C.

How can I switch between projects ???

Thanks in advance,
Vasilis



Nov 21 '05 #5
All of my projects are output-type "executable" and from them
I want to execute others.
"Qwert" <no**@nosp.com> wrote in message
news:t7********************@casema.nl...
Maybe I misunderstand, but I think you should rephrase your question. A
'project' and an 'application'are 2 different things. You can't 'run' a
project, only an application. A project can be of the output-type
'executable', but it is not one. When you build the project, the result
may be an executable.

All of your projects are output-type 'executable', and from one of them
you want execute other ones? Or some are 'class libraries'?
I don't want on design time but when my app is running.
Project Main will work as a menu and from there I want to run project B
and project C and so on...
"Qwert" <no**@nosp.com> wrote in message
news:L_********************@casema.nl...
Depends on what you mean with 'switch'.

You can right-click on a project in the solution-exploror and select
'Set as Startup Propject'.

"Vasilis X" <so*****@somewhere.com> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello.
Propably a simple question :

I have a multi project solution in vb.net.
In detail, i have a project "Main" and projects A,B,C.

How can I switch between projects ???

Thanks in advance,
Vasilis



Nov 21 '05 #6
Hi Vasilis,

If I'm interpreting you correctly, it sounds like you want to execute
another process from within your main application.

To do that, see the Process class:

http://msdn.microsoft.com/library/en...ClassTopic.asp

Specifically, the Start() method.

Regards,
-Adam.

Vasilis X wrote:
All of my projects are output-type "executable" and from them
I want to execute others.
"Qwert" <no**@nosp.com> wrote in message
news:t7********************@casema.nl...

Nov 21 '05 #7

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

Similar topics

6
by: Peter Rilling | last post by:
My development team is using VS.NET with VSS integration. They are able to check in and out from within VS.NET. We also use NUnit for testing our libraries. Currently our entire solution is...
2
by: Naveen Mukkelli | last post by:
Hi, Currently, I've got all my unit tests in a separate class in the same project. Instead of this, I'm planning to move all my tests in a separate project in a single solution. For...
5
by: bobwansink | last post by:
Hi, I'm relatively new to programming and I would like to create a C++ multi user program. It's for a project for school. This means I will have to write a paper about the theory too. Does anyone...
0
by: Tim Anderson | last post by:
I have a multi-project solution imported from VS 2003. It includes an exe and several dlls. If I add a method to a class in a DLL project, and then call it from exe project, this is picked up by...
1
by: zacks | last post by:
Am using VB.NET 2005. I have a solution that has four projects. Two projects are standard windows applications. One is a class library that is shared by the two windows application projects, it...
4
by: | last post by:
I have learned about compartmentalizing my code base using Class Libraries. I have my common code such as my ORM framework broken out into their own Class Libraries, which are referenced as...
0
by: bharathreddy | last post by:
Vs 2008 is the MS latest IDE for developing Windows, Web, Smart Device Applications. It comes along with .NET Framework 3.5, C# 3.0, LINQ, ASP.NET AJAX and VSTO . Now with the power of VS 2008 we can...
8
by: =?Utf-8?B?MjJQb20=?= | last post by:
Hello All, Yes, I'm back again on this subject. I've started again to set up the solution and I can, if you like, move deeper into the program, accessing various forms as I go BUT I cannot for...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.