Print Page | Close Window

Troubles using Calendar and PowerBuilder

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=16002
Printed Date: 06 October 2024 at 3:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Troubles using Calendar and PowerBuilder
Posted By: Stéphan
Subject: Troubles using Calendar and PowerBuilder
Date Posted: 14 January 2010 at 4:35am
Hello,

I'm developping in PowerBuilder 11.5 on winXP

I'm currently evaluating the calendar component to see if it matches our needs so that we can replace our datawindow-based calendar with CodeJock's.
And I'm having hard time to understand VB and OLE syntax with which I'm not familiar at all while trying to use a DataResourcesManager.

I try to reproduce the example code provided for VB by Codejock :
C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.2.1 (30 Day Trial)\Samples\Calendar\VB\CalendarSample
that can be found in the mnuMultiSchedulesExtend_Click()

I guess I have to create a DataResourcesManager as an OleObject and connect it to something like this :

iOleResourceMan = create OleObject
li_rc = iOleResourceMan.ConnectToObject("Codejock.CalendarControl.CalendarResourcesManager.13.2.1")
# Just as the Calendar Dialog is created like this :
# OleCalendarDialog     = create OleObject
# OleCalendarDialog.ConnectToNewObject("Codejock.CalendarDialogs.13.2.1")


but it fails...

Your help would be very appreciated :-)


-------------
Platform : from WinXP SP3 to Win7
Development : PowerBuilder 11.5



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