Outlook Calendar Views error

  • Thread starter Thread starter Sairy Gamp
  • Start date Start date
S

Sairy Gamp

Any ideas of how to get around this?

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Value does not fall within the expected range.
at Microsoft.Office.Core.CommandBarControls.get_Item(Object Index)
at OCV.CalendarFilter.UpdateLabelNames()
at OCV.CalendarFilter.CalendarFilter_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
OCV
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Office%20Tools/Outlook%20Calendar%20Views/OCV.DLL
----------------------------------------
Extensibility
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Extensibility/7.0.3300.0__b03f5f7f11d50a3a/Extensibility.dll
----------------------------------------
Microsoft.Office.Interop.Outlook
Assembly Version: 11.0.0.0
Win32 Version: 11.0.5530
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Microsoft.Office.Interop.Outlook/11.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll
----------------------------------------
office
Assembly Version: 11.0.0.0
Win32 Version: 11.0.5530
CodeBase:
file:///C:/WINDOWS/assembly/GAC/office/11.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
stdole
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase:
file:///C:/WINDOWS/assembly/GAC/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Never mind....error was because I was trying to create a calendar view from
a table view of the calendar. This brings up the real problem: How do I
get a calendar view to display in a table format. Any other form is useless
to me. I want to use the view to create a timesheet. I have created a
category for each client and then used the label 'billable' to not whether
the time was billable.

Anyone have any ideas of how to accomplish this.
 
Please explain what you mean by "How do I get a calendar view to display in a table format." We don't know whether you're trying to create a new view, show an existing view, etc.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
If I use the Calendar View Add-in it creates a view as a Day/Week/Month
type. I need a View Type - Table so that I can copy the appropriate entries
into an Excel Spreadsheet.


Please explain what you mean by "How do I get a calendar view to display in
a table format." We don't know whether you're trying to create a new view,
show an existing view, etc.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Create a new table view with the View | Arrange By | Current View | Define Views command.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Somehow I'm not communicating..... I know how to create a table view of a
calendar but that does not use the functionality of the Calendar Add-in -
specifically limiting the view to the a specific label and a specific
category.

I want to use the Add-In (the title of this forum) to create a table. It
appears that the only view that the add-in creates is a Day/Week/Month.

Please advise if there is a way to create a table in the Calendar Add-in.

Create a new table view with the View | Arrange By | Current View | Define
Views command.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Your posts are quite comprehensible. Maybe you just don't want to accept the limitations implied by the answers you're getting. Let me try to make it as simple as I can:

-- The add-in is a separate program. You as the user cannot add new features to it.
-- If you say it creates only day/week/month views, I'll take your word for it since I don't have it installed here.
-- Therefore, you can't use the add-in to make table views.
-- Therefore, you need to create table views with the filters you want either manually or by writing your own code.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Your most gracious reply is welcome. Silly me, I thought that since the
title of this forum was Outlook Addins that my question would predispose any
responses to that limitation.

All you needed to say was that the Calendar Add-in does not create tables.

Furthermore, since you don't have it installed how can you responsibly
answer any questions related to the add-in?

This is not my usual experience with anyone who has earned the title MVP.
Hope it does not foretell any degradation in Microsoft certification.

Does anyone who has used or has experience with the Calendar Add-in have any
further information?

Your posts are quite comprehensible. Maybe you just don't want to accept the
limitations implied by the answers you're getting. Let me try to make it as
simple as I can:

-- The add-in is a separate program. You as the user cannot add new
features to it.
-- If you say it creates only day/week/month views, I'll take your word
for it since I don't have it installed here.
-- Therefore, you can't use the add-in to make table views.
-- Therefore, you need to create table views with the filters you want
either manually or by writing your own code.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
This particular forum is for questions about creating Outlook add-ins. If you want to ask *users* (not programmers) about their experience with the same add-in, I'd suggest that you post in the microsoft.public.outlook.calendar group, include the name of the add-in in the title of your post, and include a URL to the add-in for those who read your post and might want to try it.

MVP is not a certification. Read about it here:

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top