Print Page | Close Window

Error in CalendarControl exampleVS2010

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=18958
Printed Date: 16 November 2024 at 12:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error in CalendarControl exampleVS2010
Posted By: scbdpm
Subject: Error in CalendarControl exampleVS2010
Date Posted: 16 September 2011 at 3:18pm
When I compile the CalendarControl in VS2010- VB.Net there are no errors.
 
however, when I try to run the sample project, I am getting an error on the line
 
Private objCalendraDialogsReminders As New XtremeCalendarControl.CalendarDialogsClass
 
in frmMain1.vb
 
The error is:
System.Runtime.InteropServices.COMException was unhandled
  ErrorCode=-2147221164
  Message=Retrieving the COM class factory for component with CLSID {42F9B079-6CCD-47B0-B54A-F3937E426B77} failed due to the following error: 80040154.
  Source=CalendarControl
  StackTrace:
       at CalendarControl.frmMain1..ctor() in C:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v15.1.3 (30 Day Trial)\Samples\Calendar\VB.NET\CalendarControl\frmMain1.vb:line 28
       at CalendarControl.frmMain1.Main() in C:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v15.1.3 (30 Day Trial)\Samples\Calendar\VB.NET\CalendarControl\frmMain1.vb:line 1209
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:



Replies:
Posted By: SuperMario
Date Posted: 06 December 2011 at 2:03pm
Make sure the CPU setting says x86 and not "Any CPU"



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net