Quantcast
Browsing all 2206 articles
Browse latest View live

New Post: Is there a way to find the logged in user's "domain\name" when...

Here's what works for one user and many users (hopefully for the latter) :D private static void CreateSheduledTask1(string targetPathDir) { try { // Get the service on the local machine using...

View Article


New Post: System.IO.DirectoryNotFoundException... What?

Does this make any sense to you? System.IO.DirectoryNotFoundException, huh?Exception Type: System.IO.DirectoryNotFoundException Message: The system cannot find the path specified. (Exception from...

View Article


New Post: Is there a way to find the logged in user's "domain\name" when...

Glad you figured it out. Just some thoughts on code optimizations:// If just creating a default TaskService (new TaskService()), use TaskService.Instance instead. You can then avoid the 'using' clause....

View Article

New Post: System.IO.DirectoryNotFoundException... What?

The error is coming from the RegisterTaskDefinition native method. It likely has something to do with the settings for newTask. To make the syntax simpler, try:Dim tf = If(ts.GetFolder("X"),...

View Article

New Post: System.IO.DirectoryNotFoundException... What?

Trying to find out why the code works on some machines and other it doesn't is turning into a real pain in the rear end. Here's my code that I'm using. Like I said, it works on most machines with no...

View Article


New Post: Is there a way to find the logged in user's "domain\name" when...

Thank you! And I want to thank you for creating this C# COM wrapper! Great Job!!!!

View Article

Created Unassigned: Editor: Trigger right-click menu items do nothing [12418]

When I right-click a trigger in the trigger tab in the Editor UI and select New trigger, edit trigger or delete trigger, nothing happens. Enabling and disabling items with the right-click menu work.

View Article

New Post: Exception when modifying task with Editor UI

When I change the task with the Editor UI, after entering my username and password, I get a Exception not handled error message. Stack trace: System.ArgumentException: (27,8):UserId: en...

View Article


Closed Unassigned: Editor: Trigger right-click menu items do nothing [12418]

When I right-click a trigger in the trigger tab in the Editor UI and select New trigger, edit trigger or delete trigger, nothing happens. Enabling and disabling items with the right-click menu...

View Article


Source code checked in, #98129

* Fixed context menu bug in Trigger List UI * Cleaned up code using ReSharper * Updated version to 2.5.22

View Article

New Post: Exception when modifying task with Editor UI

The error indicates that the native task registration method could not handle the value supplied for the UserId, which is the combination of the username and domain name you supplied in the editor. Can...

View Article

New Post: System.IO.DirectoryNotFoundException... What?

Does this happen on systems that are Windows XP only or also on new versions of Windows? Windows XP does not support folders. Also, LogonTriggers are tricky. If specified that way you have, without any...

View Article

New Post: Exception when modifying task with Editor UI

1) The format is xxxx\yyyy 2) The system is domain attached 3) I was trying to use a domain account, I think

View Article


Commented Issue: COMException: Interface not registered (Exception from...

Sample code: implemented with Microsoft.Win32.Scheduler version 1.42but also reproducible with latest trunk; class TaskRepository { private TaskService taskService;private string taskPrefix = "MyTask";...

View Article

Commented Issue: COMException: Interface not registered (Exception from...

Sample code: implemented with Microsoft.Win32.Scheduler version 1.42but also reproducible with latest trunk; class TaskRepository { private TaskService taskService;private string taskPrefix = "MyTask";...

View Article


Source code checked in, #98132

* More fixes to Trigger list context menu * Minor updates to TestTaskService

View Article

Source code checked in, #98133

* Replaced direct dependency references with NuGet packages

View Article


New Post: Task Scheduler Wizard - hide first page

Is it possible to hide the first page of the task scheduler wizard? This is the page that allows you to enter the name and description. I've tried to set TaskSchedulerWizard.AvailableWizardPages to...

View Article

New Post: Task Scheduler Wizard - hide first page

Thank you for finding this bug. It is actually a bug in the wizard control this project uses, which I also happened to develop. I will update that project and test it, then roll it into this project....

View Article

New Post: Help TaskDefinition.Data property

Was wondering if anyone knew how to set the data property and then retrieve it again from a created task. Set TaskDefinition.Data to:TEST After task is created exported XML Data...

View Article
Browsing all 2206 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>