Recent content by tcbme

  1. T

    How to determine when I switch from mail to calendar etc.

    Diane, Thanks for the tip on the ModuleSwitch event; exactly what I needed. Right now all is does is toss up a messagebox with the name of the module, but at least I know it is working. I still need to add my "real" code to hide and unhide the button based on the module but that shouldn't be...
  2. T

    How to determine when I switch from mail to calendar etc.

    After some more digging it appears that I can use the explorer object's BeforeFolderSwitch, ViewSwitch, or FolderSwitch events with some additional logic to decide when to enable the button and make it visible. I am leaning towards the ViewSwitch event. Does this sound like the corrrect approach?
  3. T

    How to determine when I switch from mail to calendar etc.

    Diane, thanks for the reply. Sorry if the questions were a bit unclear. Have a few questions about terminology if you don't mind. Sorry if these sound a little silly. Asking these now so I can make future questions more clear and I am sure there will be more questions. 1) When I first open...
  4. T

    How to determine when I switch from mail to calendar etc.

    I guess part of the problem is that I am not sure what I am switching so I am not really sure what the correct question is. Have only been writing code for Outlook for about a year so I still have a lot of learning to do. What I am really trying to accomplish: I am writing an addin that will...
  5. T

    How to determine when I switch from mail to calendar etc.

    Four basic things, Mail, Calendar, People, and Tasks; How do I detect in VBA code when I switch from one to another. Doesn't really matter which one ones. I am guessing that I have to create a wrapper with the appropriate events in it but I have not been able to figure out which event I am...
Back
Top