Hi,
I'm using Contact.GetPicture to get Outlook contact's picture. a null value is returned if there is no contact picture.
The issue is that Null value causes a 'NullReferenceException' error when creating a BitmapEx object with Contact.GetPicture null value result .
I cannot find a way to identify a Contact.GetPicture null value to prevent the error.
Thanks for acknowledgement. Looking back, my reply strikes me as being snotty in tone; sorry for that! Maybe I thought that someone dealing with contacts would have sorted the sometimes obscure help structure.
Hi Mike,
Not a problem. You are right, I was suppose to be ware of the IsNull function.
I'm doing a huge project that really push the limits of Basic4PPC. I'm using almost all the libraries, I used IsNull function in two other modules and still missed it! Probably I was too tired ...
Hey, you have to feel good - you helped me to go out of my issue.