Search results

  1. J

    Outlook 2016 is killing me vol.2

    Simple task. Open new explorer and hide navigation pane. Dim Expl1 As Outlook.Explorer: Set Expl1 = Explorers.Add(folder, olFolderDisplayNoNavigation) Outlok 2010 did it without problems, 2016 crashes Outlook. olFolderDisplayFolderOnly works without crashing Outlook. So I tried ... Dim...
  2. J

    ItemChange event

    I have just implemented new boolean variable. Variable is set True in newInspector event, when the item.copy happens. When ItemChange triggers (right after newInspector), this variable ends sub. No need for calling Application_Startup().
  3. J

    ItemChange event

    Diane, you are correct. There is no error if I dont copy an item.
  4. J

    ItemChange event

    I see now, that on every error I also have to call ThisOutlookSession.Initialize_Handler Can this be a problem in heavy usage of Outlook?
  5. J

    ItemChange event

    Diane, I have added error handler and just stop sub. Everythink seems to work as it should. But I don't like it. And I am not 100% sure that its over. I still can't get it, why this event is triggerd by copy/move. And why code works step by step. Thank you for your help. George.
  6. J

    ItemChange event

    I am using code like in your example. The weirdest thing is, that the event isn't fired, if I have a break on NewInspector event, and then go thrue the code step by step. ItemChange event is only fired when code runs uninterupted.
  7. J

    ItemChange event

    Can I end sub in a event, that ItemChange cannot find item, because it has moved?
  8. J

    ItemChange event

    Hi Diane. I am moving the copy of the original item. I figure it out, that event is triggered because of moving the copy to the destination folder. That folder is not monitored for changes. But ItemChange fires anyway and it cannot find copied item. When setting object, error "An object could...
  9. J

    ItemChange event

    I also figure it out, that ItemChange goes to endless loop. Is it posible because of item.copy - item.move?
  10. J

    ItemChange event

    Hi. I have a problem with events NewInspector and ItemChange. In first event a copy, of contact being opened, is created. This copy is then moved to backup folder. The second event is triggered right after the first one, probably because of a copy created in first event. But, if I run first...
  11. J

    Outlook 2016 is killing me with object.links

    Omg Michael, you are the man. Thank you very much for this. This was driving me crazy for the last few hours. Can you also explain this difference beatween versions of Outlook?
  12. J

    Outlook 2016 is killing me with object.links

    Hello. I had to migrate my simple CRM code to Outlook 2016. Code was written in OL2010. I my code, I am depending on linking contacts (in OL2016 I had to enable this function thru registry), and retrieving information from linked contacts. But something changed in OL2016. In 2010 version, I...
  13. J

    Storing userproperties to array

    Hi Diane Array pName which stores names of custom fields in a contact, was created from a string of all the names, divided with chr(10). When I split this string in to array pName , items had string name & chr(10). So, I had to clen chr(10) from items in array. Just stupid mistake.
  14. J

    Storing userproperties to array

    Sorry all, I have just figure it out.
  15. J

    Storing userproperties to array

    Hello. I am trying to record all values on contact open event and save them to array. I have two arrays. cData, which will store data from object objContact and pName which already stores names of custom fields in contact. If I type cData(i) = objContact.UserProperties("(040) ID person") ...
Back
Top