A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

NULL event item ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 19th 07, 12:46 AM posted to microsoft.public.developer.outlook.addins,microsoft.public.outlook.program_addins
Mark Beiley
external usenet poster
 
Posts: 22
Default NULL event item ?

What are possible reasons why I would get a NULL event item returned from a
call to the Item() member function of the Items for a calendar? My code
goes something like this:

pCalendar = pNameSpace-GetDefaultFolder(olFolderCalendar);
pItems = pCalendar-GetItems();
nRecCount = pItems-Count;

for(i=1; i=nRecCount; i++)
{
pApptItem = pItems-Item(i);
}

On most machines, I never see a problem, but on one customer's machine
'pApptItem' is NULL for every event? I'm at a loss as to why, or how I can
figure out more information about these events?

Thanks
Mark
--
Beiley Software
http://www.beiley.com


Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Item Unload Event Doesn't Fire Tim Pulley Add-ins for Outlook 3 May 16th 07 05:42 PM
Explorer closing before Item Add event fires?? AndyK Outlook and VBA 3 November 3rd 06 03:22 PM
catch the mail item on_focus event john Outlook and VBA 1 September 28th 06 01:33 PM
Item Open event does not occurs every time sfradel Add-ins for Outlook 1 September 2nd 06 05:33 PM
Item Move event AtulSureka Outlook and VBA 1 February 24th 06 02:33 PM


All times are GMT +1. The time now is 08:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.