<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Error - Not able to create ActiveX control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Error - Not able to create ActiveX control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 05:29:57 +0000</pubDate>
  <lastBuildDate>Tue, 30 Apr 2013 01:42:09 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=21614</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Error - Not able to create ActiveX control : We are using the Xtreme Calendar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21614&amp;PID=70885&amp;title=error-not-able-to-create-activex-control#70885</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8059">Intechrity</a><br /><strong>Subject:</strong> 21614<br /><strong>Posted:</strong> 30 April 2013 at 1:42am<br /><br />We are using the Xtreme Calendar version 15.3.1 in MSAccess 2007. We compile a version of the access database in Windows XP on Access 2007 on a 32 bit virtual machine in our development environment. This is working correctly on a windows vista 32 bit machine at one of our clients locations. It is not working however at another clients location. They are using Windows Server 2008 on a terminal server setup with a 64 bit machine. We have loaded the&nbsp;Codejock.Calendar.x64.v15.3.1.ocx file in their system32 directory and MSAccess is finding this reference correctly. There are no broken references in the MS Access setup.<div><br></div><div>When we try and open the calendar form we get the following error.</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>"ActiveX component can't create object &#091;CODE: 429&#093;</div><div><br></div><div>Below is a copy of the code that is causing the error.</div><div><div><br></div><div>Public g_DataResourcesMan As CalendarResourcesManager</div></div><div><br></div><div><div>Private Sub SetShuffleBoard_Scenario()</div><div>&nbsp; &nbsp; On Error GoTo Err_Procedure</div><div><br></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; If Not g_DataResourcesMan Is Nothing Then</span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; If Not g_DataResourcesMan.DataProvider(0) Is Nothing Then</span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_DataResourcesMan.RemoveDataProvider (0)</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set g_DataResourcesMan = Nothing</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; End If</div><div><br></div><div>-- ERROR OCCURS WHEN THE FOLLOWING LINE IS CALLED</div><div><span style="line-height: 1.4;">&nbsp; &nbsp; Set g_DataResourcesMan = New CalendarResourcesManager</span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; strCalDBName_Scenario = "Kassidee_calShuffleBoard_Scenario.mdb"</span></div><div>&nbsp; &nbsp; strConnectionDB_Scenario = CurrentProject.Path &amp; "\" &amp; strCalDBName_Scenario</div><div>&nbsp; &nbsp; strConnectionString_Scenario = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='" &amp; strConnectionDB_Scenario &amp; "';"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; If Dir(strConnectionDB_Scenario) &lt;&gt; "" Then Kill strConnectionDB_Scenario</div><div>&nbsp; &nbsp; DoEvents</div><div><span style="line-height: 1.4;">&nbsp; &nbsp; Dim pData As CalendarDataProvider</span></div><div>&nbsp; &nbsp; Dim bResult As Boolean</div><div><span style="line-height: 1.4;">&nbsp; &nbsp; bResult = g_DataResourcesMan.AddDataProvider( _</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strConnectionString_Scenario, xtpCalendarDPF_CreateIfNotExists + _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtpCalendarDPF_SaveOnDestroy + xtpCalendarDPF_CloseOnDestroy)</div><div>&nbsp; &nbsp; Set pData = g_DataResourcesMan.DataProvider(0)</div><div><br></div><div>&nbsp; &nbsp; If Not bResult Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Exit Sub</div><div>&nbsp; &nbsp; End If</div></div><div><br></div><div>The line</div><div>&nbsp; &nbsp; Set g_DataResourcesMan = New CalendarResourcesManager</div><div>is causing the error but is working correctly in the 32 bit environment on vista with the&nbsp;Codejock.Calendar.v15.3.1.ocx file.</div><div><br></div><div>Is this a license problem? Would the problem be resolved by compiling the MS Access database in a 64bit environment before releasing it?</div><div><br></div><div>Thanks</div><div>Kym</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 30 Apr 2013 01:42:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21614&amp;PID=70885&amp;title=error-not-able-to-create-activex-control#70885</guid>
  </item> 
 </channel>
</rss>