Timer in vistataskdialog not fired
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=14804
Printed Date: 06 October 2024 at 9:22pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Timer in vistataskdialog not fired
Posted By: StefanNbg
Subject: Timer in vistataskdialog not fired
Date Posted: 23 July 2009 at 5:50am
Hi why the timer in vistataskdialog is not fired ?
What are the dependencies/controls I have to initiate before ?
I've initiated lObject = CREATEOBJECT("Codejock.SuiteControlsGlobalSettings.13.0.0") lObject.ResourceFile = "x:\......\SuitePro.ResourceDe.dll"
The messagebox itself works fine, but though I've set XtremeSuiteControls%7ETaskDialog%7EEnableCallbackTimer.html - EnableCallbackTimer to true. In the timer event I wrote a windows message for the milliseconds, but nothing happens. Also the markup does not function.
So what did I forget ?
Stefan
|
Replies:
Posted By: jpbro
Date Posted: 23 July 2009 at 3:46pm
Are you using VB6?
If so, try this:
1) Start a new project. 2) Click the Project menu, and then click References. The References window appears. 3) Click the Browse button. The Add Reference window appears. 4) From the Files of Type list, choose Active X Controls (*.ocx). 5) Navigate to the CJ bin folder (usually c:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.0.0\Bin), then select the Codejock.Controls.13.0.0.ocx file, and then click Open. 6) Back on the References window, click OK. 7) Copy & Paste this code into your form:
Option Explicit
Private WithEvents mo_Dialog As XtremeSuiteControls.TaskDialog
Private Sub Form_Load() Set mo_Dialog = CreateObject("Codejock.TaskDialog.13.0.0") ' New XtremeSuiteControls.TaskDialog With mo_Dialog .EnableCallbackTimer = True .ShowDialog End With End Sub
Private Sub mo_Dialog_Timer(ByVal MilliSeconds As Long, Reset As Variant) Debug.Print MilliSeconds End Sub
|
8) Run the project and you should see the milliseconds counting in your debug window.
------------- Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3
Language: Visual Basic 6.0 SP6
|
Posted By: mdoubson
Date Posted: 23 July 2009 at 7:33pm
Why this post is in Calendar section?
------------- Mark Doubson, Ph.D.
|
|