

- Microsoft monthview control 6. how to#
- Microsoft monthview control 6. 64 Bit#
- Microsoft monthview control 6. 64 bits#
- Microsoft monthview control 6. code#
Sound complicated? Not really, as you will learn later. This way we will assure good functionality of the Month View control under any condition. an Excel file) it will check whether the user is having valid references to the resources needed, if not, the user will be asked to correct the problem (automatically) and only then he will be able to use the file with the DatePicker. The Brick House strategy (which I presented here) will enable using files by single users or by many users, regardless if the file is local or shared on a network.
Microsoft monthview control 6. code#
Here the user is asked to do a one-time initialization process before he can use the file (you can simplify the below code to follow this functionality). The Wood House strategy is similar to the Straw House strategy but it will also suit the use of files by many users over a network. In this case we will ask the user to do some initialization process for the first time the file is used (you can simplify the below code to follow this functionality). The Straw House strategy may define a solution, best suited for single users, and of files which are always located on the same computer. One may think on 3 different strategies which I will call the Straw House, the Wood House and the Brick House strategies.
Microsoft monthview control 6. how to#
Note: It will not show how to call the DatePicker from Excel since this issue is well covered by others (Google it). The presented solution was implemented in an Excel file, the most common use of the DatePicker. In the following sample I will present a solution to this problem that was already tested on different OS with different Office versions, on a standalone PC or on networks.

an Excel file with macros) is placed and used from a remote server by other users. Even after thoroughly debugging an application it may later function erratically for some users.
Microsoft monthview control 6. 64 bits#
Particularly for applications that must run on different OS of 32 and 64 bits and Office versions of 32 and 64 bits (yes the hassle of where the hell should I save resources, in System32 or SysWOW64?). The reason for this stability issues stems from the fact that creating this ‘solid’ reference is a tricky, almost impossible mission with today OS. In order to use this control it is necessary to establish a ‘solid’ reference to the ActiveX file mscomct2.ocx. Unfortunately I was unable to find one solid solution that will solve the annoying stability issues accompanying this control and so I decided to present a solution to this problem that is completely resilient to user’s environment variations.

The number of threads on this subject are countless. I was surprised to see that so many users are looking for solutions and guidelines on how to use the well known and beloved Date-Picker (or as it is formally named: MonthView ActiveX control). Recently I was asked to design an Excel file with integrated MontView control. 64-bit Office 2010 does not provide 64-bit versions of the Common Controls.Download Introduction (for those who like to read) An alternative must be found for existing Microsoft Office VBA solutions that utilize these controls when the code is migrated to 64-bit Office 2010. This includes the common controls of MSComCtl (TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListViews, ImageList, Slider, ImageComboBox) and the controls of MSComCt2 (Animation, UpDown, MonthView, DateTimePicker, FlatScrollBar).These controls were installed by previous versions of Microsoft Office and are installed by 32-bit Office 2010. Native 64-bit processes in Office 2010 cannot load 32-bit binaries. You can search for an alternative solution. You can contact the vendor for an updated version, If you have the source code, you can generate a 64-bit version yourself, For ActiveX controls and COM objects, there are three possible solutions:
Microsoft monthview control 6. 64 Bit#
MS and other OEM 32 bit controls are not compatible with 64 bit office (not 64 bit Windows)ĪctiveX Control and COM Add-in Compatibility Existing 32-bit ActiveX controls, both third-party and Microsoft-supplied, are not compatible with the 64-bit version of Office 2010.
