created (954)


asp.net - Are Multiple DataContext classes ever appropriate?

asp.net - Are Multiple DataContext classes ever appropriate?

In order to fully use LinqToSql in an ASP.net 3.5 application, it is necessary to create DataContext classes(which is usually done using the designer in VS 2008). From the UI perspective, the DataCo…


Global Exception Handling for winforms control

When working on ASP.NET 1.1 projects I always used the Global.asax to catch all errors. I'm looking for a similar way to catch all exceptions in a Windows Forms user control, which ends up being a hos…



bash - Why doesn't**sort** sort the same on every machine?

Using the same sort command with the same input produces different results on different machines. How do I fix that?…


How do you get the filename of a tempfile to use in Linux?

Let's say I'm creating a program in C that needs to use a tempfile. Creating an ad hoc tempfile in/tmp is probably not a good idea. Is there a function or OS call to supply me with a tempfile name s…


Monitoring files-how to know when a file is complete

We have several.NET applications that monitor a directory for new files, using FileSystemWatcher. The files are copied from another location, uploaded via FTP, etc. When they come in, the files are…


How to do Flash pseudo-streaming?

I need to build something that starts serving a H.264 encoded video to a flash player halfway through the file(to support skipping to a point in the video that has not been buffered yet). Currently…


.net - Unhandled exception logging for Windows Forms

Is there anything like ELMAH for Windows Forms? I'm looking for a standard way to process unhandled exceptions and grab a screenshot and other environment information before packaging that up for su…


How can I quickly identify most recently modified stored procedures in SQL Server

I Need to manually migrate modified stored procedures from a DEV SQL Server 2005 database instance to a TEST instance. Except for the changes I'm migrating, the databases have the same schemas. How…


How do I get the modified date/time of a file in Python?

This question already has an answer here: How to get file creation & modification date/times in Python? 10 answers How do I get the modified date/time of a…


IE6 issues with transparent PNGs

I've gotten used to the idea that if I want/need to use alpha-trans PNGs in a cross-browser manner, that I use a background image on a div and then, in IE6-only CSS, mark the background as "none" and…




how the not for file and example create with add