Hi, i have a problem with generating the code after execution
My code :
```
TaskService mgr = new TaskService();
TaskEditDialog dlg = new TaskEditDialog(mgr.RootFolder.Tasks[0], false, false);
```
Une exception non gérée du type 'System.ArgumentOutOfRangeException' s'est produite dans Microsoft.Win32.TaskSchedulerEditor.dll
Informations supplémentaires : L'argument spécifié n'était pas dans les limites de la plage des valeurs valides.
Thx
Jerem
Comments: The problem is exactly as the additional exception information says. The error indicates that there is not a 0 indexed task in the root folder. You likely don't have permissions (check UAC) to enumerate the task list.
My code :
```
TaskService mgr = new TaskService();
TaskEditDialog dlg = new TaskEditDialog(mgr.RootFolder.Tasks[0], false, false);
```
Une exception non gérée du type 'System.ArgumentOutOfRangeException' s'est produite dans Microsoft.Win32.TaskSchedulerEditor.dll
Informations supplémentaires : L'argument spécifié n'était pas dans les limites de la plage des valeurs valides.
Thx
Jerem
Comments: The problem is exactly as the additional exception information says. The error indicates that there is not a 0 indexed task in the root folder. You likely don't have permissions (check UAC) to enumerate the task list.