Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Error in CalendarControl exampleVS2010
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error in CalendarControl exampleVS2010

 Post Reply Post Reply
Author
Message
scbdpm View Drop Down
Groupie
Groupie


Joined: 05 January 2007
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote scbdpm Quote  Post ReplyReply Direct Link To This Post Topic: Error in CalendarControl exampleVS2010
    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:
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2011 at 2:03pm
Make sure the CPU setting says x86 and not "Any CPU"
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.