-
A few questions:
1. when I use the createobject function in an asp page, does the file I am creating have to exist as a registered dll file in windows\system or can it just be a dll in the directory of the asp page.
2. is there a nother way to create these objects?
3. Can I create classes in vbscript?
Thanks.
Dan.
-
answers for 1 and 2
You have to register the DLL. also you need to use server.createobject instead of just createobject. As far as I know, that is the only way to initialize com objects in an asp page. I dont believe you can create classes themselves in asp but there are way to perform similiar functionality.
-
There is a way to create classes with in the asp page itself by:
class ClassNmae
End class
But this is unreliable and completly undocumented.
Thanks.
Dan.