Print Page | Close Window

ResourceFile in Calendar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: .NET WinForms
Forum Description: Topics related to Codejock .NET Windows Forms products
URL: http://forum.codejock.com/forum_posts.asp?TID=15419
Printed Date: 21 November 2024 at 2:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ResourceFile in Calendar
Posted By: gibra
Subject: ResourceFile in Calendar
Date Posted: 22 October 2009 at 4:54pm
 
I use the Calendar solution sample shipped in Xtreme SuiteControl v.13.2.
How set the ResourceFile for Calendar control?

If I try to set in frmMain1_Load sub:
CalendarGlobalSettings.ResourceFile = "D:\Sample\XTPResourceIt.dll"
return error that say
reference to a not shared member require a object reference
 
CalendarGlobalSettings.ResourceFile string appear marked
Dll file exists then isn't this the problem.
 
 
Thank
 


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8



Replies:
Posted By: Oleg
Date Posted: 23 October 2009 at 8:35am

Hi,

in .NET you have create CalendarGlobalSettings object first.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gibra
Date Posted: 23 October 2009 at 12:42pm
Thank.
Now I have understood.
 

Dim calGlobalSettings As XtremeCalendarControl.CalendarGlobalSettings

calGlobalSettings = New XtremeCalendarControl.CalendarGlobalSettings

calGlobalSettings.ResourceFile = "D:\Sample\XTPResourceIt.dll"




-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8



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