Hello ,
I have to perform a function repeatdly ,say in every 2 hours .For this , I have a form with me in VB 6.0 and added a button to it .I have written all necessary coding in click event of that button and finally made exe of it .Now when I am scheduelling that exe , it is opening that form and waiting fo rme to click that button .I dont want this instead actual requirement is to run that function in every 2 hours .Can some one help me .Am I missing anything ?Shaill I code under some other event ?Thanks in advance .

Why not just code it inside the "Main" function. In the project properties in the VB IDE there is an option to not use a form as the startup object but start with a "main" function.