473,326 Members | 2,134 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,326 software developers and data experts.

Dumb question: how to add a new project using the same existing folder?

I would like to add a new VB.NET project using the same folder being used by
another project so that I can share several forms already creaded by the
other project. However, .NET created a new folder using whatever project
name I supplied.
Is there a work around for this?

Thanks

Bill
Nov 23 '05 #1
2 2201
So, first of all, VS projects treat files in their directories as belonging to them, and for this and other reasons (for example, handling output directories) putting two project files in the same directory is not recommended.

You can still add files from anyplace on your drive into your project simply by using "Add Existing Item."

However, the truly elegant way to reuse code is to take those commonly-used forms (and whatever else code is common) and place it all in a Class Library project which any other project can reference.

--Matt Gertz--*
VB Compiler Dev Lead

-----Original Message-----
From: Bill Nguyen
Posted At: Monday, November 21, 2005 11:58 AM
Posted To: microsoft.public.dotnet.languages.vb
Conversation: Dumb question: how to add a new project using the same existing folder?
Subject: Dumb question: how to add a new project using the same existing folder?
I would like to add a new VB.NET project using the same folder being used by
another project so that I can share several forms already creaded by the
other project. However, .NET created a new folder using whatever project
name I supplied.
Is there a work around for this?

Thanks

Bill
Nov 23 '05 #2
Thanks for your response, Matt.

Bill
<Ma***********@feedback.microsoft.com> wrote in message
news:Ok**************@TK2MSFTNGP10.phx.gbl...
So, first of all, VS projects treat files in their directories as
belonging to them, and for this and other reasons (for example, handling
output directories) putting two project files in the same directory is not
recommended.

You can still add files from anyplace on your drive into your project
simply by using "Add Existing Item."

However, the truly elegant way to reuse code is to take those
commonly-used forms (and whatever else code is common) and place it all in
a Class Library project which any other project can reference.

--Matt Gertz--*
VB Compiler Dev Lead

-----Original Message-----
From: Bill Nguyen
Posted At: Monday, November 21, 2005 11:58 AM
Posted To: microsoft.public.dotnet.languages.vb
Conversation: Dumb question: how to add a new project using the same
existing folder?
Subject: Dumb question: how to add a new project using the same existing
folder?
I would like to add a new VB.NET project using the same folder being used
by
another project so that I can share several forms already creaded by the
other project. However, .NET created a new folder using whatever project
name I supplied.
Is there a work around for this?

Thanks

Bill

Nov 23 '05 #3

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

Similar topics

3
by: JV | last post by:
I'm trying to understand how ASP.NET creates web folders when it creates a new ASP.NET project. I am experienced with DotNet development, but not an expert on how IIS works. Or, this may be a...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
1
by: Bob Dufour | last post by:
I created a form for enetering values in lookup tables (eg Phone Types) in a project. The form uses a SQLdataAdapter and works fine in project A. In another solution - Project B- I want to reuse...
3
by: John Dann | last post by:
Is there any recommended way of creating a new version of an existing project inVB.Net? Or maybe an add-in that facilitates this process? Like most people I guess, I tend to develop projects in...
11
by: A.M-SG | last post by:
Hi, I understand that be default VS2005 uses the ASP.NET development server to run and test ASP.NET applications. Is it possible that we use IIS for ASP.NET application debugging in new IDE...
1
by: jhcorey | last post by:
Alledgedly I have some experience, but somehow I'm drawing a blank on this. In VS2005 I would like to create a solution with two projects (one is a web site). I work with these all the time, but...
2
by: Rob Dob | last post by:
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both...
3
by: ºa¤Ö | last post by:
We are developing ASP.NET web application and using Visual source safe (VSS) to control our source code We developed a user control and it will been used by different project. I know there have...
14
by: Siv | last post by:
hi, I am converting an application that writes to an Excel spreadsheet and the code trips the "option Strict" that I would like on because the parser says "option Strict On disallows late...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.