New to Components

Results 1 to 2 of 2

Thread: New to Components

  1. #1
    Join Date
    Dec 1969

    Default New to Components

    I am trying to create a component that returns an ADO Connection object. My problem is that whenever people pass parameters that don&#039t create a good connection I am unable to pass the error messages from Connection.Error back to the asp page. Can anyone help me with this?

  2. #2
    Join Date
    Dec 1969

    Default RE: New to Components

    in the vb method that creates the ADO Connection add the following text "On Error Resume Next" Then Simply error trap for that specific error and do what ever you want once the error occurs. Or you can simply create a speperate method that deals with all errors and and the following text to any method you wish "On Error GoTo ErrorHandlingMethodName" - <BR><BR>good luck<BR><BR>bart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts