Welcome To Snipplr


Everyone's Recent VB.NET Snippets



« Prev 1 2 3
  1. FAV

    [vbnet] [convert] conversion de chiffres en lettres (french) V1

    convert numbers to letters Ce module permet de convertir un chiffre entier de 0 à 99999999999999. La méthode utilisée est la décomposition du chiffre par récursivité. nous divisons le chiffre par les éléments suivant : 10^9 (milliard) 10^6 (...
    VB.NET 56 views posted 6 months ago by martinbrait
  2. FAV

    [vbnet] [directory] lister tous les fichiers d'un répertoire

    list all the files in a directory
    VB.NET 56 views posted 6 months ago by martinbrait
  3. FAV

    [vbnet] [files] compter le nombre de fichiers d\'un répertoire

    count the number of files in a directory
    VB.NET 59 views posted 6 months ago by martinbrait
  4. FAV

    [vbnet] [directory] compter le nombre de dossiers d\'un répertoire

    count the number of folders in a directory
    VB.NET 53 views posted 6 months ago by martinbrait
  5. FAV

    [vbnet] [directory] lister les fichiers d'un répertoire et d'un sous-répertoire dans un tableau

    list files from directory and subdirectory into a table 'On déclare une arraylist qui contiendra tous les fichiers
    VB.NET 56 views posted 6 months ago by martinbrait
  6. FAV

    [vbnet] [fichier] Comment créer, copier, déplacer, supprimer un fichier ?

    How to create, copy, move, delete a file? Pour créer, copier, déplacer ou supprimer un fichier, on utilise la classe System.IO.File
    VB.NET 48 views posted 6 months ago by martinbrait
  7. FAV

    Credit Card Fraud Prevention Using VB.NET

    Checking customer's IP address if is match with billing address is one of the simple steps in order to prevent fraud. If you are looking for sample codes to validate that the transaction is being requested by the real cardholder, see below.
    VB.NET 11 views posted 3 years ago by Hexahow
  8. FAV

    Populate VB.NET DataGridView with data from MSSQL Server Stored Procedure

    Easily populate VB.NET DataGridView with data from MSSQL Server Stored Procedure
    VB.NET 21 views posted 4 years ago by ManuelToledo
  9. FAV

    Funcion conectar a BD SQL Server (sqlconection)

    Conexión a base de datos con los parametros que llega del contructor
    VB.NET 13 views posted 4 years ago by systemergon
  10. FAV

    Trabajando SP con DataTable , Dataset y Update origen desconectado

    Ejecutar sp retornando un datatable, Ejecutar sp retornando un dataset, Ejecutar sp Update retornando los registros actualizados
    VB.NET 10 views posted 4 years ago by systemergon
  11. FAV

    VB.NET SQL Example: How to send SMS in VB.NET using SQL database

    I thought I share this code snippet because I find this way of SMS sending an easy solution. I believe that even beginners can implement this VB.NET SQL SMS application, but I think some extent of perfection in the SMS technology is required for bett...
    VB.NET 20 views posted 4 years ago by LoganTurn
  12. FAV

    Convert IPv6 Address to IP numbers

    Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.g. country, state, city, latitude/longitude, ZIPs, timezone and so on. Free database can be downloaded at http://lite.ip2location.com.
    VB.NET 17 views posted 5 years ago by Hexahow
  13. FAV

    Select discrete cells

    Select discrete cells in a sheet
    VB.NET 12 views posted 6 years ago by ducalpha
  14. FAV

    Check Folder Directory Exists Using VB.NET

    I came across a permission issue when using the standard Directory.Exists() method, so I came up with another way to check if a Directory exists avoiding those permission issues. This works very well. It can be converted to C'#.
    VB.NET 21 views posted 6 years ago by nimblebits
  15. FAV

    Get Page Source Code

    You can use this to get the page source code of any valid URL. Tested on VS2010.
    VB.NET 18 views posted 6 years ago by nimblebits
  16. FAV

    VB.NET Method Perform Scalar

    This is a method that can be used to take a connection string and a valid oledb command and perform a scalar. This returns an Integer/Int32 value.
    VB.NET 14 views posted 7 years ago by nimblebits
  17. FAV

    Determine if text file is Unicode encoded

    The .NET Framework doesn't support automatic detection of character encoding in the default file I/O methods. This is a quick function that returns True in the specified file is Unicode.
    VB.NET 10 views posted 7 years ago by ShaneGowland
  18. FAV

    Dynamic CSS file in header

    Dynamic Add css file in header
    VB.NET 16 views posted 7 years ago by kzelda
  19. FAV

    Find all TreatWarningsAsErrors=false projects

    VS.NET Macro to list all projects in current solution that have TreatWarningsAsErrors=false.
    VB.NET 6 views posted 7 years ago by slolife
  20. FAV

    Julian Day of The Year

    http://msdn.microsoft.com/en-us/library/system.globalization.juliancalendar.getdayofyear(v=vs.90).aspx
    VB.NET 11 views posted 8 years ago by jsturtevant
  21. FAV

    Distinct datatable 1.0

    VB.NET 9 views posted 8 years ago by Gompje
  22. FAV

    Global System Object extensions for easier conditionals (VB.net example)

    Because there is no way to use object extenders in vb.net here is an example of how you can get similar functionality. See the C# example for further info.
    VB.NET 10 views posted 8 years ago by bryanlyman
  23. FAV

    Cancel dialog result from closing form

    VB.NET 8 views posted 8 years ago by indra
  24. FAV

    Saving data from gridview to xml file

    this code will show you how to save data from gridview to xml file
    VB.NET saved by 4 people 13 views posted 8 years ago by tabook22
  25. FAV

    create a new datatable

    This code will sow you how to create a new datatable
    VB.NET 11 views posted 8 years ago by tabook22
  26. FAV

    Create a new xml file and display it in browser

    Create a new xml file and display it in browser
    VB.NET 12 views posted 8 years ago by tabook22
  27. FAV

    Binding xml file to Gridview

    This code will be used to bind an xml file to gridview
    VB.NET 14 views posted 8 years ago by tabook22
  28. FAV

    add data to an existing xml file

    This code snippet is used to add data to an existing xml file
    VB.NET 9 views posted 8 years ago by tabook22
  29. FAV

    Snipplr Snippet Structure for use with Snipplr API

    VB.NET 16 views posted 8 years ago by marlu
  30. FAV

    How to Print in ASP.NET 2.0

    how to print controls in ASP.NET 2.0 using both server side code and javascript.
    VB.NET 17 views posted 8 years ago by derebus
« Prev 1 2 3