Solved

Copy project folders

Posted on 2006-07-12
3
249 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 63

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 63

Expert Comment

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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

791 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