windows

Best terminal environment for Cygwin/Windows?

Today I run Cygwin with rxvt using the following startup line: rxvt -bg black -sl 8192 -fg white -sr -g 150x56 -fn "Fixedsys" -e /usr/bin/bash --login -i This gives me a resizeable native Windows window which is much better than the standard "DOS box" the default cygwin.bat provides. However, the current configuration does have a co...

Zend Framework very bad performance on WAMP

I am developing a project on windows with wamp installed using zend framework. Unfortunately it has very slow performance, although I did the things mentioned in the manual: remove require once added apc I recently installed Scienta ZF Debug Bar v1.3, and here is an example of results i get: Queries: 48 in 53.01 ms Memory: 9188...

Highlighting labels Windows Forms

Is there any way to make a label on a .NET Windows form to be highlightable to allow for the text to be copied. I have attempted to do this with a text box that was made to look like a label, but this results in a flashing cursor. ...

What are my options for adding and removing IPSec policies on Windows Server with C#?

I want to be able to add or remove IP Security Policies on Windows Server 2003 programmatically with C#. Normally you'd manipulate these policies manaully through the gpedit.msc snap-in (under Windows Settings -> Local Policies -> IP Security Policies on Local Computer). But I need to be able to add IP filter policies through code. An...

Hardware-accelerated OpenVG implementation on Desktop based on OpenGL ES

I'm currently trying to get OpenVG up and running on my desktop. The problem comes here: I am / will be developing an application for a Windows CE device (with .NET compact framework), which has hardware-accelerated OpenGL ES 2.0 and OpenVG 1.0.1 (based on TI OMAP35x, if you're interested). The application will definitely use OpenVG for ...

RibbonBar with Windows7 look and feel?

Do you know any ribbon with windows 7 look and feel? ...

osx & windows development -- for newbies

hello, my background: i've been developing web applications using php and javascript for the past ten years. before that, i've developed applications using turbo pascal for DOS. in my opinion application and web application development are two different kinds of development (at least it's what i think when i remember back the old days o...

Windows Username maximim length

How long is the maximium lenght of a windows username incl. domain? domain\username regards ...

PDB file crashdump user.dmp

Hi, I have an application crash, and as a result it is generating a crash dump in Windows platform. I send the exe and dll file to the customer. The customer has sent the user.dmp and drwtsn32.log file me. But, the customer do not have the corresponding pdb file. The customer just has dll and exe file. So, when I attach this user.dmp fil...

Mdi form ensure visible

I am developing a c# .NET app with MDI forms. When the Mdi children are moved around and using the scroll bars some forms will be outside the displayed area. I would like to do to the Mdi children something similar to TreeNode.EnsureVisible() which moves the TreeView scrollbars until the Node is fully visible. Calling Form.Activate() doe...

How do I create drag-and-drop Strawberry Perl programs?

I've got a Strawberry Perl program that accepts a single-file as a command-line argument. How can I set things up such that I can drag and drop the desired file onto the Strawberry Perl program (or a wrapper around it) and the program runs with that file's name as an argument? ...

Windows hosts file

What's the difference between these lines: ::1 localhost ...and 127.0.0.1 localhost in Windows hosts file? Initially I had the line of the first kind in my hosts file and typing localhost in the browser led me to 127.0.0.1. Then I didn't use localhost prompt in the browser for some time, and when I needed to use ...

How to write a tool, inverting colors in Windows?

I read a topic in this site about it, but decided to post another one as I want to write such a tool, but I don't have much experience in C# & .NET, so it could take me too much time just digging the Net, while someone can just direct me to the right library or classes to be used. So, straight to the point. I want to write a tool that, ...

Windows 2008 DCOM problem

Hi, I have an DCOM server and when a process calls a method that changes the password of an user the next petition fails. This problem only occurs when the machine is a Windows 2008 working as Domain Controller. Anyone knows how to fix it? Thanks EDIT: There is an audit security error with the code 4625, I have been searching in goog...

How to get the datetime in an internationally agnostic way from the windows command-line?

From the windows command line, I need to echo out either the local or utc date and time of the system, but with the parts of the datetime in the order I want, regardless of the current internationalization setting of the pc. I've seen this related question: http://stackoverflow.com/questions/203090/how-to-get-current-datetime-on-windows...

Website running at impossibly fast speeds?

I was pinging my website at 127.0.0.1 and I am getting a ping back at less than 1ms. How can the internet not have any latency. Can others please confirm. This problem cropped up today after I did my windows update on my web server. I noticed a new process in my task manager on the web server called AnsibleCom.exe, thoughts? ...

Use RegisterDeviceNotification() for ALL USB devices.

I currently have some code that sets up notifications of connected USB HID devices within a Windows Service (written in C++). The code is as follows: GUID hidGuid; HidD_GetHidGuid(&hidGuid); DEV_BROADCAST_DEVICEINTERFACE NotificationFilter; ZeroMemory(&NotificationFilter, sizeof(NotificationFilter)); NotificationFilter....

WiX-- check for a previous installation

Hi all, I've got a legacy application that's installed directly to the user's c: drive, in a directory (like c:\MyApp). Nasty stuff. Problem is, the user can specify to have a second installation on a second drive (like e:\MyApp), and they can have two different versions of the application installed at once in either directory. They ...

How do you run a crontab in Cygwin on Windows?

Some cygwin commands are .exe, so you can run them with the standard Windows Scheduler, but others are not .exe extension so cant be run from dos (it seems like). For example I want updatedb to run nightly. Any ideas on how to make cron work? ...

Create a standalone windows exe which does not require pythonXX.dll

Hello, is there a way to create a standalone .exe from a python script. Executables generated with py2exe can run only with pythonXX.dll. I'd like to obtain a fully standalone .exe which does not require to install the python runtime library. It looks like a linking problem but using static library instead the dynamic one and it would be...