[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

Copy project folders


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
JeffvClayton
Asked:
JeffvClayton
  • 2
1 Solution
 
Fernando SotoRetiredCommented:
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
 
JeffvClaytonAuthor Commented:
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
 
Fernando SotoRetiredCommented:
No problem, glad it worked for you. :=)
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now