task

Process handle count increasing with long running server application

I have an application that is transferring files across the network, doing FTP, etc. I am launching these tasks using the new Task functionality in .NET 4.0. Aside from a problem where I have not figured out why my application hangs when running in Debug or Release from the IDE, the application has been deployed to a test server and ha...

Task Parallel Library. Nested task do not start

Hi I'm working with .NET new TPL library and faced with some strange behavior for me I cannot explain. For some reason nested task is not started in my case. I've simplified the solution I have to the following: bool flag = false; for (int i = 0; i < 5; i++) { Task.Factory.StartNew(() => ...

Is it possible to use Windows 7 Task scheduler in own application

I'm developing add-on based application. Every add-on use scheduler. Loaded add-on schedule task. My application run only one instance. Sometimes application closed, sometimes running. Therefore i need to use Windows 7 Task scheduler How to use task scheduler on own application? I need create new task from application I need that when ...

How to get applications from Windows Task manager (Applications Tab) + their locations on HDD from Delphi

I would like to get list of programs running and visible in windows task manager's Applications Tab (not processes tab) and get their locations on HDD ? I need it to be done in Delphi. Anybody can help ? ...

scheduling task in iphone

Hi all, I am developing an iphone app, there's a section in it where user can declare his task and its occurence in time. I.e. recursive task. The task will only show an alert box and nothing else when its due time. Its a kind of reminder, rather than a real task scheduler. What's the best way or technology to achieve that with objecti...

How to run sys.sp_addlogin in ant sql task ?

Hi Ant guru, I got error BUILD FAILED C:\Projects...\build.xml:987: com.microsoft.sqlserver.jdbc.SQLServerException: The procedure 'sys.sp_addlogin' cannot be executed within a transaction. How can i make an ant sql task run this? thanks ...

Very odd behaviour with launcher's task stack handling

I have an application with two activities, A and B. A is the root activity, which then starts B. When the stack looks like this: HOME > A > B ...and I select A from the launcher, I want it to resume the task without clearing the stack, so B is shown. Right now this is mostly working. However. In certain circumstances this occasional...

Can a Java static Timer handle multiple TimerTasks calling cancel()?

So I'm running a Java server and in one class I have a static Timer. Then I have another class which has many instances being created and destroyed throughout the life of the program, each with their own TimerTask (using the static Timer). When an instance is destroyed, it calls cancel() on the TimerTask. The problem is, I'm not sure ...

Data Flow Task, XML Source error

I am developing an SSIS application with VS and SQL Server 2008. I am still new to SSIS, however. I have successfully created one project with an XML Task connected to a Data Flow Task. But as part of this same solution I created an identical project with XML Task connected to Data Flow Task. From what I can see, the only difference b...

TimerTask keeps running

I have a question about the behaviour of Timer class in Java. This is the code: http://pastebin.com/mqcL9b1n public class Main { public static void main(String[] args) { Main m = new Main(); m.foo(); m = null; } public void foo() { Timer t = new Timer(); t.schedule(new SysPrint()...

suggestion of Project manager

I need suggestion of project manager (with task manager, etc) ...

Delphi: How make my own Hint Window?

Hi! D6 Prof. We have a special application with a special grid. It have a HintWindow what can show other informations that cannot place in cells. For example long memos. When you move the mouse to a cell, it is waiting for 2 sec, and show the informations. The problem of this theme that HintWindow is not working properly, or in same w...

How to get new mail using VS office tool

I'm writing an outlook addin office VS 2010 Office tools. Here I find a way to list of unread emails from Inbox, but I want to process only new mails. What I'm trying to do is - when an email comes with subject containing "my project", it should create a task. Here is my code void Application_NewMail() { string filter ...

AfterPublish target not working

World's simplest task (see below) is not being executed after I publish my web application project. Any idea why? Thank you. <Target Name="AfterPublish">    <Copy SourceFiles="C:\A.txt" DestinationFiles="C:\B.txt" /> </Target> ...

google app engine: problem getting objects from datastore in a task

My application constructs a Parent object in a static factory, along with it's predetermined Children, and then starts up tasks to run some computation on the Children, like so: public static Parent make(User owner, List<Integer> data, int size) { Parent result = new Parent(owner,data,size); PersistenceManager pm = Persi...

Parallel Programming C# 4.0 Task.StartNew

I am trying to process 2 independent tasks using the new .NET 4.0 Task Parallel Library inputList1 is List<CustomObject> inputList2 is List<DateTime> List<double> firstCall = GetDoubleListing(inputList1, inputList2); List<double> secondCall = GetAnotherListing(inputList3, inputList2); inputList2 is common in both the calls ( it is...

Android activity stack problem

Hi, In my application, I have problem with activity management. Indeed, consider I have 3 activities : - Splashscreen - SignIn - Home I would see : - First launch (user not logged) : Splashscreen -> SignIn -> Home (log in valid) - Other launch (user registered) : Splashscreen -> Home (auto log) The problem is : Back from SignIn or Hom...

XML Task error message hexadecimal invalid character

I am developing a SSIS package to add data from an XML file to an existing SQL Server table. I have completed several similar projects, but on this XML file I am getting the error from the Data Flow tab between the XML Task and Data Flow Task: Error: 0xC002F304 at XML Task, XML Task: An error occurred with the following error message: ...

Threading Framework for Delphi 7 - any?

Hi, I'm looking for some threading framework to avoid writing it from scratches. Especially the tasks queuing and synchronization are what I need. I know OmniThreadLibrary which is great but is not compatible with D7. Any recommendations? ...

Android activity history stack problem

Hi, In my application, I have problem with activity history stack. Indeed, consider I have 5 activities : Splashscreen SignUp SignIn ForgottenPassword Home I would see : First launch (user not logged) : 3 differents wireframes possible Splashscreen -> SignUp -> Home Splashscreen -> SignUp (already member) -> SignIn (valid log)...