473,395 Members | 1,639 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.

Visual C# 2008 Express Solution-Project Hierarchy

Gentle list members,
I have started to type in and modify according to my taste the examples in a tutorial of C# [Sipos Marianna: Programozás élesben. Language Hungarian, ISBN: 963 216 652 3].
I use Visual C# 2008 Express Edition.
I have put the first two exercises as Projects in the same Solution. The problem is that I have to mark and unmark again and again which is the executable project.
  • I want to share e. g. the form design but handle the events of controls in different ways in the first and the second project.
  • I'd like to use the same language dependent string resources in more than one projects.
Recommend me the simplest way to do this.
Regards
Frank
Oct 12 '11 #1
1 1730
GaryTexmo
1,501 Expert 1GB
I may be wrong here, but I'm not sure that you can do this. A solution can only have one startup project at a time. This is the project that runs when you start debugging. That said, a solution can build many executables at once.

Right click on your project and set the Output Type to Windows Application or Console Application as appropriate. This will generate an executable. Now just build your entire solution (right-click the solution, rebuild). Now in your bin directory you should see all the executables your solution builds.

As for sharing a resource file, just set your project up to point to that. Either add an existing file or open it in code via a relative path.
Oct 13 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: JaNE | last post by:
Hello, I have made my cms... and is working, but have some, let me say "bugs"... And I don't know all reasons, please allow me slightly longer and most probably confusing post (that "confusing" is...
5
by: Paul Eden | last post by:
Afternoon all. I wonder if someone might lend a little hand here? I'm using input.htm to take some data using radio and a text field from the user, which then "get"s them to update.php. Now...
20
by: msa | last post by:
Hi there, First off, let me say that I know that launching to full screen is a bad idea. I would never do it given the choice, but I must follow orders from my boss, the boss that desparately...
1
by: hzgt9b | last post by:
When adding my VB .NET solution (with two sub-projects) the folder structure in VSS gets an extra level of folders... For example, here's the structure of the solution on my C:\...
1
by: bruce_milner | last post by:
I am having a problem using DB2 for z/OS Visual Explain V8 for Windows. The error message is: Fail to load JDBC driver COM.ibm.db2.jdbc.app.DB2Driver I have un-installed/re-installed DB...
14
by: alwayshouston | last post by:
Hi All! I am working on this very small database and I am confused in the designing a simple form. I only have three tables in the database. First Table: tblExpense Columns: ExpenseID ;...
6
by: Amelyan | last post by:
Can anyone explain *why* this happens (not how to work around it)? An error has occurred because a control with auto-generated id '_ctl8' could not be located to raise a postback event. To...
4
by: Brian | last post by:
Hello - Ive got a single "Solution" with two projects. While working with Project2, when I hit F5 to run and debug, the main form from Project1 loads. What is up with this? I thought that...
1
by: skootr | last post by:
What is the difference between "Build Solution" and "Rebuild Solution" ? While browsing Help I saw a reference to "cleaning files" but Help does not explain what that means thanks in advance
5
by: kabotnet | last post by:
Hi, I'm new in db2, I'm trying to execute EXPLAIN command on some queries but i have error like: And message similar to: Token EXPLAIN is not valid, valid tokens ( END GET SET CALL DROP FREE...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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
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...

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.