windows

Default code page for each language version of Windows

Where can I find information about which code page is default for each language version of Windows? I.e the "ANSI" code page for each language version. I've found the Code Pages Supported by Windows, but I cannot find the defaults for each language. I'm guessing that for instance, Windows-1253 (Greek) is the default when installing the...

How do generate a directory path with double-backslash or forward-slash separators?

I am writing a directory path to a text file from ant, which is later read by a Java Application to find another file. In my ant script I have: <property name="fulltrainer.dir" location="${trainer.dir}" /> <echo file="${trainer.dir}/properties/commonConfig.properties"># KEY VALUE CurrentBuildFile=${fulltrainer.dir}\current_bu...

Search filesystem for filepath using VBA

I am looking for a way to search a specific folder for a subfolder containing a certain string. Below I have listed a function I typed off the top of my head to see if it would work. Well, it does work but when I am talking about searching through 6,000 folders on a network drive it just isn't fast enough. I'm sure that there is a bette...

Tools for Windows Operating System

. Dear All, I am looking for the following tools for Windows Operating System for sending bulk emails and SMS. Would you please let me know, if you have any idea on these. Best free/paid Bulk Email Sending Tool Best free/paid Bulk SMS Sending Tool [For India/World] Many Thanks, Regards, Anupriya. . ...

Git: commit file with LR with msys/cygwin Git.

I have a bash script under Git version control on Windows (cygwin git). I would like checkout file from repo with LF (it is bash script) on windows (and I have core.autocrlf=true). As a result, I've got CRLF file and "$'\r': command not found" error message for script. How I could workaround this issue? BR ...

How to scan Wifi access point on Windows Mobile?

I need to scan Wifi access point on Windows Mobile and connect the one of scanned results. Currently I am using C# language, Windows Mobile 6.5 device, also to scan I am using the below code. [DllImport(wlanapi.dll", SetLastError=true)] I am using wlanapi.dll, but it seems that not possible to use on Mobile. Does anyone know about the...

Is there a standard Windows dialog for obtaining the proxy username and password?

Hi, I'm using WinHTTP to write an an app that needs access to the internet, and is potentially behind a proxy. Everything works (almost) out of the box is the user is on a domain, but if he or she isn't then I need a way to ask for credentials. Is there a standard way of doing that, or should I write my own dialog? Ideally I'd like som...

C++ Coding virtual machine

I haven't done much coding in C++, but I? noticed that I have to run these build scripts for everything. HOw do people do these on windows machines? I am thinking about running a virtual machine anyway, so I don't have to fill my machine with python and other such installations. How does everyone else on windows do it? ...

Please Help: IPython for Emacs on Windows crashes

Questions Update: Why there is no In[1]: prompt? Please see the following output of IPython command line in Emacs. Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] Type "copyright", "credits" or "license" for more information. IPython 0.10 -- An enhanced Interactive Python. ? -> Introduction and ove...

What's a good reference for creating and updating Performance Counters in unmanaged code?

I have several apps that need to create and write to Performance Counters. One of them is written in C++. Currently, upgrading that app to .NET is not an option. Where is a good resource for accessing Performance Counters using unmanaged code? Thanks! ...

Failing to run memcached in win 7 xampp

Hi I am running win 7 , 64 bit and xampp 1.7.3. But can not install memcached. Because,can not find the dll http://downloads.php.net/pierre/php_memcache-cvs-20090703-5.3-VC6-x86.zip file in its location. I am sure, I can not install memcached in my system as this file is unavailable. Can you please share this file? Or do anyone know...

How to remotely log off a user?

How can I programatically log off a user remotely (from another machine) with C#? All I know is their username. This is done in an Active Directory environment where the account executing this would be an Administrator (Domain Admin). I assume that security would be handled. Would want to avoid having to install an application on the mac...

AutoIt: How to get system idle time, or if screensaver is active?

I'd like to have an AutoIt script log the idle time. Alternatively, I'd like to be able to detect when the screensaver is active. There is no function that gives me either of these. How would I go about getting this functionality? ...

Closing a Task Tray app

I have a set of server apps that run in the task tray. I'm trying to write a little server management app in c# that can gracefully close the applications. However I'm having trouble figuring out how to do it. I can get the process (an instance of the Process class). Calling Process.CloseMainWindow() doesn't work. You don't get a Pr...

Performance Counter - Rate per minute type?

I have a service that processes relatively "expensive" requests. The average request rate is expected to be around 5-10 per minute. I would like to be able to monitor this rate with a custom performance counter, but all the available counter types seem to be geared toward much more frequently occurring events. What would be the best wa...

adding .asx to windows media player 12 library problem

Hi friends I'm trying to listening web radio on WMP 12 but I need to add extension .asx to libary and choose the low connection but I could not find how to do ? in microsoft support site "http://support.microsoft.com/kb/977314" they gave hotfix but also howfix is not related to this Can anyone help me? ...

ruby on rails + xampp + mysql (windows 7)

I am trying to use the mysql package included in xampp with ruby on rails on windows 7, but cannot seem to get them to work together. I have rails 3.0.0 and xampp 1.7.3 rails works with sqlite within xampp just fine, but when attempting to use mysql via "rails new project -d mysql; cd project; bundle install" I get the following: In...

Python: Overwriting a directory with another directory containing the same files

I'm trying to overwrite a directory with another directory that contains the same files. I've tried using distutils.dir_util.copy_tree(src, dst) but it tried to make a directory for dst instead. The objective is to overwrite the directory and its contents silently. Is there any other way to do so? ...

Visual Web Developer Express 2010 - Validation - XHTML 1.0 Strict?

I normally use the w3.org validation tool anyway, but I'm curious to why there is no XHTML 1.0 Strict option in VWD Express 2010? It only has: Internet Explorer 6.0 HTML 4.01 XHTML 1.0 Transitional XHTML 1.0 Frameset XHTML 1.1 Any theories? ...

semi colons in Windows filenames?

Hi All, One of my users asked why my app does not support semi-colons in filenames. I stepped through my code, seems Windows function GetOpenFileName truncates any filename containing a semi-colon. e.g. "one;two.wav" -> "one". Microsoft says colons are not allowed, but don't mention semi-colons... http://msdn.microsoft.com/en-us/librar...