473,770 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1985
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*****@somewh ere.com> schreef in bericht
news:%2******** ********@TK2MSF TNGP10.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.co m> wrote in message
news:L_******** ************@ca sema.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*****@somewh ere.com> schreef in bericht
news:%2******** ********@TK2MSF TNGP10.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*****@somewh ere.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'ar e 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.co m> wrote in message
news:L_******** ************@ca sema.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*****@somewh ere.com> schreef in bericht
news:%2******** ********@TK2MSF TNGP10.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.co m> wrote in message
news:t7******** ************@ca sema.nl...
Maybe I misunderstand, but I think you should rephrase your question. A
'project' and an 'application'ar e 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.co m> wrote in message
news:L_******** ************@ca sema.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*****@somewh ere.com> schreef in bericht
news:%2******** ********@TK2MSF TNGP10.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.co m> wrote in message
news:t7******** ************@ca sema.nl...

Nov 21 '05 #7

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

Similar topics

6
1971
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 checked into VSS along with all the associated projects. Many developers need to work on the same solution. The problem that I am having is getting a consistent unit test system setup so that it can easily be shared. Basically, in order to run...
2
2110
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 example let "TargetProject" is the main project in a solution. My plan is to have another project, for example "TestTargetProject" that will
5
5767
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 know a good place to start looking for some theory on the subject of multi user applications? I know only bits and pieces, like about transactions, but a compendium of possible approches to multi user programming would be very appreciated!
0
987
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 intellisense and I can successfully compile. However when I try to debug I get a MissingMethodException on the call to the new method (it is a public method of a public class, so it is not a visibility issue). I've tried Clean, and rebuilding...
1
1662
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 is primarily used to serialize/deserialize an XML configuration file.. The third project is a standard Setup project that installs the two windows applications. My question is regarding versioning of the solution. I would like for the entire...
4
3571
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 projects from my Website. I also have a common set of DLLs I use across all of my applications. It would be great if I could put all of those DLLs into their own projects, and to reference that project from various solutions. The way my solution is...
0
4948
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 target multiple versions of .NET Framework. Installation steps here VS 2008 Multi-Targeting Support: Previously every VisualStudio release supports its own specific version of .NET Framework. That is VS 2002 with .NET 1.0 ...
8
1168
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 the life of me work out how to get back. I have set "CommonForms" in the Properties/References of StartUp. Just working with two projects "StartUp" & "CommonForms" I place a parent
7
7158
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 Silverlight 2.0. To get these tools please visit this page Get Started : The Official Microsoft Silverlight Site and follow Step 1. Occasionally you find the need to have users upload multiple files at once. You could use multiple FileUpload...
0
9619
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10102
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9910
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.