![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
In article ,
=?Utf-8?B?UiBGb3VydA==?= wrote: And is it true that there is no error handler in VB Script? You have to code your own error handler. Most just put in On Error, do next. Hollis D. Paul [MVP - Outlook] Mukilteo, WA USA |
#2
|
|||
|
|||
![]()
I think you mean On Error Resume Next, Hollis.
Robert, once you add On Error Resume Next, you can also add checkpoints where you think the code might encounter an error and test for the error condition: If Err 0 Then ' there is an error ' do something about it ' then clear it Err.Clear End If -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Hollis D. Paul" wrote in message ... In article , =?Utf-8?B?UiBGb3VydA==?= wrote: And is it true that there is no error handler in VB Script? You have to code your own error handler. Most just put in On Error, do next. Hollis D. Paul [MVP - Outlook] Mukilteo, WA USA |
#3
|
|||
|
|||
![]()
Thanks Sue,
I had already stumbled my way through that. Pretty cludgy though, of course my code has no places where an error might occur....ahem! "Sue Mosher [MVP-Outlook]" wrote: I think you mean On Error Resume Next, Hollis. Robert, once you add On Error Resume Next, you can also add checkpoints where you think the code might encounter an error and test for the error condition: If Err 0 Then ' there is an error ' do something about it ' then clear it Err.Clear End If -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Hollis D. Paul" wrote in message ... In article , =?Utf-8?B?UiBGb3VydA==?= wrote: And is it true that there is no error handler in VB Script? You have to code your own error handler. Most just put in On Error, do next. Hollis D. Paul [MVP - Outlook] Mukilteo, WA USA |
#4
|
|||
|
|||
![]()
In article , Sue Mosher
[MVP-Outlook] wrote: I think you mean On Error Resume Next, Hollis. Yes, indeed I did. I was groping for the right words, but they wouldn't appear at my fingertips. But I figured any VB programmer could figure it out. Thanks for filling in the senior moment lapse. Hollis D. Paul [MVP - Outlook] Mukilteo, WA USA |
Thread Tools | Search this Thread |
Display Modes | |
|
|