Trapping COM errors in ASP

Results 1 to 3 of 3

Thread: Trapping COM errors in ASP

  1. #1
    BMonday Guest

    Default Trapping COM errors in ASP

    Hi,<BR><BR>I have the desire to trap, and act upon, errors returned by a COM object written in C. The way I do it in VB is not working in VBScript. Is there a resource I can go to that will show me the best way of doing this?<BR><BR>Thanks in advance,<BR>Beau

  2. #2
    Join Date
    Dec 1969

    Default RE: Trapping COM errors in ASP

    what method are you using in VB? it may well be unavailable to VBScript. <BR><BR>there are a lot of resources on the web - search for them<BR><BR>jason

  3. #3
    BMonday Guest

    Default RE: Trapping COM errors in ASP

    Well, in VB you do something like:<BR><BR>strError = ComObject.DoYourThing(parameter, parameter, parameter...)<BR><BR>Then strError captures the return value of the COM Object.<BR><BR>This does not work in VBScript. Well, it does not work for me.<BR><BR>Thanks,<BR>Beau

Posting Permissions

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