|
-
Nov 8th, 2000, 12:31 PM
#1
Thread Starter
Lively Member
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.
-
Nov 8th, 2000, 01:44 PM
#2
Addicted Member
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.
-
Nov 8th, 2000, 02:11 PM
#3
Thread Starter
Lively Member
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.
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
|