[mso] Re: Rules don't rule

  • From: "Green" <1z@xxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 8 Oct 2003 14:18:03 +0200

Hi Greg,

You must be glued to that computer the answer came back so quickly!!

Thank you thank you.

That's a really good method of using On Error Resume Next. I thought that
the point of using on error at all though was to "centralize" error
handling... Not that On Error does that good a job. I tried to write a
"global" error handler once and just gave up. This method localizes the
error to specific problems... could still mean a lot of duplicatwe code
though maybe.

>Holy Hex Code, Batman!!
My original training was in octal :-)

I'm going to check out spambayes.... thanks.

I don't know if this is useful but the code attached to the event as I've
set it up checks all incoming email.
Given that, perhaps it's possible to check for >NewItem.Attachments.Count =
0< or attachements and code the action in the same procedure ( I hate the
word "macro" ).
The end result (reductio ad absurbum) would eventually be another rules
wizard but would probably work fine.

>No need for that.
Yes there is.
Credit where it's due Greg.

>Option explicit
I think this is a choice and there isn't much else in VB anyway. I use it
because I've found that I *do* forget sometimes and I *do* have thick
fingers sometimesespecially after a good night! I agree that the typing is
practically non existent. I try to stick with naming conventions and all
that but because I ummm ... steal ... code from so many places ( I'm not
really very clever ) I end up rewriting most of it anyway!! :-)

>actually defeats some of your error handling
????

>you'll rarely find an experienced VBScripter who will use Error Handling
AND Option Explicit
Greg, I'm the only one I know and I'm not all that experienced. It seems
very vain though to deliberately leave something out that *may* help... Like
not signaling at turns because there's no one to see... Personally I need
all the help I can get.


Regards
Lisa

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: