Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - How to connect to CalendarDialogs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to connect to CalendarDialogs

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


Joined: 09 May 2007
Location: United States
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote karthiksp Quote  Post ReplyReply Direct Link To This Post Topic: How to connect to CalendarDialogs
    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
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.