<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>mscomctl-ocx &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/mscomctl-ocx/</link>
	<description>Feed of posts on WordPress.com tagged "mscomctl-ocx"</description>
	<pubDate>Wed, 19 Jun 2013 23:55:17 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Empty Drop Down Lists in MSCOMCTL Properties UI]]></title>
<link>http://armaitus.wordpress.com/2012/10/08/empty-drop-down-lists-in-mscomctl-properties-ui/</link>
<pubDate>Mon, 08 Oct 2012 17:55:18 +0000</pubDate>
<dc:creator>armaitus</dc:creator>
<guid>http://armaitus.wordpress.com/2012/10/08/empty-drop-down-lists-in-mscomctl-properties-ui/</guid>
<description><![CDATA[As I&#8217;ve touched on before, I look after a CRM/ERP system that I wrote in Visual FoxPro. As rob]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://armaitus.files.wordpress.com/2012/02/vfp1.png"><img class="alignright  wp-image-1852" title="Visual FoxPro" src="http://armaitus.files.wordpress.com/2012/02/vfp1.png?w=180&#038;h=135" alt="Visual FoxPro" width="180" height="135" /></a>As I&#8217;ve <a href="http://wp.me/pOc3v-tP" target="_blank">touched on before</a>, I look after a <a class="zem_slink" title="Customer relationship management" href="http://en.wikipedia.org/wiki/Customer_relationship_management" rel="wikipedia" target="_blank">CRM</a>/ERP system that I wrote in <a class="zem_slink" title="Visual FoxPro" href="http://msdn.microsoft.com/vfoxpro" rel="homepage" target="_blank">Visual FoxPro</a>.</p>
<p style="text-align:justify;">As robust as the system is, I occasionally have to dip in and add a new feature or tweak one of the existing ones.</p>
<p style="text-align:justify;">Last week I opened up the project to add a few new interfaces and came across a rather frustrating bug &#8211; not with Visual FoxPro but with some of the <a class="zem_slink" title="ActiveX" href="http://en.wikipedia.org/wiki/ActiveX" rel="wikipedia" target="_blank">ActiveX controls</a> that I use.</p>
<p style="text-align:justify;">I make extensive use of &#8220;<a class="zem_slink" title="Microsoft" href="http://www.microsoft.com" rel="homepage" target="_blank">Microsoft&#8217;s</a> Common Controls&#8221; and have done for over twelve years.</p>
<p style="text-align:justify;">I use all sorts of controls in my Visual FoxPro applications but Microsoft&#8217;s Listviews and Treeviews are so ingrained in my CRM package that most people wouldn&#8217;t recognise it as FoxPro at all.</p>
<p style="text-align:justify;">I have a few handy subclasses of Listviews set up for use, so imagine my surprise when I drop one onto my latest form and try to add a couple of  new columns, only to be told that I had entered an &#8220;Invalid Property Value&#8221;.</p>
<p style="text-align:justify;"><a href="http://armaitus.files.wordpress.com/2012/10/beforeandafter2.jpg"><img class="alignleft size-medium wp-image-2102" title="ListView general properties Before and After" src="http://armaitus.files.wordpress.com/2012/10/beforeandafter2.jpg?w=300&#038;h=136" alt="ListView general properties Before and After" width="300" height="136" /></a>All I had done was add a Column Header, name it, size it and click Apply.</p>
<p style="text-align:justify;">It was then that I noticed that the &#8220;Alignment&#8221; <a class="zem_slink" title="Drop-down list" href="http://en.wikipedia.org/wiki/Drop-down_list" rel="wikipedia" target="_blank">drop down list</a> was empty, no default value and no contents.</p>
<p style="text-align:justify;">Now I won&#8217;t say that this was a show-stopper.  I could still add columns programmatically and the overall application didn&#8217;t seem to be affected in any way.  Listviews and Treeviews still operated as expected in the live application &#8211; I just couldn&#8217;t use the Properties dialogue to change anything that required an entry from one of the drop down lists.</p>
<p style="text-align:justify;">My first attempt at googling the problem turned up nothing of use, so I posted for advice from places like the <a href="http://www.universalthread.com/" target="_blank">Universal Thread</a> and <a href="http://www.daniweb.com/" target="_blank">DaniWeb</a>.</p>
<p style="text-align:justify;">After the weekend there was no response on either forum so I tried a change of tack, googling instead for Microsoft updates that may have affected MSCOMCTL.OCX (one of the physical files that provide Microsoft&#8217;s Common Controls Library).</p>
<p style="text-align:justify;"><a href="http://armaitus.files.wordpress.com/2012/10/beforeandafter1.jpg"><img class="alignright size-medium wp-image-2101" title="ListView Column Headers Before and After" src="http://armaitus.files.wordpress.com/2012/10/beforeandafter1.jpg?w=300&#038;h=136" alt="ListView Column Headers Before and After" width="300" height="136" /></a>As it happens, I haven&#8217;t edited any of my Visual FoxPro applications for a good couple of months.  Most functionality is held in <a class="zem_slink" title="Microsoft SQL Server" href="http://www.microsoft.com/sqlserver" rel="homepage" target="_blank">SQL Server 2008</a> and new features tend to be held back for inclusion in new <a class="zem_slink" title="Web application" href="http://en.wikipedia.org/wiki/Web_application" rel="wikipedia" target="_blank">web based applications</a>.</p>
<p style="text-align:justify;">There was a security update, released August 14th 2012, <a href="http://support.microsoft.com/kb/2720573" target="_blank">MS12-060</a>.  Apparently, a vulnerability in Windows Common Controls could allow remote code execution.</p>
<p style="text-align:justify;">Good to know, especially when <a href="http://www.fmsinc.com/microsoftaccess/controls/mscomctl/index.htm" target="_blank">the first site that informs me of this</a> also verifies that the security update can mess with the library and stop it working in <a class="zem_slink" title="Visual Basic" href="http://msdn.microsoft.com/vbasic/" rel="homepage" target="_blank">Visual Basic 6.0</a>.</p>
<p style="text-align:justify;">So, I figure my problem is likely caused by the same update and carry on reading various <a href="http://www.tailoredsoftware.com/mscomctl-issue-resolved" target="_blank">posts</a> and <a href="http://darrenmyher.wordpress.com/2012/08/17/august-14-2012-mscomctl-ocx-security-update-problems" target="_blank">blog entries with fixes</a>.</p>
<p style="text-align:justify;">Microsoft have released fixes themselves:</p>
<ul style="text-align:justify;">
<li><a href="http://support.microsoft.com/kb/2597986" target="_blank">Office 2010 SP1</a></li>
<li><a href="http://support.microsoft.com/kb/2687441" target="_blank">Office 2007 SP2/SP3</a></li>
<li><a href="http://support.microsoft.com/kb/2687323" target="_blank">Office 2003 SP3</a> (or Office 2003 Web Components SP3)</li>
</ul>
<p style="text-align:justify;">But, to be fair, I used the manual fix without any problems.  A couple of sources suggested this and it worked a treat for me.</p>
<ol style="text-align:justify;">
<li>Unregister your mscomctl.ocx from wherever yours is kept (System32 or SysWOW64).</li>
<li>Rename your current version to something temporary.</li>
<li>Copy an older version to the same folder.</li>
<li>Register it.</li>
<li>Unregister it.</li>
<li>Rename the copy of the older version (or delete it).</li>
<li>Rename the original to mscomctl.ocx.</li>
<li>Register it one final time.</li>
</ol>
<p style="text-align:justify;">I&#8217;ve also created a batch file to do this on my client PCs, in case they do start to have issues with the various Lists and Trees used in the platform.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Component MSCOMCTL.OCX not correctly registered]]></title>
<link>http://choorucode.com/2012/09/10/component-mscomctl-ocx-not-correctly-registered/</link>
<pubDate>Mon, 10 Sep 2012 12:30:12 +0000</pubDate>
<dc:creator>Ashwin</dc:creator>
<guid>http://choorucode.com/2012/09/10/component-mscomctl-ocx-not-correctly-registered/</guid>
<description><![CDATA[MSCOMCTL.OCX error dialog Problem After I installed MP3Gain on Windows 8 and executed it, it threw t]]></description>
<content:encoded><![CDATA[<div id="attachment_2772" class="wp-caption aligncenter" style="width: 507px"><a href="http://choorucode.files.wordpress.com/2012/09/20120910-component-error.png"><img class="size-full wp-image-2772" title="20120910-component-error" src="http://choorucode.files.wordpress.com/2012/09/20120910-component-error.png?w=497&#038;h=172" alt="" width="497" height="172" /></a><p class="wp-caption-text">MSCOMCTL.OCX error dialog</p></div>
<p><strong>Problem</strong></p>
<p>After I installed <strong>MP3Gain</strong> on <strong>Windows 8</strong> and executed it, it threw this error:</p>
<blockquote><p>Component &#8216;MSCOMCTL.OCX&#8217; or one of its dependencies not correctly registered: a file is missing or invalid</p></blockquote>
<p><strong>Solution</strong></p>
<p>This error is caused because either the file <strong>MSCOMCTL.OCX</strong> is missing or it is not registered with the registry. To fix it, try the following:</p>
<ol>
<li>Find a copy of this file. You might find this file somewhere among your Windows application directories or can be found online. Place the file in a directory which will not be tampered with.</li>
<li>Open a command prompt with Administrator privileges.</li>
<li>Register the file by using the <strong>regsvr32</strong> command: <code>regsvr32 C:\path\to\MSCOMCTL.OCX</code></li>
</ol>
<p>After the registration is successful, run the application again and it should execute without throwing this error.</p>
<p><strong>Tried with:</strong> Windows 8 x64 and MP3Gain 1.2.5</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Computer Tip: VBA error after installing Microsoft security update MS12-060]]></title>
<link>http://ebraiter.wordpress.com/2012/08/17/computer-tip-vba-error-after-installing-microsoft-security-update-ms12-060/</link>
<pubDate>Fri, 17 Aug 2012 23:04:10 +0000</pubDate>
<dc:creator>ebraiter</dc:creator>
<guid>http://ebraiter.wordpress.com/2012/08/17/computer-tip-vba-error-after-installing-microsoft-security-update-ms12-060/</guid>
<description><![CDATA[Microsoft release security update MS12-060 on August 14. This security update replaced security upda]]></description>
<content:encoded><![CDATA[<p>Microsoft release security update MS12-060 on August 14. This security update replaced security update MS12-027. If you see the error &#8220;Unspecified Automation Error&#8221; when running your Microsoft Office VBA code after installing MS12-060, you need to re-register MSCOMCTL.OCX. To do this, follow these steps:</p>
<p>1. For Windows Vista and Windows 7, open an administrative-level command prompt. To do this, click on the Start menu, scroll in the menu and find the <strong>Accessories</strong> folder. In the <strong>Accessories</strong> folder look for <strong>Command Prompt</strong>.<br />
Right click on <strong>Command Prompt</strong> and then left click on <strong>Run as administrator</strong>. A black command prompt opens in a window.</p>
<p>2. If the error is on a 64-bit machine, type the following:</p>
<p>regsvr32.exe /u  C:\Windows\SysWOW64\MSCOMCTL.OCX<br />
regsvr32.exe  C:\Windows\SysWOW64\MSCOMCTL.OCX</p>
<p>If the error is on a 32-bit machine, type the following:</p>
<p>regsvr32.exe /u C:\Windows\System32\MSCOMCTL.OCX<br />
regsvr32.exe C:\Windows\System32\MSCOMCTL.OCX</p>
<p>See the security bulletin <a href="http://technet.microsoft.com/en-us/security/bulletin/MS12-060"><br />
http://technet.microsoft.com/en-us/security/bulletin/MS12-060<br />
</a> for further information.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Excel 2010 – Object library Invalid]]></title>
<link>http://akbaraji.wordpress.com/2012/04/25/excel-2010-object-library-invalid/</link>
<pubDate>Wed, 25 Apr 2012 12:08:03 +0000</pubDate>
<dc:creator>akbaraji</dc:creator>
<guid>http://akbaraji.wordpress.com/2012/04/25/excel-2010-object-library-invalid/</guid>
<description><![CDATA[If you have experiencing a problem with Ms. Excel 2010 “Object library invalid or contains reference]]></description>
<content:encoded><![CDATA[If you have experiencing a problem with Ms. Excel 2010 “Object library invalid or contains reference]]></content:encoded>
</item>

</channel>
</rss>
