Sample code from Developer Fusion https://www.developerfusion.com/code/sort/popularity/ Sample code from Developer Fusion http://www.rssboard.org/rss-specification en-GB Wed, 06 Aug 2008 09:35:00 GMT How to convert a string to a date Finding out how to convert one type to another in .NET is tricky. Here is the answer to converting a string to a DateTime type. http://www.developerfusion.com/code/3244/how-to-convert-a-string-to-a-date/ http://www.developerfusion.com/code/3244/how-to-convert-a-string-to-a-date/ Sat, 11 Jan 2003 09:53:00 GMT Edward Tanguay Determine execution time in PHP This is based on the ASP script posted by Lio. It will determine the time taken for a php script to execute correct to 0.000000000000001 seconds. http://www.developerfusion.com/code/2058/determine-execution-time-in-php/ http://www.developerfusion.com/code/2058/determine-execution-time-in-php/ Fri, 08 Mar 2002 07:13:00 GMT Gringod How to create XML files How to generate XML files in PHP using its new_child function. http://www.developerfusion.com/code/3944/how-to-create-xml-files/ http://www.developerfusion.com/code/3944/how-to-create-xml-files/ Wed, 13 Aug 2003 10:23:00 GMT Edward Tanguay How to get the current SessionID Demonstrates how to retrieve the current SessionID for storing session data in a database http://www.developerfusion.com/code/2645/how-to-get-the-current-sessionid/ http://www.developerfusion.com/code/2645/how-to-get-the-current-sessionid/ Sat, 13 Jul 2002 06:35:00 GMT Edward Tanguay Making a .NET app run on Vista with Administrator priviledges If you're targeting Windows Vista and your application requires administrator priviledges (such as accessing the program files directory), then it will fail unless you include a manifest so Windows knows. Here's how. http://www.developerfusion.com/code/7987/making-a-net-app-run-on-vista-with-administrator-priviledges/ http://www.developerfusion.com/code/7987/making-a-net-app-run-on-vista-with-administrator-priviledges/ Wed, 06 Aug 2008 09:35:00 GMT James Crowley Asynchronous HttpWebRequest Demonstrates how to build a much more responsive and user-friendly application by using asynchronous HttpWebRequests. http://www.developerfusion.com/code/4654/asynchronous-httpwebrequest/ http://www.developerfusion.com/code/4654/asynchronous-httpwebrequest/ Fri, 14 Jan 2005 04:08:00 GMT Steven Cohn Simple Key logger I'm working on a real keylogger, and I was researching how to do them, and after a bit of thinking I came up with this code... http://www.developerfusion.com/code/2007/simple-key-logger/ http://www.developerfusion.com/code/2007/simple-key-logger/ Fri, 08 Mar 2002 12:48:00 GMT Jamie Lindgren CSS font shorthand rule Learn how to shorten those CSS font rules. http://www.developerfusion.com/code/5342/css-font-shorthand-rule/ http://www.developerfusion.com/code/5342/css-font-shorthand-rule/ Thu, 02 Feb 2006 16:05:00 GMT Trenton Moss Sending email using SMTP and Java How to send an email using an SMTP server and Java http://www.developerfusion.com/code/1975/sending-email-using-smtp-and-java/ http://www.developerfusion.com/code/1975/sending-email-using-smtp-and-java/ Sun, 24 Feb 2002 15:17:00 GMT Kevin Saitta Adding controls to PlaceHolders dynamically A simple example demonstrating how to dynamically add controls to a PlaceHolder control. http://www.developerfusion.com/code/3826/adding-controls-to-placeholders-dynamically/ http://www.developerfusion.com/code/3826/adding-controls-to-placeholders-dynamically/ Mon, 07 Jul 2003 04:29:00 GMT Edward Tanguay Get host name from IP address, and vice versa Resolve a host name to it's IP address, and an IP address to its host name with this re-usable class module http://www.developerfusion.com/code/1628/get-host-name-from-ip-address-and-vice-versa/ http://www.developerfusion.com/code/1628/get-host-name-from-ip-address-and-vice-versa/ Mon, 13 Aug 2001 12:54:00 GMT James Crowley Merge an .exe and a .dll into one .exe How to merge an .exe and a .dll into one .exe using ilmerge in VS.NET http://www.developerfusion.com/code/4504/merge-an-exe-and-a-dll-into-one-exe/ http://www.developerfusion.com/code/4504/merge-an-exe-and-a-dll-into-one-exe/ Tue, 02 Mar 2004 04:47:00 GMT Edward Tanguay Programatically Load User Controls How to programatically load user-controls from code behind pages and then access their properties using reflection. http://www.developerfusion.com/code/4673/programatically-load-user-controls/ http://www.developerfusion.com/code/4673/programatically-load-user-controls/ Sun, 20 Feb 2005 11:03:00 GMT Dave Wanta How to check to make sure a URL is valid A neat bit of code that checks if a domain is valid and actually exists. http://www.developerfusion.com/code/4267/how-to-check-to-make-sure-a-url-is-valid/ http://www.developerfusion.com/code/4267/how-to-check-to-make-sure-a-url-is-valid/ Tue, 06 Jan 2004 06:48:00 GMT Edward Tanguay CSS Positioning Within a Container One of the best things about CSS is that you can position an object absolutely anywhere you want in the document. It's also possible (and often desirable) to position objects within a container. It's simple to do too. http://www.developerfusion.com/code/5405/css-positioning-within-a-container/ http://www.developerfusion.com/code/5405/css-positioning-within-a-container/ Sat, 18 Feb 2006 12:44:00 GMT Trenton Moss Generate PDFs using C# and the free iTextSharp library Learn how to use the free iTextSharp library to load a PDF form, populate some dynamic fields, and then save out a flat PDF file. http://www.developerfusion.com/code/6623/dynamically-generating-pdfs-in-net/ http://www.developerfusion.com/code/6623/dynamically-generating-pdfs-in-net/ Sun, 15 Apr 2007 20:36:00 GMT James Crowley User-Friendly Validation using ErrorProvider Data entry is a very important part of a lot of applications. It is important to validate data as it is entered without disturbing the user. Enter the ErrorProvider component. http://www.developerfusion.com/code/4445/userfriendly-validation-using-errorprovider/ http://www.developerfusion.com/code/4445/userfriendly-validation-using-errorprovider/ Sun, 15 Feb 2004 09:33:00 GMT Tim Dawson Open a file/url with its default program How to open a file, url or email address with its default program http://www.developerfusion.com/code/278/open-a-fileurl-with-its-default-program/ http://www.developerfusion.com/code/278/open-a-fileurl-with-its-default-program/ Sat, 14 Jul 2001 14:48:00 GMT James Crowley Get the visitor's IP address How to get the visitors IP address from within your ASP script http://www.developerfusion.com/code/1626/get-the-visitors-ip-address/ http://www.developerfusion.com/code/1626/get-the-visitors-ip-address/ Mon, 13 Aug 2001 12:53:00 GMT James Crowley Customize XML Serialization using IXmlSerializable Learn how to implement the IXmlSerializable in order to customize serialization of your objects - for instance, serializing a NameValueCollection. http://www.developerfusion.com/code/4639/customize-xml-serialization-using-ixmlserializable/ http://www.developerfusion.com/code/4639/customize-xml-serialization-using-ixmlserializable/ Fri, 17 Dec 2004 16:14:00 GMT James Crowley