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 5 1129
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.
<za***@construc tion-imaging.comwrot e in message
news:11******** **************@ 11g2000cwr.goog legroups.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
Mythran wrote:
<za***@construc tion-imaging.comwrot e in message
news:11******** **************@ 11g2000cwr.goog legroups.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.
<za***@construc tion-imaging.comwrot e in message
news:11******** **************@ 11g2000cwr.goog legroups.com...
>
Mythran wrote:
><za***@constru ction-imaging.comwrot e in message news:11******* *************** @11g2000cwr.goo glegroups.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
Thanks for advice.
"Mythran" <ki********@hot mail.com>
???????:%2***** ***********@TK2 MSFTNGP04.phx.g bl...
>
<za***@construc tion-imaging.comwrot e in message
news:11******** **************@ 11g2000cwr.goog legroups.com...
>> Mythran wrote:
>><za***@constr uction-imaging.comwrot e in message news:11****** *************** *@11g2000cwr.go oglegroups.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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;
....
MyClass mc = new MyClass()
mc.a = 1;
loop...
{
|
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). Pages dealing with logins,
New users, etc... locally work fine, I am able to add users, log in or off,
etc...
Now, I would like to see how to do that when I copy the pages to the remote
production server of my ISP. Right now, it is running...
|
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?
Here's the problem: when I try to connect (through Copy Web Site) via FTP, I get the error message "The ~/ directory does not
exist". Yet if I try to connect to a subdirectory on the site, the connection works fine. Why isn't the VS2005 FTP client smart...
|
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
|
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;
| |
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 errer:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in FilesUpdateApplication.exe
Additional information: Could not load file or assembly 'StrtData, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of...
|
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 previous version. In VC++ I could use Windows
Explorer and copy the contents of the previous project folder to a new
project folder, and rename the project, start VS2005, and then add that new
project to a solution without much trouble.
That...
|
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.
|
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....
after this problem occured, I've done a test where I copyed text from
TextPad to vs2005 and that works. - but after this test, I again tryed to
copy & paste within vs2005, but vs2005 pastes something I've previously
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |