Results 1 to 4 of 4

Thread: Error Handler forms in a DLL?

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    Cleveland,OH
    Posts
    42

    Question

    I am working on centralizing error reporting and logging in a central DLL. I am looking to build a better msgbox in the DLL. I can add a form but how do I show form? Is this possible?
    Jason
    Senior Network Engineer
    VB 6 Ent. Edition SP5

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    What do you mean you added a form? Did you add a dialogue resource? If so, you've got a bit of work ahead of you. If you're not familiar with programming Windows in C++ I suggest you look at the Platform SDK. I can email you an example if you want.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    Cleveland,OH
    Posts
    42
    Sorry I only know VB, but here is what I have.

    VB program with central error handling in a DLL. Options in the program allow for multiple levels of logging for trouble resolution. Standard message boxes display errors. I noticed that I can add a form in the DLL. Never thought I could do it, just poking abound the other day and did it.

    The question is, can I display it? Or I guess I could just create the form at run time?
    Jason
    Senior Network Engineer
    VB 6 Ent. Edition SP5

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169

    Sorry

    You'd have to use C++ to make a standard DLL. However, you can make an ActiveX DLL in VB which contains normal forms.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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