Skip to content

sebthom.de

Menu
  • Home
  • About me
  • Imprint
    • Datenschutzerklärung
  • Guestbook
Menu

Visual Basic – High Precision Timer v1.20

Posted on Monday August 5th, 2002Sunday December 25th, 2022 by sebthom

This code is a VB implementation of the high precision multimedia timer which can be found in the winmm.dll.

I wrote this code because of the same reason I developed the multiple undo class: I wanted to have a smart solution that can be easily added to different VB projects, that doesn’t clutter the code, that doesn’t let depend my project on another custom OCX or DLL file and that is object oriented as much as possible.


The demo project’s intenion is NOT to show that the multimedia timer is or is not more accurate than the standard VB timer. It’s primary task is just to show how to use the timer class and how to instantiate and handle more than one timer object.

News in this release:

  • Timer moved from class to usercontrol, works quit similar to standard timer control now.
  • Shouldn’t crash any longer in compiled EXE files.
  • Changed some methods and properties.
  • Added Event support.

HiPreTimer-ScreenShot

SourceCode @ github.com

1 thought on “Visual Basic – High Precision Timer v1.20”

  1. Hans Fürst says:
    Sunday October 21st, 2007 at 03:12 PM

    Ich habe den Timer im Internet (PSC) gefunden und in meinem Programm zur Darstellung von Bildsequenzen testweise eingebaut. Er arbeitet soweit zufriedenstellend, jedoch wenn ich auf das in meinem Formular vorhandene Menue klicke, ertönt im Takt des Timers ein Beep aus dem Lautsprecher und der Sequenzablauf steht solange bis ich die Menubedienung beende, den ich mir nicht erklären konnte. Ich habe dann ein leere Menueposition mit einem Untermenuepunkt in obige Demo eingebaut und das Verhalten war das gleiche. Dass ein Click auf einen Menuepunkt möglicherweise die laufende Anwendung blockiert, ist mir bekannt, aber den auftretenden Beep des Timers kann ich mir nicht erklären.
    Haben Sie eine Idee, wo der herkommen könnte oder wie ich ihn unterbinden könnte ?
    Es besteht leider keine Möglichkeit eines Anhanges, sonst hätte ich den geänderten Sourcecode mitgeschickt.

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories

  • Blog (1)
  • IT (21)
    • Development (16)
      • Java (7)
      • Jython (4)
      • Visual Basic (5)
    • Linux (3)
    • WebSphere Application Server (1)
    • WebSphere Portal (2)
    • Windows (1)
  • My Freeware (2)
  • My Music (3)

Recent Posts

  • Logging WebSphere API calls in wsadmin scripts
  • [Solved] Windows 7 “Safely Remove Hardware” pop-up menu horrendously slow
  • Bash: Capturing stderr in a variable while still printing to the console.
  • Configuring EMF Teneo with Hibernate, Commons DBCP, Spring Hibernate Transaction Manager, and the OpenSessionInViewFilter
  • Using EMF ECore model objects with Wicket components
  • Installing Tomcat 6 on Debian Squeeze
  • Leveraging PyDev’s auto-completion for indirectly created objects
  • OVal 1.40 released
  • Installing WebSphere Portal in a local network
  • Comparing version numbers in Jython / Python

Blogroll

  • E L S U A
  • elektrofever.de
  • OVal
  • Sweettt.com
  • Twins’ Running Blog

Recent Comments

  • koliko2k3 on Guestbook
  • hdkid on MyPad v1.1.6 – a PHP Editor
  • Luis Diego Villarreal on Excel – VBA Timer Example v1.0.1
  • jonathan on Guestbook
  • Pierre on Lotus Notes’ [Send only] and [Send and File] buttons for Outlook 2003

Archives

  • June 2014
  • May 2012
  • January 2011
  • October 2010
  • September 2010
  • March 2010
  • February 2010
  • September 2009
  • July 2009
  • March 2009
  • February 2009
  • November 2008
  • September 2008
  • May 2008
  • September 2007
  • July 2007
  • July 2004
  • March 2003
  • August 2002
  • April 2002
  • January 2002
  • Deutsch (de)Deutsch
  • English (en)English
© 2023 sebthom.de | Powered by Minimalist Blog WordPress Theme