than (2,934)


c++ - Build for Windows NT 4.0 using Visual Studio 2005?

c++ - Build for Windows NT 4.0 using Visual Studio 2005?

An MFC application that I'm trying to migrate uses afxext.h, which causes_AFXDLL to get set, which causes this error if I set/MT: Please use the/MD switch for_AFXDLL builds My research to date…


What is a better file copy alternative than the Windows default?

I need to copy hundreds of gigs of random files around on my computer and am pretty leery of using the vanilla file copy built into Windows. I don't want it to hang on a "Are you sure?", "Are you rea…


c# - Drag and Drop to a hosted Browser control

I have a WinForms program written on.NET 2 which hosts a webbrowser control and renders asp.net pages from a known server. I would like to be able to drag, say, a tree node from a treeview in my win…


How do you kill all Linux processes that are older than a certain age?

I have a problem with some zombie-like processes on a certain server that need to be killed every now and then. How can I best identify the ones that have run for longer than an hour or so?…



.net - How to return a page of results from SQL?

Many applications have grids that display data from a database table one page at a time. Many of them also let the user pick the number of records per page, sort by any column, and navigate back and…


What are the advantages of using a single database for EACH client?

In a database-centric application that is designed for multiple clients, I've always thought it was "better" to use a single database for ALL clients-associating records with proper indexes and keys.…


.net - Replacement for for… if array iteration

I love list comprehensions in Python, because they concisely represent a transformation of a list. However, in other languages, I frequently find myself writing something along the lines of: foreach…


c++ - What is the most effective way for float and double comparison?

What would be the most efficient way to compare two double or two float values? Simply doing this is not correct: bool CompareDoubles1(double A, double B){return A== B;}But something like: bool Compar…


sql - Asynchronous Stored Procedure Calls

Is it possible to call a stored procedure from another stored procedure asynchronously? Edit: Specifically I'm working with a DB2 database. ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­…


Automated script to zip IIS logs?

I'd like to write a script/batch that will bunch up my daily IIS logs and zip them up by month. ex080801.log which is in the format of exyymmdd.log ex080801.log-ex080831.log gets zipped up and the…




greater how more with java and the not multiple for