-
Name Conflict
I have an application where I am making a new version. I copied the existing modules, forms, etc into a new directory. When I go to load the original application I get an error - "Name conflicts with an existing module, project, or object library". What's the best way of creating a new instance of an existing application?
-
When I get that error (and it happens frequently) I edit out the
"Module number" line with a text edittor. Hope this is what you're talking about.
-
vbGrandpa
Not sure I understand. Do you mean if you have Module1(Myfile.bas) you rename "Module1"?
Stan
-
If you and I are talking about the same thing,here's what to do.
Go to the start button and from the RUN line, type RUN Notepad your modual.bas.
The first line will be Module somenumber.
Take out this line.
Then add the module back into the project.
-
Boy, I'm feeling dense. I can run Notepad ffom the Run but how are you accessing the Module in Notepad? Couldn't I just rename Module1 to ABCD directly?
Appreciate your time
Stan
-
Use a text editor and look at yourfile.bas.
It'll look something like this:
Attribute VB_Name = "Module3"
Public FileCheckedOut As Boolean
Take out the first line.
-
Okay, now I get it. Thanks for the help.
Stan