windows

Multi-job pooled printer control

We've got 4 printers with identical trays/paper configured in a pool. Multiple jobs can be submitted and it will kind of round-robin send the jobs to the printers per whichever one is idle. That works good, but.. We're working on a new application that is web-based and produces PDF output files. A "set" of data might involve 3 different ...

How can I update the current line in a C# Windows Console App?

When building a Windows Console App in C#, is it possible to write to the console without having to extend a current line or go to a new line? For example, if I want to show a percentage representing how close a process is to completion, I'd just like to update the value on the same line as the cursor, and not have to put each percentag...

Scripting language that can produce a small, independent, Windows EXE?

I'd like to do some light data processing - a little binary data manipulation followed by conversion to text serialization. The result is written to a file, and processed by an external program (run by my program). The data processing is more than I'd care to consider doing in batch files. I'd prefer to use a scripting language, but n...

how to type certain commands in vim, like CTRL-] ^Wc etc.. on a German Keyboard

I'm sitting here feeling silly - the vim help tells me to hit CTRL] (to follow links in the help) and I can't get it!? Same problem with ^Wc (close a split window) I have a German keyboard and especially the CTRL] doesn't seem to work for me. How do I do them? Thanks for the help so far, seems to work except the CTRL]! Any idea how I...

Windows batch files: How to set a variable with the result of a command?

Under a bash environment I usually do: var=$(command -args) and the I use $var with its value setted as the result of the command. The same goes to a more conventional set var=command -args compatible in almost every unix shell. How could I define a variable in a windows bat file like that? I've tried set var=command -args but I only ge...

Fast Windows PHP editor with SVN and FTP support?

I'm looking for a decent, and fast PHP editor for Windows. Something that runs natively under x64 would be ideal. I've tried aptana studio, but I'm not impressed with all the excessive bloat. The clunky SVN support and lack of native FTP combined with basically a messy IDE is nasty. I currently use Coda from Panic on my mac, and I love...

What would cause a parent window to not know that it had a child dialog?

In my native windows mobile app I've got a window that creates a dialog. Lets say my window handle is hMainWnd. I create the dialog using DialogBoxParam() and passing in hMainWnd as the dialog's parent: DialogBoxParam(_,_,hMainWnd,_,_); Let's say the dialog's handle is hDlgWnd. From within the dialog, GetParent() returns hMainWnd ...

tuning recording video quality

Hello everyone, I am using the following code to record screen, but the recorded video quality is not very good. Any ideas how to improve it? My environment: Windows Vista + Windows Media Encoder + VSTS 2008 + C#. Here is the original desktop screen snapshot, http://i40.tinypic.com/zmxm6b.jpg Here is the recorded desktop screen snap...

Failover for Windows booted from iSCSI target using ietd

A Windows endpoint booted over iSCSI blue-screens and reboots as soon as the failover target source comes up. Till that point, Windows appears to be "frozen". The blue screen codes are sometimes 0x00000f4 and sometimes 0x000007a. Now, on failover, the secondary maintains the same iqn and the source of the Windows disk is independent of t...

Increase the amount of items in the Run MRU list

I'm trying to increase the number of items shown in the Run MRU list. The registry key in question is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU The relevant value is MRUList. From what I've seen, the maximum is 26, the values are a-z. I've tried adding values with symbols and numbers for the name (e....

How would one get a list of installed codecs?

Hi I'm developing a software that helps detect problems of customers who watching TV throw the internet. I need to know what codecs do they have. how can i get a list of the customer's codecs? I'm using c#. thanks Itay ...

C:\Program Files problem

A configuration file needs position of another file, but that file is located in "C:\Program Files", and the path with space in it is not recognized, Is there another way to specify the location without space in it? ...

Windows Indexing Service syntax

I am building an application over the Windows Indexing Service. The application is (among other things) used to search in text files containing IP addresses and textual data. When using the built-in "Indexing Service Query Form" in order to test the search capabilities, to search IP addresses, it returns non-relevant result. As far as I...

php extension on windows xp

I've installed php on my xp, but failed to add an extension to mysql Here is what I did in php.ini: [PHP_MYSQL] extension=php_mysql.dll and there is such a file in ext/ but when I look into phpinfo(), only to find that mysql extension is still not added. What have I did wrongly? ...

How to terminate process using VBScript

Hi, I have this VBScript code to terminate one process Const strComputer = "." Dim objWMIService, colProcessList Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery("SELECT * FROM Win32_Process WHERE Name = 'Process.exe'"...

Determining recommended system requirements

We recently changed some of our system requirements on a light weight application (it is essentially a thin gui client that connects to a "mainframe" that runs IBM UniVerse). We didn't change our minimum requirements at all, but changed our recommended requirements to match those of Windows 7 and Vista (since we run on those machines). ...

Tool to track application installer actions? (Win)

I need to find out all the file system and registry operations that intstaller of some application performs. Is there a software tool for this? OS is windows xp, if that matters. ...

How can I include Win32 modules only when I'm running my Perl script on Windows?

Hello, I have a problem that I cannot seem to find an answer to. With Perl I need to use a script across Windows and unix platforms. Te problem is that on Windows we use Win32-pecific modules like Win32::Process, and those modules do not exist on unix. I need a way to include those Win32 modules only on Windows. if($^O =~ /win/i) { ...

mouse double click is not working quite good ...

Hello everyone, I am using the following code to record screen, when recording, when using mouse to double click some item, for example double click a ppt to open it in PowerPoint, it is not very responsive. I have tried and it is much better when using screen recording function of Windows Media Encoder 9. Any ideas what is wrong? My e...

WCF Windows credentials without a domain?

Is it possible to use Windows client credentials for transport security between a windows forms-based client and self-hosted WCF service if the two machines are not in a domain together? ...