Print Page | Close Window

Sharing events.mdb

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=3310
Printed Date: 21 November 2024 at 1:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sharing events.mdb
Posted By: dentor
Subject: Sharing events.mdb
Date 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.



Replies:
Posted By: sserge
Date 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


Posted By: dentor
Date 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.



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