windows

WebResource.asd giving 403 error in ASP.Net Post backs using IIS7

I installed a ASP.Net website on a Windows 2008 server, which is by default using IIS7. The website seems to work fine, but the post backs on my forms do not work. After a few hours of debugging, I realized that when I manually try to hit the WebResource.axd file in my browser (e.g. I type http://www.domain.com/WebResource.axd in the a...

What's the best way to develop against WordPress on Windows when you already have IIS/SQL Server installed?

If you want to develop against WordPress (i.e., have a local instance running on your machine so you can develop themes, get blogs and sites laid out, etc.) and you're running Windows on your development machine with IIS and SQL Server already installed, what's the best way to do it? I found a method online which sets up a little "mini"...

IIS 6.0 on Enterprise Server - Memory Limit

We want to switch a web server from Windows 2003 to Windows 2003 Enterprise (64 bits) to use 8GB of RAM. Will IIS 6.0 and an ASPNET 1.1 application be able to benefit from the change? ...

Does Git work in Windows?

I work on Linux all the time and I'm clueless about Windows not even having one to try it, is Git nowadays working on Windows? or am I making problems for my Windows-pals by using it? ...

How to share host VPN connection with VM instances in Hyper-V?

I'm running my workstation on Server 2008 and a few servers in Hyper-V VM's on that server. I connect to my corporate LAN using VPN from the main OS (the host) but my VM's aren't seeing the servers in the corporate LAN. Internet and local access to my home network work fine. Each of the VMs has one virtual network adapter. What should ...

SQL Server Adapter for Rails

Trying to find the sqlserver adapter for rails on windows. I have tried getting it from (without luck): gem install activerecord-sqlserver-adapter --source=http://gems.rubyonrails.org Where else can I get this gem? UPDATE: Make sure to run the command prompt as the administrator. Right click on the command prompt and click "Run as a...

DLL information

How exactly do dlls work? There seems to be an awful lot of them, but I don't know what they are or how they work. So, what's the deal with them? ...

How to write an installer that checks for openGL support?

We have a 3D viewer that uses OpenGL, but our clients sometimes complain about it "not working". We suspect that most of these issues stem from them trying to use, what is in effect a modern 3d realtime game, on a businiss laptop computer. How can we, in the windows msi installer we use, check for support for openGL? And as a side note...

.NET windows application, can it be compressed into a single .exe?

Hi, Not to familiar with .net desktop applications (using vs.net 2005), is it possible to have the entire application run from a single .exe file? ...

Is there a good, free Python IDE for Windows?

Is there a good, free Python IDE for Windows? I really need some good debugging abilities. ...

Is there a style guide for GUI's somewhere?

I'm looking for a style guide to unify Windows applications. I'd like it to contain stuff like "Always put dialog result buttons 5 pixels from the edge of the window" I know Visual Studio helps me with this but I'm Delphi 7 at the moment (yeah I know). ...

How can I debug a C# COM assembly when it's being called from a native win32 application?

I'm developing a C# assembly which is to be called via COM from a Delphi 7 (iow, native win32, not .net) application. So far, it seems to work. I've exported a TLB file, imported that into my Delphi project, and I can create my C# object and call its functions. So that's great, but soon I'm going to really want to use Visual Studio to ...

Comparing cold-start to warm start

Our application takes significantly more time to launch after a reboot (cold start) than if it was already opened once (warm start). Most (if not all) the difference seems to come from loading DLLs, when the DLLs' are in cached memory pages they load much faster. We tried using ClearMem to simulate rebooting (since its much less time c...

Resolve Windows device path to drive letter

Hello How do you resolve an NT style device path, e.g. \Device\CdRom0, to is logical drive letter, e.g. G:\ ? Edit: A Volume Name isn't the same as a Device Path so unfortunatly GetVolumePathNamesForVolumeName() won't work. Thanks in advance. ...

Is there any sed like utility for cmd.exe

I want to programmatically edit file content using windows command line (cmd.exe). In *nix there is sed for this tasks. Is there any usefull equivalent in windows? Edit: I am looking for native command line solution. ...

What is your favourite Windbg tip/trick?

I have come to realize that Windbg is a very powerful debugger for the Windows platform & I learn something new about it once in a while. Can fellow Windbg users share some of their mad skills? ps: I am not looking for a nifty command, those can be found in the documentation. How about sharing tips on doing something that one couldn't o...

Deleting Custom Event Log Source Without Using Code

I have an application that has created a number of custom event log sources to help filter its output. How can I delete the custom sources from the machine WITHOUT writing any code as running a quick program using System.Diagnostics.EventLog.Delete is not possible. I've tried using RegEdit to remove the custom sources from [HKEY_LOCAL_M...

Assembler file as input for a driver build with the WDK tools

How to get an assembler file to be compiled and linked into a driver build. To clarify a bit The SOURCES file : TARGETTYPE=DRIVER DRIVERTYPE=WDM TARGETPATH=obj TARGETNAME=bla INCLUDES=$(DDK_INC_PATH) TARGETLIBS=$(DDK_LIB_PATH)\ks.lib SOURCES=x.cpp y.cpp z.asm The problem occurs with the z.asm file. NMAKE complains that it does no...

Debugging with Events in Windows

If I create an event using CreateEvent in Windows, how can I check if that event is signaled or not using the debugger in Visual Studio? CreateEvent returns back a Handle, which doesn't give me access to much information. Before I call WaitForSingleObject(...), I want to check to see if the event is signaled before I step into the func...

Registering a custom win32 window class from c#

I have a new application written in WPF that needs to support an old API that allows it to receive a message that has been posted to a hidden window. Typically another application uses FindWindow to identify the hidden window using the name of its custom window class. 1) I assume to implement a custom window class I need to use old sch...