VB.NET Sample code from Developer Fusion https://www.developerfusion.com/t/vb.net/code/sort/popularity/ VB.NET Sample code from Developer Fusion http://www.rssboard.org/rss-specification en-GB Wed, 06 Aug 2008 09:35:00 GMT 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 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 Generate an Image of a Web Page Demonstrates how to fetch images and thumbnails of web pages using a hidden web browser control. http://www.developerfusion.com/code/4712/generate-an-image-of-a-web-page/ http://www.developerfusion.com/code/4712/generate-an-image-of-a-web-page/ Fri, 22 Jul 2005 15:50:00 GMT Alan Dean Is an Internet Connection Available? Check if an internet connection is available using this simple code snippet. http://www.developerfusion.com/code/3903/is-an-internet-connection-available/ http://www.developerfusion.com/code/3903/is-an-internet-connection-available/ Fri, 01 Aug 2003 06:55:00 GMT Karl Moore Convert Decimal Integer Values to Binary String in VB6 A small function to convert decimal integer values to a binary string. The number of bits can be optionally specified but this will be increased if insufficient. http://www.developerfusion.com/code/5430/convert-decimal-integer-values-to-binary-string-in-vb6/ http://www.developerfusion.com/code/5430/convert-decimal-integer-values-to-binary-string-in-vb6/ Wed, 22 Feb 2006 13:52:00 GMT Alex Etchells Random Numbers... That Work! Has all this talk about seeds got you confused? Here's a nice snippet to show you the best way to get random numbers in .NET. http://www.developerfusion.com/code/3940/random-numbers-that-work/ http://www.developerfusion.com/code/3940/random-numbers-that-work/ Wed, 13 Aug 2003 10:09:00 GMT Karl Moore How to access a MySQL database with .NET Demonstrates how to connect to a MySQL database with C#. http://www.developerfusion.com/code/4596/how-to-access-a-mysql-database-with-net/ http://www.developerfusion.com/code/4596/how-to-access-a-mysql-database-with-net/ Thu, 01 Apr 2004 14:47:00 GMT Edward Tanguay Double buffering in .NET Ever wondered how to double buffer with a Graphics object so your GDI+ based game/control doesn't flicker annoyingly? Here's how! http://www.developerfusion.com/code/4668/double-buffering-in-net/ http://www.developerfusion.com/code/4668/double-buffering-in-net/ Fri, 11 Feb 2005 13:59:00 GMT Simon Soanes Parse a UK Date String Ever wondered why DateTime.Parse doesn't recognise non-US date format? Here's how to get it to! http://www.developerfusion.com/code/4690/parse-a-uk-date-string/ http://www.developerfusion.com/code/4690/parse-a-uk-date-string/ Fri, 15 Apr 2005 12:11:00 GMT James Crowley Date And Time Validation Functions This function is used for VB.Net developers. It is useful for Date validate when the date format is "dd/MM/yyyy" or "dd/MMM/yyyy". Time validation is also useful for Validating the given time in the format of "HH:mm:ss" http://www.developerfusion.com/code/5480/date-and-time-validation-functions/ http://www.developerfusion.com/code/5480/date-and-time-validation-functions/ Wed, 08 Mar 2006 14:23:00 GMT Hari K Execute a Process and Fetch its Output Demonstrates how to redirect the output of a shell program (such as a batch file) so you can fetch the text it returns. http://www.developerfusion.com/code/4662/execute-a-process-and-fetch-its-output/ http://www.developerfusion.com/code/4662/execute-a-process-and-fetch-its-output/ Sun, 30 Jan 2005 14:15:00 GMT James Crowley String Concatenation How to join/append two strings together in VB http://www.developerfusion.com/code/1728/string-concatenation/ http://www.developerfusion.com/code/1728/string-concatenation/ Sun, 14 Oct 2001 18:59:00 GMT James Crowley The Trick to Temporary Files Karl Moore reveals how to save temporary files in... the temp directory! http://www.developerfusion.com/code/3913/the-trick-to-temporary-files/ http://www.developerfusion.com/code/3913/the-trick-to-temporary-files/ Mon, 04 Aug 2003 06:23:00 GMT Karl Moore Screen Resolution Helps you to get the screen resolution from VB.NET http://www.developerfusion.com/code/3856/screen-resolution/ http://www.developerfusion.com/code/3856/screen-resolution/ Fri, 05 Sep 2003 08:53:00 GMT Bharat Nagarajan VB Express Color Object to Hex String This function takes one color type variable and returns the hex code in a string. http://www.developerfusion.com/code/5664/vb-express-color-object-to-hex-string/ http://www.developerfusion.com/code/5664/vb-express-color-object-to-hex-string/ Fri, 05 May 2006 05:42:00 GMT Chris Buske Spoofing the Referrer using HttpWebRequest Here's a simple way to spoof the referrer to a web page during a web request. http://www.developerfusion.com/code/4672/spoofing-the-referrer-using-httpwebrequest/ http://www.developerfusion.com/code/4672/spoofing-the-referrer-using-httpwebrequest/ Sun, 20 Feb 2005 10:54:00 GMT Dave Wanta Clearing TreeView taking too much time Explores an odd feature of the System.Windows.Forms.TreeView and a simple workaround. http://www.developerfusion.com/code/4477/clearing-treeview-taking-too-much-time/ http://www.developerfusion.com/code/4477/clearing-treeview-taking-too-much-time/ Wed, 25 Feb 2004 05:00:00 GMT Palo Mraz How to run through multiple DataReader results You can save code by piling SQL statements into one SqlCommand and then getting a DataReader with multiple result sets. http://www.developerfusion.com/code/4638/how-to-run-through-multiple-datareader-results/ http://www.developerfusion.com/code/4638/how-to-run-through-multiple-datareader-results/ Fri, 17 Dec 2004 15:16:00 GMT Edward Tanguay Are You Running in the IDE? Here's how to detect if your .NET code is currently being debugged, or if we're in design mode. http://www.developerfusion.com/code/3942/are-you-running-in-the-ide/ http://www.developerfusion.com/code/3942/are-you-running-in-the-ide/ Wed, 13 Aug 2003 10:13:00 GMT Karl Moore How to empty a recycle bin Here is a little snippet that allows you to clean your recycle bin without any confirmation from the user, no progress ui and the sound is removed. http://www.developerfusion.com/code/5673/how-to-empty-a-recycle-bin/ http://www.developerfusion.com/code/5673/how-to-empty-a-recycle-bin/ Sat, 06 May 2006 14:57:00 GMT Peter Rekdal Sunde