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

Best Approach When Saving a New Project

When I create a new project in 2005, and I go to save the project files,
vb.net displays a dialog box that repeats the name of the application and
has a checkbox if I want to create a new directory for it. If I click the
checkbox, the new subdirectory gets the same name as the higher subdirectory
(which is the application name). For example if the project is called Test,
then the subdirectory structure looks like

Visual Studio 2005
--- Projects
--- Test
--- Test
--- bin
--- My Project
--- obj

If I don't tell the dialog to create a new directory, then I get

Visual Studio 2005
--- Projects
--- Test
--- bin
--- My Project
--- obj

Creating another \Test subdirectory below the first \Test subdirectory seems
redundant. Is there a reason why either approach would be better?

Also - If I want to throw in other files into the appliation (such as word
templates, icons, etc.), where's the best place to save them to simplify
deployment and use (\Test, \Test\MyProject, \Test\Test,
\Test\Test\MyProject, somewhere else?

Thanks

Steve

Dec 1 '06 #1
4 1487
It does that because what it's really doing is saving the
Solution in the top \Test directory. So if you added another
project called Test2 to that solution, it would show up
as folder Test2 under VisualStudio2005\Project\Test\.

I think you can add Word docs, etc., to your solution as
well, and it will put them where it thinks they go. Maybe
in a resources folder?

Robin S.
-----------------------------------

"Steve" <s.*****@comcast.netwrote in message
news:u2**************@TK2MSFTNGP02.phx.gbl...
When I create a new project in 2005, and I go to save the project files,
vb.net displays a dialog box that repeats the name of the application and
has a checkbox if I want to create a new directory for it. If I click the
checkbox, the new subdirectory gets the same name as the higher
subdirectory
(which is the application name). For example if the project is called
Test,
then the subdirectory structure looks like

Visual Studio 2005
--- Projects
--- Test
--- Test
--- bin
--- My Project
--- obj

If I don't tell the dialog to create a new directory, then I get

Visual Studio 2005
--- Projects
--- Test
--- bin
--- My Project
--- obj

Creating another \Test subdirectory below the first \Test subdirectory
seems
redundant. Is there a reason why either approach would be better?

Also - If I want to throw in other files into the appliation (such as word
templates, icons, etc.), where's the best place to save them to simplify
deployment and use (\Test, \Test\MyProject, \Test\Test,
\Test\Test\MyProject, somewhere else?

Thanks

Steve

Dec 1 '06 #2
Personally I like to always create a Blank Solution first, then add
projects under that solution. I like the organization that gives me.

MySolution
--MyWindowsFormProject
--projectfolders
--resources
--icons
--MyBusinessClassProject
--projectfolders

I store resources in the projects to which they belong under the same
named folder. If you are not distributing the project or sharing it
with other devs, then its up to personal preferences.
RobinS wrote:
It does that because what it's really doing is saving the
Solution in the top \Test directory. So if you added another
project called Test2 to that solution, it would show up
as folder Test2 under VisualStudio2005\Project\Test\.

I think you can add Word docs, etc., to your solution as
well, and it will put them where it thinks they go. Maybe
in a resources folder?

Robin S.
-----------------------------------

"Steve" <s.*****@comcast.netwrote in message
news:u2**************@TK2MSFTNGP02.phx.gbl...
When I create a new project in 2005, and I go to save the project files,
vb.net displays a dialog box that repeats the name of the application and
has a checkbox if I want to create a new directory for it. If I click the
checkbox, the new subdirectory gets the same name as the higher
subdirectory
(which is the application name). For example if the project is called
Test,
then the subdirectory structure looks like

Visual Studio 2005
--- Projects
--- Test
--- Test
--- bin
--- My Project
--- obj

If I don't tell the dialog to create a new directory, then I get

Visual Studio 2005
--- Projects
--- Test
--- bin
--- My Project
--- obj

Creating another \Test subdirectory below the first \Test subdirectory
seems
redundant. Is there a reason why either approach would be better?

Also - If I want to throw in other files into the appliation (such as word
templates, icons, etc.), where's the best place to save them to simplify
deployment and use (\Test, \Test\MyProject, \Test\Test,
\Test\Test\MyProject, somewhere else?

Thanks

Steve

Dec 1 '06 #3
Were MySolution and MyWindowsFormProject the same names? If so, is this
confusing when you are using path statements in your code?

Also - if you create temp files or output files from your code - where do
you normally put them - root? temp? in the deployment folder as a
subdirectory? or somewhee else?

Thanks

Steve

"Charlie Brown" <cb****@duclaw.comwrote in message
news:11*********************@n67g2000cwd.googlegro ups.com...
Personally I like to always create a Blank Solution first, then add
projects under that solution. I like the organization that gives me.

MySolution
--MyWindowsFormProject
--projectfolders
--resources
--icons
--MyBusinessClassProject
--projectfolders

I store resources in the projects to which they belong under the same
named folder. If you are not distributing the project or sharing it
with other devs, then its up to personal preferences.
RobinS wrote:
It does that because what it's really doing is saving the
Solution in the top \Test directory. So if you added another
project called Test2 to that solution, it would show up
as folder Test2 under VisualStudio2005\Project\Test\.

I think you can add Word docs, etc., to your solution as
well, and it will put them where it thinks they go. Maybe
in a resources folder?

Robin S.
-----------------------------------

"Steve" <s.*****@comcast.netwrote in message
news:u2**************@TK2MSFTNGP02.phx.gbl...
When I create a new project in 2005, and I go to save the project
files,
vb.net displays a dialog box that repeats the name of the application
and
has a checkbox if I want to create a new directory for it. If I click
the
checkbox, the new subdirectory gets the same name as the higher
subdirectory
(which is the application name). For example if the project is called
Test,
then the subdirectory structure looks like
>
Visual Studio 2005
--- Projects
--- Test
--- Test
--- bin
--- My Project
--- obj
>
If I don't tell the dialog to create a new directory, then I get
>
Visual Studio 2005
--- Projects
--- Test
--- bin
--- My Project
--- obj
>
Creating another \Test subdirectory below the first \Test subdirectory
seems
redundant. Is there a reason why either approach would be better?
>
Also - If I want to throw in other files into the appliation (such as
word
templates, icons, etc.), where's the best place to save them to
simplify
deployment and use (\Test, \Test\MyProject, \Test\Test,
\Test\Test\MyProject, somewhere else?
>
Thanks
>
Steve
>
>
>

Dec 1 '06 #4
This is a good method, too. I like to see the Solution
as the top level. I have <Show Solutionchecked in my
Visual Studio settings so it always shows it even if
I only have 1 project.

Robin S.
------------------------------
"Charlie Brown" <cb****@duclaw.comwrote in message
news:11*********************@n67g2000cwd.googlegro ups.com...
Personally I like to always create a Blank Solution first, then add
projects under that solution. I like the organization that gives me.

MySolution
--MyWindowsFormProject
--projectfolders
--resources
--icons
--MyBusinessClassProject
--projectfolders

I store resources in the projects to which they belong under the same
named folder. If you are not distributing the project or sharing it
with other devs, then its up to personal preferences.
RobinS wrote:
>It does that because what it's really doing is saving the
Solution in the top \Test directory. So if you added another
project called Test2 to that solution, it would show up
as folder Test2 under VisualStudio2005\Project\Test\.

I think you can add Word docs, etc., to your solution as
well, and it will put them where it thinks they go. Maybe
in a resources folder?

Robin S.
-----------------------------------

"Steve" <s.*****@comcast.netwrote in message
news:u2**************@TK2MSFTNGP02.phx.gbl...
When I create a new project in 2005, and I go to save the project
files,
vb.net displays a dialog box that repeats the name of the application
and
has a checkbox if I want to create a new directory for it. If I click
the
checkbox, the new subdirectory gets the same name as the higher
subdirectory
(which is the application name). For example if the project is called
Test,
then the subdirectory structure looks like

Visual Studio 2005
--- Projects
--- Test
--- Test
--- bin
--- My Project
--- obj

If I don't tell the dialog to create a new directory, then I get

Visual Studio 2005
--- Projects
--- Test
--- bin
--- My Project
--- obj

Creating another \Test subdirectory below the first \Test subdirectory
seems
redundant. Is there a reason why either approach would be better?

Also - If I want to throw in other files into the appliation (such as
word
templates, icons, etc.), where's the best place to save them to
simplify
deployment and use (\Test, \Test\MyProject, \Test\Test,
\Test\Test\MyProject, somewhere else?

Thanks

Steve

Dec 1 '06 #5

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

Similar topics

16
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
1
by: Rob Richardson | last post by:
Greetings! I ran into the problem that a DLL could not be copied to the run file because a newer version existed there. I seem to have gotten around it temporarily, but I'd like to learn how...
9
by: Alfred Taylor | last post by:
I'm testing the waters of n-tier development and I ran into a scenario that I'm not sure what the best solution would be. I have a Company object which contains a collection of contacts retrieved...
12
by: Aaron Smith | last post by:
What is the best way to handle data in a multiple user environment? We have forms that will allow users to add edit and delete data from a table on SQL server. The data could be edited on multiple...
5
by: Jason MacKenzie | last post by:
Just curious about some suggested approaches to this issue (which must be common). A user goes to a page to create a new project. We have a requirement that they must see the project number...
2
by: jdp | last post by:
I've created a custom login control with values that are not used in the Membership table. I created these other fields through the <profiletag in the web config. I'm able to get a new member...
16
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick 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
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?
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
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...

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.