Solved

Copy project folders

Posted on 2006-07-12
3
246 Views
Last Modified: 2010-04-23

I have copied all the files and folders for a VB.Net project to a new folder on my PC. I would like to test a few changes without effecting my original. The project contains a form with a COM Excel Worksheet 9 object. When I try to open the copied version of the project, nothing happens.  I have started a brand new project in a different folder as an experiment, and inserted the existing form with the excel worksheet, the worksheet object together with everything else on the same panel is missing.

How are you supposed to make a duplicate project in another folder that works (just as it did with VB6 when you made a copy)?
0
Comment
Question by:JeffvClayton
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 17091057
Hi JeffvClayton;

I have never had that problem. But you can try deleting the bin and obj folders in the project directory if using VB .Net 2003 and re-building the project. If you are using VB .Net 2005 you can select from the Build menu Clear (Project Name) and then re-build.

Hope that helps.

Fernando
0
 
LVL 3

Author Comment

by:JeffvClayton
ID: 17091203
Deleting the bin and obj has worked. I have checked by adding a radio button to the copy and switching between the original and the copy shows/hides the button, so I guess my original is safe. I am using VB.Net 2003.

Thanks for the quick answer.

Regards

Jeff.
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17091568
No problem, glad it worked for you. :=)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now