I have a form "Search.frm" in my vb6 project. I want to add the same form with a different name "SearchNew.frm". I copied the form "Search.frm" and renamed to "SearchNew.frm" and tried to add to the project. But it is giving me an error "Search.frm will not be loaded. Name is already in use". Can anybody please help? Thank you.
You cannot add multiple forms in a VB project.
Select Visual Studio menu Project -> Add Existing Item... Then select (browse) in the file dialog the Form. cs (Form = name of the form) you want to add to the project and the form (with all associated files) is (copied and) added to your project.
To summarize the excellent answers and comments above:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With