Results 1 to 3 of 3

Thread: classes ASP

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    u.s.a
    Posts
    127
    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.

  2. #2
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    u.s.a
    Posts
    127
    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
  •  



Click Here to Expand Forum to Full Width