Results 1 to 6 of 6

Thread: Use dll from asp

  1. #1
    Guest

    Post

    Because ASP didn't support Format in VB, thus I build a active x dll so that ASP can use to call it. But after i build the dll I can't call it, can someone help it.

    Thank first!

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    In order for ASP create an instance of your DLL, it has to reside on the server side.

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    register the DLL on the server, then use

    dim objMyDLL
    dim varReturnVal

    set objMyDLL = Server.CreateObject("MyDLL.MyClass")

    varReturnVal=objMyDLL.DoSomething(Param1, Param2)

    Response.Write varReturnVal

    [This message has been edited by Clunietp (edited 12-13-1999).]

  4. #4
    Lively Member
    Join Date
    Oct 1999
    Posts
    66

    Post

    I have the same problem. How do I register the dll on the server? I'm using a server that's not mine (thunder.prohosting.com).

  5. #5
    Guest

    Post

    Q1
    I can register the using regsvr32 in my pc but how can the dll can be used in the client side when the client open the page with the browser?
    Q2
    when I package the vb project and transfer to client pc, why it can't run. It only run when I install vb on the client pc. Wat dll need to include beside the dll for the project?

    Thanks first and also for the answer.

  6. #6
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Bart -- regsvr32.exe \\ComputerName\ShareName\FileName.dll

    Dany --
    Client will also need the VB Runtimes along with any dependancies that your DLL has otherwise

    [This message has been edited by Clunietp (edited 12-14-1999).]

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