Results 1 to 8 of 8

Thread: DLL Problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2001
    Location
    UK
    Posts
    158

    DLL Problem

    Ho do u check for errors on a DLL. I have created a DLL and now want to use it on web. but I keep on getting this error Method~of Object~Failed .
    Is there a way to check the dll in run mode using VB.

    [vbcode] On Error GoTo VBForums[/vbcode]
    www27.brinkster.com/muditha

  2. #2
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342
    please answer this one. I have the same problem. My dll gives no errors, but I know problems are happening. How can I check for errors???

  3. #3
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    There all kinds of ways that you can handle errors. You can return error codes to the client application, raise events, or just resume next pass the error. It's a matter of preference.

  4. #4
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Horst
    Posts
    262
    Start a new project
    Add the DLL-project
    Call the DLL from the MAIN project
    TADA: Error=true or something like it...

    DLL sounds creepy just think of it as a module, a very global module :-)

    Regards,

    visualsander

  5. #5
    New Member
    Join Date
    Nov 2001
    Location
    Sri Lanka
    Posts
    5
    adding the dll project to the main project better one, remove reference before adding...

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jun 2001
    Location
    UK
    Posts
    158
    can u give me the code how to do it ?. I have added the DLL Project to another project now what's the code ?
    [vbcode] On Error GoTo VBForums[/vbcode]
    www27.brinkster.com/muditha

  7. #7
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    just treat it like u were using a compiled dll

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Jun 2001
    Location
    UK
    Posts
    158
    he he

    what's the code ?
    [vbcode] On Error GoTo VBForums[/vbcode]
    www27.brinkster.com/muditha

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