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

Create a program by copying an existing program

In VS2005, I want to write a program which will have some similarity to an
existing program.
It would be an advantage to start by copying the existing program (into a
new directory, and with new names for the forrms etc.) .

What is the easiets way to do that?

Thanks

--
Barry Flynn
Complete Solutions DG

Mar 26 '07 #1
6 1150
"Barry Flynn" <Anonymousewrote in message
news:Ou**************@TK2MSFTNGP03.phx.gbl...
In VS2005, I want to write a program which will have some similarity to an
existing program.
It would be an advantage to start by copying the existing program (into a
new directory, and with new names for the forrms etc.) .

What is the easiets way to do that?
Copy the files to a new dir and rename them in visual studio.
>
Thanks

--
Barry Flynn
Complete Solutions DG

Mar 26 '07 #2
"Barry Flynn" <Anonymouseschrieb:
In VS2005, I want to write a program which will have some similarity to an
existing program.
It would be an advantage to start by copying the existing program (into a
new directory, and with new names for the forrms etc.) .

What is the easiets way to do that?
Simply create a copy of the solution/project/file in Windows Explorer.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 26 '07 #3
Hi Barry,

Do you want to maintain both applications? If so, you should look into
doing pre compile switches, that way you can switch between each application
and build accordingly. I work on several applications that work in the same
way as they share an almost identical interface.

.....

#if BUILDB

'//This code gets compiled when BUILDB is true

#else

'//This code gets compiled when BUILDB is false

#endif

.....

HTH.

Nick.

"Barry Flynn" <Anonymousewrote in message
news:Ou**************@TK2MSFTNGP03.phx.gbl...
In VS2005, I want to write a program which will have some similarity to an
existing program.
It would be an advantage to start by copying the existing program (into a
new directory, and with new names for the forrms etc.) .

What is the easiets way to do that?

Thanks

--
Barry Flynn
Complete Solutions DG

Mar 26 '07 #4
NickP wrote:
Do you want to maintain both applications? If so, you should look into
doing pre compile switches, that way you can switch between each application
and build accordingly. I work on several applications that work in the same
way as they share an almost identical interface.

....

#if BUILDB

'//This code gets compiled when BUILDB is true

#else

'//This code gets compiled when BUILDB is false

#endif
<snip>

Ouch...

If this generates *different* applications, I suppose it is a
maintainance nightmare... did you ever considered forms visual
inheritance?

Regards,

Branco.

Mar 26 '07 #5
Thanks for the various suggestions.

New Program B will be a totaly separate program from existing Program A.
The user interface will be different, but it will have some similarity to
that of Program A.
Likewise, the logic will be different, but will loosely resemble that of
Program A.

All I am trying to do is get a headstart, by "cloning Program A" then
modifying the clone, rather than starting from scratch.

As I see it, Michael's suggestion of "Copy the files to a new dir and rename
them in visual studio." looks like the easiset way of ahieveing what I want.

Thanks.

Barry

--
Barry Flynn
Complete Solutions DG
"Barry Flynn" <Anonymousewrote in message
news:Ou**************@TK2MSFTNGP03.phx.gbl...
In VS2005, I want to write a program which will have some similarity to an
existing program.
It would be an advantage to start by copying the existing program (into a
new directory, and with new names for the forrms etc.) .

What is the easiets way to do that?

Thanks

--
Barry Flynn
Complete Solutions DG

Mar 26 '07 #6
"Barry Flynn" <Anonymousewrote in message
news:%2*****************@TK2MSFTNGP02.phx.gbl...
Thanks for the various suggestions.

New Program B will be a totaly separate program from existing Program A.
The user interface will be different, but it will have some similarity to
that of Program A.
Likewise, the logic will be different, but will loosely resemble that of
Program A.

All I am trying to do is get a headstart, by "cloning Program A" then
modifying the clone, rather than starting from scratch.

As I see it, Michael's suggestion of "Copy the files to a new dir and
rename them in visual studio." looks like the easiset way of ahieveing
what I want.
Another option is to start a new project and just copy what you need as you
go. This could end up with a cleaner result.

Michael
Mar 27 '07 #7

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

Similar topics

6
by: dev | last post by:
how create a temp table as a copy of a existing table and then update1 field and insert the hole temp table back in the existing table? please any help? if i have 10 fields in 1 record and...
1
by: dominic | last post by:
Hi all, I'm trying to create a temp file by copying from an existing file, perform some operation on the temp file, and then delete it. The code I used is as follow: // First, to copy the...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: silverburgh.meryl | last post by:
Hi, I would like to create a Class which has a list of another class as it attribute. I wonder, should I do this: class B { private: vector<A> _listOfA; }
18
by: Sandra-24 | last post by:
Can you create an instance of a subclass using an existing instance of the base class? Such things would be impossible in some languages or very difficult in others. I wonder if this can be done...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
15
by: Killer42 | last post by:
Hi all. Ok, I'm using VB6 but I think the answer to this (if there is one) is more likely to be found in the Access forum. I have a situation where I've got tens of millions of records, spread...
4
by: ARC | last post by:
Hello all, I'm trying to help a customer of mine recover data from an access 2000 program that appears to have corruption. Opening the file will open the default / startup form, however, 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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
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...

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.