I have tried using MMM and Visual Studio 2008 to generate a .MANIFEST file to "reg-free-com"-consume the MSCOMCTL.OCX and MSCOMCT2.OCX activex libraries.
Specifically, I'm using the TreeView and DateTimePicker controls.
On Vista, it almost works correctly: The tree populates via code and displays correctly, and the datetimepicker properly displays the date that is assigned via code.
However, both controls are then completely unresponsive to the mouse... click all I like, and nothing happens.
If I just run "REGSVR32 MSCOMCTL.OCX" and "REGSVR32 MSCOMCT2.OCX", then they both work perfectly!
Does anyone know what's wrong with my .MANIFEST?
Here it is:
- Bill
Get the best answers to your questions -- See FAQ481-4875.
Specifically, I'm using the TreeView and DateTimePicker controls.
On Vista, it almost works correctly: The tree populates via code and displays correctly, and the datetimepicker properly displays the date that is assigned via code.
However, both controls are then completely unresponsive to the mouse... click all I like, and nothing happens.
If I just run "REGSVR32 MSCOMCTL.OCX" and "REGSVR32 MSCOMCT2.OCX", then they both work perfectly!
Does anyone know what's wrong with my .MANIFEST?
Here it is:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity name="GTWIN.EXE" processorArchitecture="X86" type="win32" version="15.00.38.0" />
<file name="mscomctl.ocx">
<typelib tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" version="2.0" flags="CONTROL,HASDISKIMAGE" helpdir="" />
<comClass clsid="{1EFB6596-857C-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.TabStrip" description="Microsoft TabStrip Control">
<progid>MSComctlLib.TabStrip.2</progid>
</comClass>
<comClass clsid="{66833FE6-8583-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.Toolbar" description="Microsoft Toolbar Control">
<progid>MSComctlLib.Toolbar.2</progid>
</comClass>
<comClass clsid="{8E3867A3-8586-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.SBarCtrl" description="Microsoft StatusBar Control">
<progid>MSComctlLib.SBarCtrl.2</progid>
</comClass>
<comClass clsid="{35053A22-8589-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.ProgCtrl" description="Microsoft ProgressBar Control">
<progid>MSComctlLib.ProgCtrl.2</progid>
</comClass>
<comClass clsid="{C74190B6-8589-11D1-B16A-00C0F0283628}"
tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}"
threadingModel="Apartment"
progid="MSComctlLib.TreeCtrl"
description="Displays a hierarchical list of Node objects, each of which consists of a label and an optional bitmap."
miscStatus="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,setclientsitefirst"
>
<progid>MSComctlLib.TreeCtrl.2</progid>
</comClass>
<comClass clsid="{BDD1F04B-858B-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.ListViewCtrl" description="Displays a collection of ListItems such as files or folders.">
<progid>MSComctlLib.ListViewCtrl.2</progid>
</comClass>
<comClass clsid="{2C247F23-8591-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.ImageListCtrl" description="Contains a collection of ListImage objects, each of which can be referred to by its index or key">
<progid>MSComctlLib.ImageListCtrl.2</progid>
</comClass>
<comClass clsid="{F08DF954-8592-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.Slider" description="A calibrated control with a slider for setting or selecting values.">
<progid>MSComctlLib.Slider.2</progid>
</comClass>
<comClass clsid="{DD9DA666-8594-11D1-B16A-00C0F0283628}" tlbid="{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComctlLib.ImageComboCtl" description="Microsoft ImageComboBox Control">
<progid>MSComctlLib.ImageComboCtl.2</progid>
</comClass>
</file>
<file name="MSCOMCT2.OCX">
<typelib tlbid="{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}" version="2.0" flags="CONTROL,HASDISKIMAGE" helpdir="" />
<comClass clsid="{B09DE715-87C1-11D1-8BE3-0000F8754DA1}" tlbid="{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComCtl2.Animation" description="Animation Control">
<progid>MSComCtl2.Animation.2</progid>
</comClass>
<comClass clsid="{603C7E80-87C2-11D1-8BE3-0000F8754DA1}" tlbid="{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComCtl2.UpDown" description="UpDown Control">
<progid>MSComCtl2.UpDown.2</progid>
</comClass>
<comClass clsid="{232E456A-87C3-11D1-8BE3-0000F8754DA1}"
tlbid="{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComCtl2.MonthView" description="Microsoft MonthView Control" miscStatus="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,setclientsitefirst">
<progid>MSComCtl2.MonthView.2</progid>
</comClass>
<comClass clsid="{20DD1B9E-87C4-11D1-8BE3-0000F8754DA1}"
tlbid="{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}"
threadingModel="Apartment"
progid="MSComCtl2.DTPicker"
description="Microsoft Date and Time Picker Control"
miscStatus="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,setclientsitefirst"
>
<progid>MSComCtl2.DTPicker.2</progid>
</comClass>
<comClass clsid="{FE38753A-44A3-11D1-B5B7-0000C09000C4}" tlbid="{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}" threadingModel="Apartment" progid="MSComCtl2.FlatScrollBar" description="Microsoft Flat Scrollbar Control">
<progid>MSComCtl2.FlatScrollBar.2</progid>
</comClass>
</file>
</assembly>
- Bill
Get the best answers to your questions -- See FAQ481-4875.