Library code snippets tagged with vb.net

Search filter
Page 1 of 3
  • Making a .NET app run on Vista with Administrator priviledges

    by James Crowley

    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. .net, c#, vb.net

  • How to empty a recycle bin

    by Peter Rekdal Sunde

    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. vb.net

  • VB Express Color Object to Hex String

    by Chris Buske

    This function takes one color type variable and returns the hex code in a string. vb.net

  • Visual WebGui a unique approach to AJAX development

    by Guy Peled

    Visual WebGui is not just another AJAX framework but rather a different approach to web application development, specially designed to simplify building highly complex applications like Outlook Web Access (OWA). Visual WebGui makes it possible for developers to create applications that were previously developed only by the "big guys". ajax, c#, vb.net, visual studio

  • GDI+ Image Encoder and Decoder Info

    by Mitch Dusina

    Sample code to display useful information about the built in GDI+ Image Encoders and Decoders. Easily used to display information about any Encoder and Decoder as well. vb.net

  • Date And Time Validation Functions

    by Hari K

    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" vb.net, visual studio

  • SQL Data Provider VB.NET Class

    by Mehdi Golchin

    This class includes some useful methods for working with Misrosoft SQL Server in .NET simply and quickly. .net, ado.net, sql, vb.net

  • Convert Decimal Integer Values to Binary String in VB6

    by Alex Etchells

    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. vb.net

  • VB.NET Stylise Your Forms like you would with CSS on a webpage

    by phill64

    How to Programatically change properties of all the controls on your form. css, vb.net

  • Printing with formatting in VB.NET

    by Jereme Guenther

    This code demonstrates how to print formatted text using VB.NET, with a a printing class which allows text to be formatted at the character level. vb.net

  • IP2Location Geolocation .NET Component in VB.NET

    by IP2Location Inc

    IP2Location .NET component that translates IP address to country, city, region, latitude, longitude, ZIP code, ISP and domain name. Developers use this component for projects related to: 1. Display native language and currency; 2. Redirect based on country; 3. Digital rights management; 4. Prevent password sharing and abuse of service; 5. Reduce credit card fraud; 6. Web log stats and analysis; components, c#, vb.net

  • Priority Queue .NET

    by Rasto Novotny

    Priority queue is collection like stack or queue. Objects are pushed into priority front in any order, and a priority is assigned to each object. They can be then popped from priority front ordered by priority. It is able to specify if objects with lower priority are popped first or objects with greater priority are popped first. vb.net

  • Generate an Image of a Web Page

    by Alan Dean

    Demonstrates how to fetch images and thumbnails of web pages using a hidden web browser control. .net, image, thumbnail, vb.net

  • Parse a UK Date String

    by James Crowley

    Ever wondered why DateTime.Parse doesn't recognise non-US date format? Here's how to get it to! .net, c#, vb.net

  • Spoofing the Referrer using HttpWebRequest

    by Dave Wanta

    Here's a simple way to spoof the referrer to a web page during a web request. vb.net

  • Calculate Age

    by James Crowley

    How to calculate someone's age from their birth date. .net, c#, vb.net

  • Double buffering in .NET

    by Simon Soanes

    Ever wondered how to double buffer with a Graphics object so your GDI+ based game/control doesn't flicker annoyingly? Here's how! .net, vb.net

  • Execute a Process and Fetch its Output

    by James Crowley

    Demonstrates how to redirect the output of a shell program (such as a batch file) so you can fetch the text it returns. vb.net

  • How to run through multiple DataReader results

    by Edward Tanguay

    You can save code by piling SQL statements into one SqlCommand and then getting a DataReader with multiple result sets. .net, ado.net, vb.net

  • Capture a Screen Shot

    by James Crowley

    Demonstrates how to capture a screen shot of the entire desktop, or a particular window in C# or VB.NET. .net, vb.net