Print Page | Close Window

AGGHHH..BUG ? Application performance?

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=4361
Printed Date: 09 May 2024 at 8:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AGGHHH..BUG ? Application performance?
Posted By: flauzer
Subject: AGGHHH..BUG ? Application performance?
Date Posted: 06 June 2006 at 6:21am

New release problem.....Please resolve this.....

Open and run your sample: Calendar control vb.

Add a simple event A (with all default values) and press OK.

Now, double click on new event A and change Recurrence type, for example choose "Every Work Day"

Now press OK and take a long cup of coffee......

At this "speed",.... the operation is not usable ....

With 10.1.1 all is ok.....

Thanks

Flavio




Replies:
Posted By: SuperMario
Date Posted: 06 June 2006 at 10:10am
Hmm, just tried and is was almost instant.  Did you chang anything in the sample at all?


Posted By: flauzer
Date Posted: 06 June 2006 at 10:22am

Only

arTimes = Split(cmbEventStartTime.Text, ".")

'cause my local LCID....

I've not removed 10.1 version......

I've also re-register OCX........but nothing...!!

The program HANGS HERE , for 1 minute.....


Private Sub cmdOk_Click()

    If (Not CheckDates()) Then Exit Sub

    UpdateEventFromControls
   
    If m_bAddEvent Then
        frmMain.CalendarControl.DataProvider.AddEvent m_pEditingEvent
    Else
        frmMain.CalendarControl.DataProvider.ChangeEvent m_pEditingEvent       <<<<<<<HERE

    End If
   
    frmMain.CalendarControl.Populate

    Unloa

 



Posted By: flauzer
Date Posted: 06 June 2006 at 11:37am

Here is Task Manager diagram of the operation......

https://forum.codejock.com/uploads/flauzer/2006-06-06_113650_Task_Manager.zip - 2006-06-06_113650_Task_Manager.zip



Posted By: SuperMario
Date Posted: 06 June 2006 at 12:10pm
Hmm, I opened up the Task Manager and tried many different recurring events and I don't see this problem.

Possibly a problem with older Calendar data you are loading?  Any more info about OS SPs and VS SPs?  I can see its WInXP and VB6, but what SPs installed, anything else useful?


Posted By: flauzer
Date Posted: 06 June 2006 at 12:23pm

I've no data, I simple use your program sample CalendarSample.vbp with NO DATA. After install, I've try the steps above...

I've XP SP2 with the last windows update....

VS SP6;

Until 10.1.1 version, I have NO problem at all!!!!

Your sample in 10.1.1 works well.

I've note that dataPicker control "paint" with delay (in bold) the new events...

 

Here is ProcExp https://forum.codejock.com/uploads/flauzer/2006-06-06_123347_DLL.zip - 2006-06-06_123347_DLL.zip data....

 



Posted By: SuperMario
Date Posted: 06 June 2006 at 12:30pm
We will wait for sserge to look into this.  He will no better than anyone what was changed that might cause this.


Posted By: sserge
Date Posted: 06 June 2006 at 2:45pm
Hi,

Thanks, I was able to reproduce this bug... It was actually caused by the new functionality which does a delayed update in an attached date picker bold days. In the next release it will be fixed.

Currently, to avoid it please set BoldDaysOnIdle property of the attached date picker to False.

--
WBR,
Serge


Posted By: SuperMario
Date Posted: 06 June 2006 at 3:22pm
I forgot that I had removed the DatePicker from my version of the sample so I could take pictures for the website  No wonder I could not reproduce it.


Posted By: flauzer
Date Posted: 06 June 2006 at 5:12pm

LUCKY MAN...

PS.

It's possible to make a simple patch instead of release, to avoid "WHEN" problem?

Thanks

Flavio



Posted By: sserge
Date Posted: 07 June 2006 at 4:32am
Patch is possible, why not... Please submit an Issue at http://www.codejock.com/support/ so I can send them to you.

Or as another option wait for release 10.2.1

--
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