hi there,
im new in Visual Basic. currently my task is to create a program that will automatically consolidate database based on the time. for example, the program will executes at 10 pm everyday in which the database will be consolidated in that particular time. the database that im using is MySQL. i've already created the program to consolidated the database. my concern now is how to set the time. any idea? thanx!

Simple enough, just use a timer control.... then in the timer control grab the current time. If the current time, is equal to the time specified, then consolidate your database. Check this thread, which works for the date (simple enough to modify for the time): http://www.daniweb.com/techtalkforums/thread45561.html

ok, thanx!!!
really appreciate it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.