Print Page | Close Window

How to connect to CalendarDialogs

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=7096
Printed Date: 26 November 2024 at 10:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to connect to CalendarDialogs
Posted By: karthiksp
Subject: How to connect to CalendarDialogs
Date Posted: 09 May 2007 at 3:07pm
Hi,
 
    How will I connect to CalendarDialogs Object. Is it directly from the ole that I placed in the window or this object avilable in some other place. When I try directly from OLE, it gave me an error.
 
      Please help me.
 
Here is the code, that was not working for me.
 
OLEOBJECT lole_CalendarDialogs
 
lole_CalendarDialogs = ole_calendar.Object.CalendarDialogs



Replies:
Posted By: sserge
Date Posted: 12 May 2007 at 7:45am
Hi,

You have to create CalendarDialogs object and connect it to Calendar. In VB an initialization code is:

Public g_dlgCalendarReminders As New CalendarDialogs
...
Set g_dlgCalendarReminders.Calendar = CalendarControl
g_dlgCalendarReminders.ParentHWND = Me.hwnd


--
WBR,
Serge



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