Messages - mediaguycouk [ switch to compact view ]

Pages: prev1 ... 16 17 18 19 20 [21] 22 23 24 25 26 ... 48next
101
Hi there. I'm back to C# and am getting by with web examples and a few books. However I'm stuck.

I've created a process and it happens to be FFMPEG

Code: C# [Select]
  1. System.Diagnostics.Process proc = new System.Diagnostics.Process();
  2.             //Some rubbish but long code removed
  3.             proc.EnableRaisingEvents = false;
  4.             proc.StartInfo.FileName = ffmpegLocation;
  5.             proc.StartInfo.Arguments = arguement;
  6.             proc.StartInfo.UseShellExecute = false;
  7.             if (showEncodingEngine)
  8.             {
  9.                 proc.StartInfo.CreateNoWindow = false;
  10.             }
  11.             else
  12.             {
  13.                 proc.StartInfo.CreateNoWindow = true;
  14.             }
  15.             proc.StartInfo.RedirectStandardOutput = false;
  16.             proc.StartInfo.RedirectStandardInput = false;
  17.             proc.StartInfo.RedirectStandardError = false;
  18.             proc.Start();
  19.             proc.WaitForExit();
  20.             proc.Close();

What I'd like to do is to have this process run in BelowNormal processor priority. I've found some things in the intelitext about it, but msdn isn't really helping me.

Psudo code would be

proc.Start();
proc.processorpriority = priority.BelowNormal;

But it isn't that easy...

Thanks for any help

102
I still like the cat/dog captcha. Something easy to make,  update with new images, easy for humans to see and hard for computers.

http://www.thepcspy.com/kittenauth#

Example: http://www.thepcspy.com/contact

103
Thank you for this Veign. Very generous

104
General Software Discussion / Re: Easy remote access to my home pc?
« on: September 15, 2008, 11:19 AM »
If you don't have a static IP with your Internet Provider then you can create a dynamic hostname (one that keeps track of your dynamic IP address) through dyndns.org

105
General Software Discussion / Re: Easy remote access to my home pc?
« on: September 15, 2008, 10:00 AM »
Has anyone noticed that the Live Mesh beta from Microsoft allows VNC style access to the desktop?

I use it to occasionally sync my firefox profile between home and work but haven't actually kept the home computer on to try out the remote desktop.

However it's free, and you know how good microsoft are at using their own code to make these things faster and better (at the expense of fair play...)

Pages: prev1 ... 16 17 18 19 20 [21] 22 23 24 25 26 ... 48next
Go to full version