M
mike
Hi, I'm running into a problem with VBSCRIPT classes in ASP.
I use a seperate file for each class I use. Some of these class files
are included in multiple ASP scripts, but are also included in other
include files. So if you can't see the problem already, it is that
occasionally the class file will be included twice in the same script,
relsulting in the following error:
Microsoft VBScript compilation error '800a0411'
Name redefined
/includes/classes/closableobjectlist.asp, line 2
Class ClosableObjectList
------^
Does anyone know a clean solution for this problem?
Right now I am just having to be really careful with my includes, but
if there was a way I could protect against this, I believe it would be
a much more user friendly solution.
Thank You
Mike Biang
Senior Web Application Developer
Cramer Development
I use a seperate file for each class I use. Some of these class files
are included in multiple ASP scripts, but are also included in other
include files. So if you can't see the problem already, it is that
occasionally the class file will be included twice in the same script,
relsulting in the following error:
Microsoft VBScript compilation error '800a0411'
Name redefined
/includes/classes/closableobjectlist.asp, line 2
Class ClosableObjectList
------^
Does anyone know a clean solution for this problem?
Right now I am just having to be really careful with my includes, but
if there was a way I could protect against this, I believe it would be
a much more user friendly solution.
Thank You
Mike Biang
Senior Web Application Developer
Cramer Development