Results 1 to 2 of 2

Thread: Error handling in VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    15

    Unhappy

    Hi all,

    I have an Active X DLL which contains a class. Within this call there is a method which updates the database.Now when I instantiate this DLL from another form in a Standard EXE i want to give a message to the user if the update succeeds or fails. Can anyone tell me how to do this.

    Thanks,
    Radhika

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Well, if it's a separate method, then just have it as a function which returns a Boolean depending on whether it succeeded or failed.
    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