Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 12th, 2008, 03:25 AM
Authorized User
 
Join Date: Mar 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to run code snippet in regular interval

hi
I an creating app in VB 6 and DB is SQL Server 2000
I want to run few line of code in VB i.e
executing the sql query in regular interval of time.
But i want to do this without using Timer control.

Any ways available for this.

Thanks in advance.

987654321
__________________
987654321
 
Old March 12th, 2008, 07:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

What's the problem with the timer control? That's the correct way to do that...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old March 12th, 2008, 03:07 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Put the code on a button click event, and click that button on a regular basis.

I’m with Gonzalo on this, for now. “Why is that?”





Similar Threads
Thread Thread Starter Forum Replies Last Post
tooltip interval??? nerssi HTML Code Clinic 5 August 4th, 2006 12:05 AM
possibly C++ snippet of code crmpicco C++ Programming 1 July 1st, 2006 08:46 PM
Code snippet to fetch data from other site leo_vinay ASP.NET 1.0 and 1.1 Professional 3 April 3rd, 2006 12:31 PM
Code snippet error on page 370 cebartling BOOK: Professional Java Development with the Spring Framework 0 September 18th, 2005 10:00 PM
A date interval with a date interval query spinto SQL Server 2000 7 May 15th, 2004 04:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.