Results 1 to 2 of 2

Thread: ActiveX exe - objects as tasks

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    2

    Exclamation ActiveX exe - objects as tasks

    I'm working on a piece of code in which I like to have one executable in an infinite loop. A timer checks if an individual task needs to be started, and then creates an object of an ActiveX exe which contains the task-class. In this design I am able to trap errors raised by the individual tasks.

    I want the never-ending executable to read the parameters (task exe's, priority, etc.) from a (text) file and let the number of objects depend on the number of entries in the parameterfile.

    Is there a way to create a variable number of objects with a variable name so that I not need to modify the main executable every time a new task (class) is added?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Try using a collection object. I'm not sure I understood you right, but that should be what you are looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width