Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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 December 3rd, 2004, 05:30 PM
Authorized User
 
Join Date: Nov 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to write program tht will run every day at 9

hello,

I have to write a program that will run 7 days per week at 9.00pm and append the data to the 3 tables in SQL 2000.
Now i am not sure how to go about it.
I am at lost how to go about it using VB6.0
and write a stored proc tht will run 7 days per week at 9.00pm and also append to the 3 tables?
Pls can someone guide me and give a similar sample code?

 
Old December 3rd, 2004, 06:45 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

If it just the SQL Server Stored Procedure that you ened to automate then you can use the scheduler in SQL Server to do this for you. If you must use a VB program then there are plenty of schedulers in Windows (such as AT or WINAT) that will do the scheduling for you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
program compiles but won't run jwg Visual C++ 0 July 10th, 2008 09:42 AM
Error when trying to run program. Asp_Developer ASP.NET 2.0 Basics 1 May 21st, 2008 06:04 AM
program won't write to file CNewbie Visual C++ 1 December 7th, 2004 06:20 PM
Write a program to produce a contents page eapsokha Java GUI 1 September 7th, 2004 11:19 AM
Write a vb program as services vincentc VB How-To 1 September 19th, 2003 08:00 AM





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