Outlook 2010: Time-Reporting Tool Based on the Outlook 2010 Calendar

This code sample creates an add-in to report on time spent in tasks that are tracked in the Microsoft Outlook 2010 calendar. This add-in uses categories that you assign to appointment items for time-tracking purposes. This sample accompanies the article Creating a Simple Time

C# (50.8 KB)
 
 
 
 
 
4.8 Star
(4)
4,358 times
Add to favorites
7/25/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Using the code
    1 Posts | Last post March 11, 2013
    • I have downloaded in and even moved it to the add-in folder but I don't see how I can add this to Outlook. I have tried adding a new add on but that does not work.. What do you do with the code once you download it in order to generate a report from the calendar? 
  • Add in use, as is ?
    2 Posts | Last post January 17, 2012
    • Is it possible to download this addin into Outlook and use it as is?
      I have been searching for a tool to provide reporting on time management; utilizing Outlook itself would be the best. Thus this excel representation would be productive if its possible to get it in a format that can be used without any programming skills. Thank you.
    • Please see the attachment to this blog post:
      http://blogs.msdn.com/b/officedevdocs/archive/2011/07/20/starting-the-time-reporting-outlook-add-in.aspx
      
      Angelgolfer
  • Help
    2 Posts | Last post September 30, 2011
    • Hi, Can you help me. I do not know how to implement the code I have found for time tracking on MSDN.
      
      I have spent hours trying to figure out how to give my boss Time Tracking of Events in my Outlook Calendar weekly.
      
      I found out how to export categories from the calendar entries to excel and have start and end dates, and start and end times. But what if the calendar event took multiple days to complete. I also cannot figure out a way to have excel or outook export total time for time tracking of each calendar event. I could not figure out how to get excel through formulas to add up total time if it was over multiple dates with a start and end time. So I found the MSDN with time tracking scripts...
      
      I have Outlook 2007 with Visual Basic Express. IT would not open the .sln files to make the script work. I click run and nothing happens using the macro. I then tried to install all the newest microsoft visual basic express code packages and it gave me the error on each This code was not made for this software.
      
      What can I do, Help please, any other solutions, I do not know who to ask.
      
      These are the solutions I tried
      
      http://blogs.msdn.com/b/officedevdocs/archive/2011/05/03/time-reporting-tool-now-available-as-an-outlook-add-in.aspx
      
      http://blogs.msdn.com/b/officedevdocs/archive/2011/07/20/starting-the-time-reporting-outlook-add-in.aspx
      
      http://blogs.msdn.com//b/officedevdocs/archive/2010/10/09/a-simple-macro-to-track-your-time-in-the-outlook-calendar.aspx
      
      http://code.msdn.microsoft.com/Outlook-2010-Time-af5b0e0a/sourcecode?fileId=21287&pathId=983139435
      
      http://code.msdn.microsoft.com/Outlook-2010-Time-af5b0e0a
      
      http://code.msdn.microsoft.com/Outlook-2010-Time-af5b0e0a/sourcecode?fileId=21287&pathId=2044188824
      
      http://code.msdn.microsoft.com/Outlook-2010-Time-af5b0e0a/sourcecode?fileId=21287&pathId=1318158676
      
       
      
      Thanks,
      
      Dan
    • Hi Dan,
      Can you provide your email address by emailing to the Office Developer Docs Team (offdevdx@microsoft.com)? I can then direct you to get help for some of your coding questions. The Office Developer Docs Team provides documentation and samples for extending Office. Specific questions are sometimes answered in the Outlook Developer Forum (http://social.msdn.microsoft.com/Forums/en-US/outlookdev/threads) and by the Microsoft support team.
      
      Angelgolfer
      Office Developer Docs Team
  • Is it possible to build this with Microsoft Visual C# Express 2010
    1 Posts | Last post August 22, 2011
    • I try to open the project in Visual C# Express and get: The project type is not supported by this installation.
      
      Is it not possible to also include a binary/executable in the .zip?
  • Can this addin be enhanced more
    2 Posts | Last post July 20, 2011
    • Hi there,
      
      This tool is great for a business stand point. I need something like this to give me a report for my PM's group calendar. I was trying to search the web on a reporting tool and came accross this but this is limited to my calendar only. Just wondering if this can be enhanced more and be able to select other calendars?
      
      Regards, 
    • Hi Hannash88,
      If you want to specify a different calendar, and you know the name of the calendar folder, you can look at the example in the KB article at http://support.microsoft.com/kb/310244, under the section "Folder objects". That example shows how to traverse the folder tree. The key is to specify the name of a folder at the appropriate level in the folder tree, by using the Item property of the Folders object (http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._folders.item.aspx). In the example, you see three calls to that property:
      oFolders.Item
      In the case of the example, it starts with the root folder called "Public Folders", then the next level folder "All Public Folders", and then "My Public Folder". You can traverse your folder tree to get to the calendar folder you want.
      
      Angelgolfer