There is already a command handler for the menu command '5efc7975-14bc-11cf-9b2b-00aa00573819 : 17'.
Can anyone tell me why I am getting this error (it may possible havesomething to do with the VB Power Packs)? If not, can anyone advise me of a workaround? This form is really too complicated to reconstruct multiple times. By the way, I am working with VB.Net 2010 Express on Windows XP SP3.
DuanePosted Oct 22, 2012, 7:53 PM
1. Create a new form in your project.
2. Add a control to the form that will create a ".resx" sub-file for the form. I used a panel.
3. Remove the control created in step 2. The ".resx" file will remain.
4. Save and close the project. Leave the IDE open.
5. Go to your VB directory and find the files you just created: Form1.vb, Form1.Designer.vb,
and Form1.resx.
6. Copy the data in your original "resx" file to the new "resx" file. Save it.
7. Copy the data in the other two original files to their respective new files. Save.
8. Change the name of the main class in the new form files to a different name. For instance,
change the class in both files to "NewClass". Save.
9. Rename the files (ALL THREE) to match the new class name. Save.
10. Exit the directory and return to your IDE.
11. Reopen the solution and voila. One duplicate form!
Seems like a lot of work for a simple result, but it get the job done without errors. There are I'm sure simpler ways, but I didn't really have time to look for them. Besides solving your own problems (even if the solution isn't very elegant) has a certain charm. See ya!