https://www.developerfusion.com/t/vb.net/code/sort/popularity/VB.NET Sample code from Developer Fusion2008-08-06T09:35:00.00Zhttp://www.developerfusion.com/code/7987/making-a-net-app-run-on-vista-with-administrator-priviledges/Making a .NET app run on Vista with Administrator priviledges2008-08-06T09:35:00.00ZIf 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.James Crowleyhttp://www.developerfusion.com/code/4445/userfriendly-validation-using-errorprovider/User-Friendly Validation using ErrorProvider2004-02-15T09:33:00.00ZData 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.Tim Dawsonhttp://www.developerfusion.com/code/4712/generate-an-image-of-a-web-page/Generate an Image of a Web Page2005-07-22T15:50:00.00ZDemonstrates how to fetch images and thumbnails of web pages using a hidden web browser control.Alan Deanhttp://www.developerfusion.com/code/3903/is-an-internet-connection-available/Is an Internet Connection Available?2003-08-01T06:55:00.00ZCheck if an internet connection is available using this simple code snippet.Karl Moorehttp://www.developerfusion.com/code/5430/convert-decimal-integer-values-to-binary-string-in-vb6/Convert Decimal Integer Values to Binary String in VB62006-02-22T13:52:00.00ZA 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.Alex Etchellshttp://www.developerfusion.com/code/3940/random-numbers-that-work/Random Numbers... That Work!2003-08-13T10:09:00.00ZHas 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.Karl Moorehttp://www.developerfusion.com/code/4596/how-to-access-a-mysql-database-with-net/How to access a MySQL database with .NET2004-04-01T14:47:00.00ZDemonstrates how to connect to a MySQL database with C#.Edward Tanguayhttp://www.developerfusion.com/code/4668/double-buffering-in-net/Double buffering in .NET2005-02-11T13:59:00.00ZEver wondered how to double buffer with a Graphics object so your GDI+ based game/control doesn't flicker annoyingly? Here's how!Simon Soaneshttp://www.developerfusion.com/code/4690/parse-a-uk-date-string/Parse a UK Date String2005-04-15T12:11:00.00ZEver wondered why DateTime.Parse doesn't recognise non-US date format? Here's how to get it to!James Crowleyhttp://www.developerfusion.com/code/5480/date-and-time-validation-functions/Date And Time Validation Functions2006-03-08T14:23:00.00ZThis 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"Hari Khttp://www.developerfusion.com/code/4662/execute-a-process-and-fetch-its-output/Execute a Process and Fetch its Output2005-01-30T14:15:00.00ZDemonstrates how to redirect the output of a shell program (such as a batch file) so you can fetch the text it returns.James Crowleyhttp://www.developerfusion.com/code/1728/string-concatenation/String Concatenation2001-10-14T18:59:00.00ZHow to join/append two strings together in VBJames Crowleyhttp://www.developerfusion.com/code/3913/the-trick-to-temporary-files/The Trick to Temporary Files2003-08-04T06:23:00.00ZKarl Moore reveals how to save temporary files in... the temp directory!Karl Moorehttp://www.developerfusion.com/code/3856/screen-resolution/Screen Resolution2003-09-05T08:53:00.00ZHelps you to get the screen resolution from VB.NETBharat Nagarajanhttp://www.developerfusion.com/code/5664/vb-express-color-object-to-hex-string/VB Express Color Object to Hex String2006-05-05T05:42:00.00ZThis function takes one color type variable and returns the hex code in a string.Chris Buskehttp://www.developerfusion.com/code/4672/spoofing-the-referrer-using-httpwebrequest/Spoofing the Referrer using HttpWebRequest2005-02-20T10:54:00.00ZHere's a simple way to spoof the referrer to a web page during a web request.Dave Wantahttp://www.developerfusion.com/code/4477/clearing-treeview-taking-too-much-time/Clearing TreeView taking too much time2004-02-25T05:00:00.00ZExplores an odd feature of the System.Windows.Forms.TreeView and a simple workaround.Palo Mrazhttp://www.developerfusion.com/code/4638/how-to-run-through-multiple-datareader-results/How to run through multiple DataReader results2004-12-17T15:16:00.00ZYou can save code by piling SQL statements into one SqlCommand and then getting a DataReader with multiple result sets.Edward Tanguayhttp://www.developerfusion.com/code/3942/are-you-running-in-the-ide/Are You Running in the IDE?2003-08-13T10:13:00.00ZHere's how to detect if your .NET code is currently being debugged, or if we're in design mode.Karl Moorehttp://www.developerfusion.com/code/5673/how-to-empty-a-recycle-bin/How to empty a recycle bin2006-05-06T14:57:00.00ZHere 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.Peter Rekdal Sunde