New Post: Help TaskDefinition.Data property
Found msdn requirements, which was the cause of my problem.https://msdn.microsoft.com/en-us/library/windows/desktop/aa382552(v=vs.85).aspx Requirements: Minimum supported client - Windows Vista...
View ArticleNew Post: BUG: String was not recognized as a valid DateTime
Exception Type: System.FormatExceptionMessage: String was not recognized as a valid DateTime. The exception occurred at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles...
View ArticleNew Post: Help TaskDefinition.Data property
You discovered the little secret behind wrapper compatibility between v1 and v2 -- I used the native Data property to store all the other properties that are missing in v1. Thus, when you look at the...
View ArticleNew Post: BUG: String was not recognized as a valid DateTime
Will you post the XML for the task that being retrieved and the Windows version you are on? The error is coming from a method that takes the string from the native library, which is usually in a...
View ArticleNew Post: BUG: String was not recognized as a valid DateTime
Unfortunately I don't have the XML data, a user simply submitted the exception data to me.
View ArticleNew Post: BUG: String was not recognized as a valid DateTime
I've gone back through the code that handles parsing the StartBoundary and the only explanation I can find for the bug is that the string that the native library returns was in an unexpected format....
View ArticleNew Post: Determine whether the task scheduler is execute by user or execute...
I would like to know whether it is possible to determine whether there's a way to know the task scheduler is being triggered by schedule or triggered by user other than referring to the task's history?
View ArticleNew Post: Determine whether the task scheduler is execute by user or execute...
Not that I'm aware of. The same engine launches both with the same process information. The only place I've seen any record of a User launched task is in the history.
View ArticleNew Post: Get unique id for task
Is there a property that gives a unique ID for a specific task? Specifically of type Microsoft.Win32.TaskScheduler.Task.Using ts As New TaskService() Dim taskArr As IEnumerable(Of Task) = ts.AllTasks...
View ArticleNew Post: Get unique id for task
There is not a Guid or other ID tied to each registered task. What does have to be unique is the Path property. You could either use that or create a hash of it.
View ArticleNew Post: Edit Triger Issue
Hello, All DateTimePickers on the form some time show time in incorrect format. That depends on current regional settings. If regional settings use a 24 hour clock form translates the time into 12 hour...
View ArticleNew Post: Edit Triger Issue
When you pull up the equivalent trigger editor from the Windows "Task Scheduler" applet (Windows-R, "Taskschd.msc"), does it have the same limitations? I'm using the same .NET control.
View ArticleNew Post: Edit Triger Issue
Also, if you can. please provide the precise regional settings that cause the problem. Can I just set the 24 hour clock option with any language to get the result you've found?
View ArticleNew Post: Edit Triger Issue
Windows "Task Scheduler" doesn't have this limitation. I noticed that your control has custom format. If I try to change it to "Time" format time will be displaed right.
View ArticleNew Post: Edit Triger Issue
The issue is reprodusible when regional settings use 24 hour time format that does not display leading zero. For example:
View ArticleNew Post: What does this mean?
The current version of the native library (1.1) does not support the version of the "(Task Name Goes Here)" task (0.0) The exception occurred at...
View ArticleNew Post: What does this mean?
Will you supply the version of Windows on which this error occurred? Also, if possible, can you send me the XML of the created task? This is most securely done by sending me a personal message through...
View ArticleNew Post: FileNotFoundException when running on Windows Xp
I made an app that uses the Task Scheduler Managed Wrapper Library. When the app runs on Windows 7 or later, it works OK. But when it runs on Windows XP, it crashes on startup with a...
View ArticleCreated Unassigned: Windows 2008 R2 Server - unhandled exception [12432]
TaskEditDialog ted = new TaskEditDialog(dct, true, true); try { ted.ShowDialog();On Windows 2008 R2 Server, logged in as an Administrator, when the ShowDialog() call exits (but before it hits the next...
View Article