473,385 Members | 1,693 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.

copy forms across applications

I developed an application using visual studio 2003. Now I want to make a
similar application without having to redesign similar forms. Is there a way
to copy and paste windows forms across application? I can copy from one to
the paste buffer. BUT, there is no corresponding paste on the second
application.

How can you do this???

tia...

Mar 1 '06 #1
5 1440
What I have done is to copy the form and associated files (resx, etc...) via
the file system first, then "add existing item" on the target project and
select the form file you just copied... And then fix the namespace,
references, and other errors you might have when using the form for the
first time.

"ki******@hotmail.com" <ki******@hotmail.com@discussions.microsoft.com>
wrote in message news:53**********************************@microsof t.com...
I developed an application using visual studio 2003. Now I want to make a
similar application without having to redesign similar forms. Is there a
way
to copy and paste windows forms across application? I can copy from one to
the paste buffer. BUT, there is no corresponding paste on the second
application.

How can you do this???

tia...

Mar 1 '06 #2


"Gabriel MagaƱa" wrote:
What I have done is to copy the form and associated files (resx, etc...) via
the file system first, then "add existing item" on the target project and
select the form file you just copied... And then fix the namespace,
references, and other errors you might have when using the form for the
first time.

"ki******@hotmail.com" <ki******@hotmail.com@discussions.microsoft.com>
wrote in message news:53**********************************@microsof t.com...
I developed an application using visual studio 2003. Now I want to make a
similar application without having to redesign similar forms. Is there a
way
to copy and paste windows forms across application? I can copy from one to
the paste buffer. BUT, there is no corresponding paste on the second
application.

How can you do this???

tia...



That only copied the vb code and NOT the windows forms (menus, buttons, text
fields...)
Mar 1 '06 #3
Notice I said "and associated files" which may contain these missing pieces.
Otherwise try drag and drop as opposed to copy-paste...

"ki******@hotmail.com" <ki****************@discussions.microsoft.com> wrote
in message news:59**********************************@microsof t.com...


"Gabriel Magańa" wrote:
What I have done is to copy the form and associated files (resx, etc...)
via
the file system first, then "add existing item" on the target project and
select the form file you just copied... And then fix the namespace,
references, and other errors you might have when using the form for the
first time.

"ki******@hotmail.com" <ki******@hotmail.com@discussions.microsoft.com>
wrote in message
news:53**********************************@microsof t.com...
>I developed an application using visual studio 2003. Now I want to make
>a
> similar application without having to redesign similar forms. Is there
> a
> way
> to copy and paste windows forms across application? I can copy from one
> to
> the paste buffer. BUT, there is no corresponding paste on the second
> application.
>
> How can you do this???
>
> tia...
>



That only copied the vb code and NOT the windows forms (menus, buttons,
text
fields...)

Mar 1 '06 #4


"Gabriel MagaƱa" wrote:
Notice I said "and associated files" which may contain these missing pieces.
Otherwise try drag and drop as opposed to copy-paste...

"ki******@hotmail.com" <ki****************@discussions.microsoft.com> wrote
in message news:59**********************************@microsof t.com...


"Gabriel MagaƱa" wrote:
What I have done is to copy the form and associated files (resx, etc...)
via
the file system first, then "add existing item" on the target project and
select the form file you just copied... And then fix the namespace,
references, and other errors you might have when using the form for the
first time.

"ki******@hotmail.com" <ki******@hotmail.com@discussions.microsoft.com>
wrote in message
news:53**********************************@microsof t.com...
>I developed an application using visual studio 2003. Now I want to make
>a
> similar application without having to redesign similar forms. Is there
> a
> way
> to copy and paste windows forms across application? I can copy from one
> to
> the paste buffer. BUT, there is no corresponding paste on the second
> application.
>
> How can you do this???
>
> tia...
>


That only copied the vb code and NOT the windows forms (menus, buttons,
text
fields...)



I copied the .vb and .resx files (are there more?) from the first
application to the second directory, then did the "add existing". I see the
..vb code and the .resx in the second project, but the resx file opens as a
table of the forms I want. no forms.

Mar 1 '06 #5
Choose 'Add existing item' then select the .cs file of the form from your
source folder then click 'Open'. The IDE will copy everything about the form
to your project folder for you. Try to see if this is what you want. To
prevent error in opening the form, ensure you have added all necessary
reference about the form to to project first.
"ki******@hotmail.com" wrote:


"Gabriel MagaƱa" wrote:
Notice I said "and associated files" which may contain these missing pieces.
Otherwise try drag and drop as opposed to copy-paste...

"ki******@hotmail.com" <ki****************@discussions.microsoft.com> wrote
in message news:59**********************************@microsof t.com...


"Gabriel MagaƱa" wrote:

> What I have done is to copy the form and associated files (resx, etc...)
> via
> the file system first, then "add existing item" on the target project and
> select the form file you just copied... And then fix the namespace,
> references, and other errors you might have when using the form for the
> first time.
>
> "ki******@hotmail.com" <ki******@hotmail.com@discussions.microsoft.com>
> wrote in message
> news:53**********************************@microsof t.com...
> >I developed an application using visual studio 2003. Now I want to make
> >a
> > similar application without having to redesign similar forms. Is there
> > a
> > way
> > to copy and paste windows forms across application? I can copy from one
> > to
> > the paste buffer. BUT, there is no corresponding paste on the second
> > application.
> >
> > How can you do this???
> >
> > tia...
> >
>
>
>

That only copied the vb code and NOT the windows forms (menus, buttons,
text
fields...)



I copied the .vb and .resx files (are there more?) from the first
application to the second directory, then did the "add existing". I see the
.vb code and the .resx in the second project, but the resx file opens as a
table of the forms I want. no forms.

Mar 2 '06 #6

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

Similar topics

4
by: The Flyer | last post by:
Hi Sorry for posting this message to so many groups, but I was not sure which group the windows keyboard experts would be reading, so I ventured to post it to all of them. I want to map or...
2
by: TomB | last post by:
Ok, I'm new to dotnet. Not only do I need help I need to know which of the dotnet groups would be best for this question. I have over 30 applications in Access with nearly 300 forms that have to...
1
by: JC | last post by:
I have several applications that use forms authentication and they are currently setup to use a single login page. Everything works fine under v1.0 of the framework and everything works fine if I...
7
by: dave | last post by:
I have one application that is used within our intranet that places a forms auth cookie for our domain (for intranet purposes only). All other applications rely on this cookie for authentication and...
2
by: Dotnet Guy | last post by:
Hi, I have different asp.net applications as sub applications within an application and was using Framework 1.0. And I use forms authentication across the applications. In the web.config file of...
1
by: AVance | last post by:
Hi, I've come across this scenario in ASP.NET 1.1 with forms authentication where the forms auth doesn't seem to timeout correctly, nor redirect to the login page. I have done some testing, and...
2
by: Keith | last post by:
I'm trying to come up with a way to create a contextmenu that will do all the "standard" functions (cut, copy, paste, undo, etc). There seems to be a lot of information out there - but nothing...
4
by: David | last post by:
Hi all, I have a problem with Forms Auth. I am not using the protected folder method, rather, I want some parts of the page to be shown depending on the authentication state. Basically, I...
4
by: =?Utf-8?B?RmFyaWJh?= | last post by:
It know that we can use the following method http://msdn2.microsoft.com/en-us/library/eb0zx8fc.aspx to form authenticate across multiple applications. I have created an asp.net application...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
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.