|
-
Dec 7th, 2001, 01:27 PM
#1
Thread Starter
Hyperactive Member
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?
-
Dec 7th, 2001, 02:11 PM
#2
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.
-
Dec 7th, 2001, 02:14 PM
#3
Thread Starter
Hyperactive Member
vbGrandpa
Not sure I understand. Do you mean if you have Module1(Myfile.bas) you rename "Module1"?
Stan
-
Dec 7th, 2001, 02:18 PM
#4
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.
-
Dec 7th, 2001, 02:41 PM
#5
Thread Starter
Hyperactive Member
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
-
Dec 7th, 2001, 02:48 PM
#6
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.
-
Dec 7th, 2001, 02:50 PM
#7
Thread Starter
Hyperactive Member
Okay, now I get it. Thanks for the help.
Stan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|