Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Timer in vistataskdialog not fired
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Timer in vistataskdialog not fired

 Post Reply Post Reply
Author
Message
StefanNbg View Drop Down
Groupie
Groupie


Joined: 16 July 2009
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote StefanNbg Quote  Post ReplyReply Direct Link To This Post Topic: Timer in vistataskdialog not fired
    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  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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2009 at 7:33pm
Why this post is in Calendar section?
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.156 seconds.