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

How to do COPY in VS2005

Since there are many similar programs worked out, I want to copy a similar
program (alreay work under form inheritance) to a new one so that I can
change the new one quicker.
It is not ok to copy under Windows Explorer.
How can I do this in VS2005?

Benson
VS2005, VB2005
Jan 19 '07 #1
5 1117

Benson wrote:
Since there are many similar programs worked out, I want to copy a similar
program (alreay work under form inheritance) to a new one so that I can
change the new one quicker.
It is not ok to copy under Windows Explorer.
How can I do this in VS2005?

Benson
VS2005, VB2005
The only way I have figured out how to do it was to make a new project,
copy all objects (forms, modules and classes) from the old project into
the new project folder, then in the new project add each object with
the add existing item menu item. The only caveat I am aware of is with
2005, there are TWO files for each form, not just one like 2003 had.
But you only add one, the form will come up automatically attached to
both of them.

Jan 19 '07 #2


<za***@construction-imaging.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...
>
Benson wrote:
>Since there are many similar programs worked out, I want to copy a
similar
program (alreay work under form inheritance) to a new one so that I can
change the new one quicker.
It is not ok to copy under Windows Explorer.
How can I do this in VS2005?

Benson
VS2005, VB2005

The only way I have figured out how to do it was to make a new project,
copy all objects (forms, modules and classes) from the old project into
the new project folder, then in the new project add each object with
the add existing item menu item. The only caveat I am aware of is with
2005, there are TWO files for each form, not just one like 2003 had.
But you only add one, the form will come up automatically attached to
both of them.
Don't understand why you would use 'add existing item' ... once you copy the
files to the new directory, you can activate 'show all files' and then
select all the new files, right-click, and select 'include in project'.
<shrug May be easier for you too :)

hth,
Mythran
Jan 19 '07 #3

Mythran wrote:
<za***@construction-imaging.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...

Benson wrote:
Since there are many similar programs worked out, I want to copy a
similar
program (alreay work under form inheritance) to a new one so that I can
change the new one quicker.
It is not ok to copy under Windows Explorer.
How can I do this in VS2005?

Benson
VS2005, VB2005
The only way I have figured out how to do it was to make a new project,
copy all objects (forms, modules and classes) from the old project into
the new project folder, then in the new project add each object with
the add existing item menu item. The only caveat I am aware of is with
2005, there are TWO files for each form, not just one like 2003 had.
But you only add one, the form will come up automatically attached to
both of them.

Don't understand why you would use 'add existing item' ... once you copy the
files to the new directory, you can activate 'show all files' and then
select all the new files, right-click, and select 'include in project'.
<shrug May be easier for you too :)
After copying the objects from the first project to the new one, open
the new project in VS. Right click on the project, move the mouse down
to Add, and select Existing Item in the sub-menu.

Jan 19 '07 #4


<za***@construction-imaging.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...
>
Mythran wrote:
><za***@construction-imaging.comwrote in message
news:11**********************@11g2000cwr.googlegr oups.com...
>
Benson wrote:
Since there are many similar programs worked out, I want to copy a
similar
program (alreay work under form inheritance) to a new one so that I
can
change the new one quicker.
It is not ok to copy under Windows Explorer.
How can I do this in VS2005?

Benson
VS2005, VB2005

The only way I have figured out how to do it was to make a new project,
copy all objects (forms, modules and classes) from the old project into
the new project folder, then in the new project add each object with
the add existing item menu item. The only caveat I am aware of is with
2005, there are TWO files for each form, not just one like 2003 had.
But you only add one, the form will come up automatically attached to
both of them.

Don't understand why you would use 'add existing item' ... once you copy
the
files to the new directory, you can activate 'show all files' and then
select all the new files, right-click, and select 'include in project'.
<shrug May be easier for you too :)

After copying the objects from the first project to the new one, open
the new project in VS. Right click on the project, move the mouse down
to Add, and select Existing Item in the sub-menu.
Yes, I understand and know how to do that. What I'm saying though, is
instead of using "Add Existing Item" you could just use "Include In Project"
option when you activate the "Show All Files" for the project.

Mythran
Jan 19 '07 #5
Thanks for advice.

"Mythran" <ki********@hotmail.com>
???????:%2****************@TK2MSFTNGP04.phx.gbl...
>

<za***@construction-imaging.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...
>>
Mythran wrote:
>><za***@construction-imaging.comwrote in message
news:11**********************@11g2000cwr.googleg roups.com...

Benson wrote:
Since there are many similar programs worked out, I want to copy a
similar
program (alreay work under form inheritance) to a new one so that I
can
change the new one quicker.
It is not ok to copy under Windows Explorer.
How can I do this in VS2005?

Benson
VS2005, VB2005

The only way I have figured out how to do it was to make a new
project,
copy all objects (forms, modules and classes) from the old project
into
the new project folder, then in the new project add each object with
the add existing item menu item. The only caveat I am aware of is with
2005, there are TWO files for each form, not just one like 2003 had.
But you only add one, the form will come up automatically attached to
both of them.
Don't understand why you would use 'add existing item' ... once you copy
the
files to the new directory, you can activate 'show all files' and then
select all the new files, right-click, and select 'include in project'.
<shrug May be easier for you too :)

After copying the objects from the first project to the new one, open
the new project in VS. Right click on the project, move the mouse down
to Add, and select Existing Item in the sub-menu.

Yes, I understand and know how to do that. What I'm saying though, is
instead of using "Add Existing Item" you could just use "Include In
Project" option when you activate the "Show All Files" for the project.

Mythran


Jan 20 '07 #6

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

Similar topics

1
by: GRiN | last post by:
In VS2003 I have been using an ArrayList loading it with a copy constructor and it seems to work fine. {I am acutally loading a lot of constants first, not one a shown} public ArrayList al;...
1
by: Paolo | last post by:
I have been following a few walkthroughs that came with VS 2005, and they work fine (I had to change the machine.config files to work with my SQL 2005 Pro version, instead of the SQL 2005 Express)....
3
by: Mark Olbert | last post by:
Sigh. Every other ftp client I've used lets me enter the path to the site, the user id and password, and connects.. but not the one in VS2005. Why does MS have to do everything differently? ...
18
by: Patrick Kowalzick | last post by:
Hello all, find below an example which IMO should refuse to compile. It compiles fine with VS2005. What happens in the call? What is your opinion? Kind regards, Patrick
5
by: Dariusz Bismor | last post by:
Hi, Please help me to understand compiler behavior concerning the following code: class X{    int k; public:    X(){ k=1; }    X( X & model ){       k = model.k;
4
by: Idit | last post by:
Hi, I am running C# application with MFC. dll project. I managed to run the application when the VS2005 environment exists but when I copy the .exe and dll to another computer I get the following...
2
by: =?Utf-8?B?SmltIFdhbHNo?= | last post by:
I'm new to .NET development, although I have worked with VS2005 and VC++ for a while. A frequent task for me is to create a new project for a new version of my program, without destroying the...
1
by: =?Utf-8?B?S2lt?= | last post by:
Hey All I have a project in VS2005 C# and want at copy of my project in a new ProjectDemo so I can "play" with ideaes without harme the main project. Regard Kim S.
2
by: Jeff | last post by:
Hey In VS2005 I've copied some text to the clipboard, but when I paste it, I get something I previuosly added to the clipboard. I thought a reboot of my computer would help, but it didn''t.......
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: 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?
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
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
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.