Multi User Environment |
Post Reply |
Author | |
Boris
Senior Member Joined: 21 June 2007 Location: United Kingdom Status: Offline Points: 179 |
Post Options
Thanks(0)
Posted: 03 July 2007 at 9:12am |
I am trying to get your calendar demo to work with multiple users. When two copies of the app are running changes made in one do not appear in the other. To overcome this I added a timer which detects changes in the highest created date and modified date. If these don't match a variable then a routine attempts to capture the changes. I do a CalendarControl.DataProvider.ClearCache However, although the Datepicker is attached to the calendar new or moved events do not show in the Datepicker.
I tried DatePicker.RedrawControl to no effect. I found that if I did DatePicker.DetachFromCalendar and then DoEvents DatePicker.AttachToCalendar Me.CalendarControl it worked. Before I continue coding..Is there a better way? |
|
Boris
Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1 Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 VS 2005-2008-2010-2013 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
No, this is fine enough. Any other way could just repeat the same operation -- reloading events on re-attaching.
-- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |