bbScheduler  is a shareware scheduler application for Win95-NT4-Win98.
It also has a COM programable interface.(See details below)
The registration fee is 20 USD or equal amount of money in any currency.
If you have any comment or want to register, please contact to:

bodecsb@mail.matav.hu  or  officeline@mail.matav.hu
To have the latest version visit my homepage at: www.officeline.hu/bb

Good luck!

bb

P.S.:  I want to thank the help of Jaroslav Steigauf (Slovakia) who gave the first idea and  who is the most active BUG hunter!




Programers guide for bbScheduler.

bbScheduler has a creatable public object: bbScheduler.Tasks

If You run bbScheduler.exe from explorer, then it will register itself into the registry, to be OLE createable.
If you want bbScheduler to register itself and terminate  run it with the option: /setup
(When you run it with /setup option, it also setups itself as autostarting program.)
When setup terminates, then the previously mentioned object instantiable. 
Sample:  MyObject=CreateObject("bbScheduler.Tasks")
To uninstall bbScheduler from registry and from autostart run it with /remove option.

Through this COM interface you can read/write all scheduled task, that interactive users made or could make.

Properties:
 Count:  numeric (Read only) Gives back th
 UserMode numeric (Read/Write) 0: everything 1: read only 2: taskbar icon only  3: nothing at all  (3 is not allowed in unregistered version);
  (with this property you can hide or disable user interface at all)
 Visible (Read/Write)  Hides/Shows user interface  - independently works from UserMode
 
Methods:
 Item(Index) return a task object
 Add()  return the added Task object
 Save()  return TRUE on success,  execute to any changing be saved to the next starting  Dont forget to call it!!!!!  See later
 RemoveAll() return TRUE on success   removes all scheduled item 
 Remove(Index) return TRUE on success   removes specified Task
 SetKey(strKey)  return nothing   it set the registration number. It requires, to behave like a registrated control. Issue this immadiatly after creating object with createobject.
 Quit()  return TRUE on success  Forcing UserInterface to quit. It only will occur, when last reference of this intantiated object is releasing.


bbScheduler save its scheduled tasks into file named bbScheduler.dat, in the same folder as bbScheduler.exe. This file also contains the actual value of UserMode.  To make it to the default setting, you can delete this file. This file DOESNOT contain the RegKey, so you have to set it everytime, when you instantiate the class. If you make a mistake and bbScheduler.exe doesnot showing at its start, either use the com interface(UserMode), either delete bbScheduler.dat


Task object properties:

 bool CloseProgram  Close started task after the specified interval
 num  CloseProgramInterval  If CloseProgram is TRUE, this will describe the interval, when bbScheduler will try to close it
 bool PeriodicRunning  Describes whether to start task periodically
 num  PeriodicRunningInterval   interval in minute
 num  Day   day portion of start time
 num  DayIndex  index of day in month when StartType: 2
 num  Month  month portion of start time
 num  Hour  hour portion of start time
 num  Minute  minute portion of starttime
 num  StartTimeType  0: at logon  1: specified time
 num  StartType  0: run once 1: dayly  2: monthly
 num  StartWindowType  0: minimal  1:normal 2: max
 num  TryInterval   try to start program again still TryInterval minute, if first attempts fail
 num  Year  minute portion of starttime
 str  ProgramArguments  starting program arguments of  scheduled task
 str  ProgramFullPath  starting program file of  scheduled task
 bool array  WeekDays(DayIndex)  array of WeekDays,  TRUE shows, that a task should start at that day
 bool Visible  the task is visible on user interface
 str  Name   name of task  (For exact identifying)

 
example:
  starting c:\any.exe  once only at 1999.sep.22 at 13:00
 
oTasks=createobject("bbScheduler.Tasks")
oNewTask=oTasks.Add()
oNewTask.ProgramFullPath="c:\any.exe"
oNewTask.StartType=0
oNewTask.Year=1999
oNewTask.Month=9
oNewTask.Day=22
oNewTask.StartTimeType=1
oNewTask.Hour=13
oNewTask.Minute=0
oTasks.UserMode=1  // users are not able to delete/add/modify any scheduled tasks, but can see them
oTasks.Save()

 
BB
 
 


