Results 1 to 5 of 5

Thread: *RESOLVED*Using a custom DLL in ASP?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    Someplace 'ore the rainbow
    Posts
    392

    *RESOLVED*Using a custom DLL in ASP?

    I was wondering how I would use a DLL I created with an ASP script. I tried Server.CreateObject("dllname") but it said it couldn't find the class name. I've put the DLL in the C:\WINDOWS\SYSTEM32 directory and have registered it.

    Any help would be much appreciated,
    cjqp
    Last edited by cjqp; Jan 6th, 2004 at 11:14 AM.

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Did you create the DLL? Or is it third party?If you have created it, it would be like


    server.createobject("Projectname.ClassName")

    If its third party dll then check the documentation, the class name would be there.

    Usually its CompanyName.ProductName

    eg.

    Danial.DBGrid
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    Someplace 'ore the rainbow
    Posts
    392
    Ahh, thank you very much, was only providing the project name.

    cjqp

  4. #4
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279
    You don't have to put the DLL into the C:\Windows\System directory. All you have to do is register it with windows using Regsvr32.exe

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    Someplace 'ore the rainbow
    Posts
    392
    Ah, makes sense. But I put it there since I know its the main DLL directory and I was trying anything to get my script to work.

    cjqp

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