CODE ARCHIVE

Years of coding.

Technical articles, programming tutorials, code snippets and source files shared over the years.

KNOWLEDGE & EXPERIENCE

Knowledge worth sharing.

A collection of programming solutions, experiments and technical knowledge shared throughout my journey as a developer.

34Articles
23Categories
283Tags

ARTICLES

Published articles

Clear filter

Filtered by function · 20

  1. Useful extension methods for the String .Net class and string manipulation, with support of IntelliSense

    Hi to all, I wrote this .NET module that extends String class with useful methods to modify alphanumeric characters and symbols. It fully integrates with the compiler so You are able to recognize extension methods by IntelliSense…

    Read original article
  2. Updated version of CryptographyHelper class for .NET Framework 4

    This updated version of mine “CryptographyHelper” wrapper/helper class supports .NET Framework 4 . With this vb.net class you can easly encrypt/decrypt strings using a robust symmetric Rijndael algorithm or you can get also MD5 o…

    Read original article
  3. MySqlHelper VB.NET class - easly execute commands against a MySQL database

    Hi all, with the following free .net helper class you can easly execute SQL commands against a MySQL database, execute stored procedures, get or programmatically update tables/DataSet objects and convert to and from MySQL datetim…

    Read original article
  4. Multilingual applications with VB.NET

    In this simple tutorial you'll learn how to manage different languages for a vb.NET application and the simplest way to access programmatically to the string values in the resource compiled files (*.resx) created by Visual Studio…

    Read original article
  5. How to remove accent marks and german umlauts from URLs and Strings in .NET

    I wrote two functions in .NET to remove easly any accent and umlaut marks from a string and to get the equivalent non-accented string, this is very useful to normalize URLs; for example, with the StripAccentMarks() method, from "…

    Read original article
  6. How to stringify an object in Javascript: converting an object to a padded & well-formatted string or simply inline

    I wrote a function to convert an object in a string (stringification) without using a JSON library; you can convert an object to a well formatted string with padding or simply to an unique line: function stringify(object, padding…

    Read original article
  7. PHP Date or Datetime to MySQL Datetime and viceversa

    Two useful PHP functions to convert normal date/datetime ("25.12.2010 12:10:00" or "25.12.2010") to MySQL datetime (like "2010-12-25 12:10:00" or "2010-12-25 00:00:00"); You can get back a date/datetime from MySQL datetime too: f…

    Read original article
  8. How to draw a shadow for a bitmap (Drop Shadow Effect in VB.NET / ASP.NET)

    I wrote a vb.net subroutine to draw easly a shadow for a Bitmap object; It is possible get a charming shadow in different ways... Normal black shadow to the bottom right corner Red shadow to the bottom right corner Shadow to the …

    Read original article
  9. VBScript Class to create easly Associative Arrays in ASP like in PHP

    I've posted a project at Source Forge with an ASP/VBScript class to create easly associative arrays like in PHP; visit http://sourceforge.net/projects/asp-assoc-array/ It is possible also load in an associative-array the data com…

    Read original article
  10. How to use Associative Arrays in ASP

    First of all, You need to download the "Asp Associative Array class" then include the file "AssociativeArrayClass.asp" in your asp page. Right now, You can start declaring associative arrays in ASP with the following syntax: Dim …

    Read original article
  11. How to populate an ASP Associative Array with records from MySQL / Access database Table

    In this example, You can learn how to populate an ASP Associative Array with the records of a database table (MS Access or MySQL); then, how to programmatically manage well structured data without any extra SQL. Before to start: …

    Read original article
  12. How to export an ASP Associative Array to XML

    "Asp Associative Array Class" provides a method to easly export all items to a well formatted XML string. For example, You can create a new *.ASP file : <!--#include file="AssociativeArrayClass.asp" --> <% Dim Person, God Set Per…

    Read original article
  13. Convert a DateTime string to a Unix timestamp in VbScript / Classic ASP

    To convert a datetime string value like "YYYY-MM-DD HH:MM:SS" to a Unix timestamp (the seconds from 01/01/1970 to the input datetime) You can use a conversion function as the following: Function ConvertToUnixTimeStamp(input_datet…

    Read original article