#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    1
    Rep Power
    0

    How to write automatic task in Visual Basic


    Hi all!

    i have to write add-on to my old VB 6.0 application.
    It has to run automatically each night, select some data from database, generate XML files from that and send these files to FTP server.
    Server's operating system is windows XP

    This code should be written in Visual Basic...

    i was wondering if it can be done by writing only one com component... but is it possible to execute it without client code?
    Or do I have to write standard visual basic application with empty null-sized main form?

    I appreciate any answer,
    Koiot
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2003
    Location
    No es importante
    Posts
    2,065
    Rep Power
    14
    You could use the NT at command to shcedule the program to run. You could also use the Visual Basic Timer event to perform you own scheduling.

IMN logo majestic logo threadwatch logo seochat tools logo