windows

What hardware (config) and software (os version/app version) is recommended for developing for ASP.NET/Coldfusion and MS SQL Server?

Hi, We are a small company and would like to know the best possible (and affordable) hardware and software configuration we ought to be using for our development environment. At this moment we are a team of four people who work remotely from different locations and each one of us uses a laptop and ADSL connection to work on our projects...

Is an SSH tunnel through Citrix Client possible?

I know it is not strictly a programmer question, on the other hand, I would really like to be able to do a simple svn up on the production servers, which would save us a lot of hassle. Or production servers are within a corporate network, and access is only allowed through a gateway server. From that we can access the actual servers via...

How to globally map AltGr key to Alt key?

I want my AltGr key to behave exactly like left Alt. Usually, I do this kind of stuff with Autohotkey, but I'm open to different solutions. I tried this: LControl & RAlt::Alt And Autohotkey displayed error about "Alt" not being recognized action. Then I tried the following code: LControl & RAlt:: Send {Alt down} KeyWait LCtrl ...

Overcoming "It is being used by another person or program."

Is there a way to unlock Windows files without downloading a utility? I have a few files on my Windows XP C: drive that are very old and very useless. When I try to delete these files I get the following message: Cannot delete FILENAME.zip: It is being used by another person or program Close any programs that might be using the file...

What resolution .ico files do XP and Vista show on the desktop?

There's loads of choices for .ico files but I can't see any logic in how Windows chooses which resolution/bit depth to show ...

Use C# to delete files from remote computer

I'm trying to delete a directory that contains XML files from a remote computer. My code compiles and runs fine, but when I go to get a list of XML files in the path I specify, it is not returning anything. Am I missing something permission wise? I have ran it from my computer logged on as myself and from another computer logged on as a ...

"gem install" freezes at "updating Gem source index for [..]"

For some weeks now I simply can't run gem install in windows. It sticks on this line: C:\Windows\System32>gem install rails --version 2.1.2 Bulk updating Gem source index for: http://gems.rubyforge.org/ Any ideas what it could be? ...

Force windows to refresh a disk FAT

I have a separate partition on my disk formatted with FAT32. When I hibernate windows, I want to be able to load another OS, create/modify files that are on that partition, then bring Windows out of hibernation and be able to see the changes that I've made. I know what you're going to type, "Well, you're not supposed to do that!" and th...

How to do intra-application communication in .NET

What's the best way to pass data from one Windows Forms app (an office plugin) to another (exe written in C#) in C#? ...

Why "The system cannot find the batch label specified" is thrown even if label exists?

While running a batch file in Windows XP I have found randomly occuring error message: The system cannot find the batch label specified name_of_label Of course label existed. What causes this error? ...

Read environment variables from file in Windows Batch (cmd.exe)

I'm trying to read variables from a batch file for later use in the batch script, which is a Java launcher. I'd ideally like to have the same format for the settings file on all platforms (Unix, Windows), and also be a valid Java Properties file. That is, it should look like this: setting1=Value1 setting2=Value2 ... Is it possible to ...

C# Event Handlers

How can I check in C# if button.Click event has any handlers associated? If (button.Click != null) throws compile error. ...

RCDATA terminator

Hello, I have a .rc file which is used to include some text data in my executable, like this: 1234 RCDATA myfile.txt This works fine: the content of the 'myfile.txt' is included in my executable. The problem is that no 0-terminator is added to the string, and I cannot add it to the file. Is there any way of adding a 0-terminator from...

How to set the Turbo C path in windows?

hi friends, I am Manoj again here to ask my doubts How to set the turbo c path in windows globally? so that i can compile and run my c progrmas which are in other drives any where in the command prompt in windows XP. Can any one tell me how to get commands at evry drive in the command prompt just by typing in "c:\tcc" in command prompt i...

Can any body tell me what is list file and map file in c?

hello friends, I am Manoj again here to ask you my doubts. I heard that in turbo c when we are doing projects with more than one source file then we can generate list file and map file . What are they? what do they contain? And how to generate them using the commands at MS-DOS command prompt using tcc for turbo c? How to generate the ass...

Overriding Controls property of a panel in C#

I have to override Add method of "Controls" property of myControl that is extended from a Panel control of windows. For that i extended ControlCollection class into MyControlCollection where i overriden its Add method. Now i declared a Controls property of MyControlCollection type to hide panel's Controls property. When i am accessing th...

Hosting Git Repository in Windows

Is there currently a way to host a shared Git repository in Windows? I understand that you can configure the Git service in Linux with: git daemon Is there a native Windows option, short of sharing folders, to host a Git service? EDIT: I am currently using the cygwin install of git to store and work with git repositories in Windows,...

Looking for lightweight PHP stack for development on Windows

Hello All, I'm looking to setup a lightweight, developer only web stack on Windows (and possible OSX). Ideally, I'd be working with Zend framework, MySQL. But I'm open to other APIs to facilitate creating RESTFul (or pseudo-Restful) web services. I've seen some tools, like QuickPHP, but it might have been too lightweight as I could...

"An unhandled non-continuable exception was thrown during process load"

This error message appears on a colleague's machine when he tries to launch a Windows application he's working on: An unhandled non-continuable exception was thrown during process load What does this mean, and how does one go about investigating what is causing it? I have Googled it, but haven't found a clear answer. It seems to ...

What's the best zero (near zero?) administration relational database for a windows desktop app: Access, SQLite, SQL Server, other?

We don't need multiuser. Just relational. Our app currently uses Access but Access isn't exactly zero-administration because it's prone to corruption. Is SQLite rock, rock solid, pure zero-administration? Or...is there a way to configure SQL Server as a desktop engine so that it is pure zero admin? Or...is there some othe...