Problem in Retrieving names of scheduled tasks in Windows schedular(Urgent

Hi all,
I have tried tetrieving the names of Scheduled tasks using following code,
   Dim sAllScheduledTasks As Array
  Dim stAllScheduledTasks As ScheduledTasks

  stAllScheduledTasks = New ScheduledTasks(sCompName)
  sAllScheduledTasks = stAllScheduledTasks.GetTaskNames

But it does not return anything...
What should i do????
Waiting for response.

Who is Participating?
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
This might sound really stupid, but does the PC actually have any scheduled tasks?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.