Q
Problem solve Get help with specific problems with your technologies, process and projects.

How can I write a real-time clock function for VB program?

How can I write a real-time clock function (date & time) to activate a delay interval to my VB program?
The easy thing is to use the Timer OCX supplied with Visual Basic. That has around 500 millisecond accuracy. To get a more accurate timer, you're going to have to use the Win32 multimedia timers directly from Visual Basic. Search MSDN Online as there are numerous examples of using these APIs you can find.

Dig Deeper on Windows client management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close