Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Sharing events.mdb
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sharing events.mdb

 Post Reply Post Reply
Author
Message
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Topic: Sharing events.mdb
    Posted: 30 November 2005 at 10:00am
I would like to share the database 'events.mdb' with two Xtreme Calendar ActiveX over a network in the same time.
 
Is there some precautions, to take this database working properly without crashing. 
 
Anybody experiments sharing Xtreme Calendar ActiveX?
 
Thanks for your advices.
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: 01 December 2005 at 6:11am
Hi,

You can share the database file, but please note that each Calendar instance has its own events cache. It is updated on user actions inside the Calendar, but you will also have to update the data on others Calendar instance.

You can use corresponding Calendar events (CalendarControl_EventChanged (Added/Deleted)) to catch data changes of a specific Calendar and forward the event somehow to other instances of your application.

The easiest way to refresh Calendar data cache would be Close() a data provider and reopen it again.


Another option would be to write your own custom data provider with the required functionality embedded inside.

--
WBR,
Serge
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 03 December 2005 at 5:09am
Thanks for the reply sserge,
 
That's what I planned to do. So far, it is working well.
 
Xtreme Calendar ActiveX seems to be a Great control.
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.154 seconds.