Easy-to-use and strong Encrypt/Decrypt PHP functions

posted in: Cryptography, PHP, Programming 1

I wrote those two following PHP functions to encrypt and decrypt strings easly and with a stronger encryption module than the other examples on the net (please, note that “strong” does not equals “secure”!); Happy encryption/decryption! 🙂 Max [sourcecode language=”php”] … Read More

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 “àbcdèéfghìlmnòpqrstùvzäöüÄÖÜ” u’ll … Read More

Multilingual applications with VB.NET

posted in: C#, Programming, VB.Net 2

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; Adding resource files: First … Read More

How to extract text content from tags in VB.Net

With this simple vb.net function You are able to extract content from HTML tags, useful and smart Max 🙂 [sourcecode language=”vb”] Public Function GetTagContent(ByRef html As String, ByVal start_tag As String, ByVal end_tag As String) As String Dim s As … Read More

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

posted in: C#, Programming, VB.Net 0

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; in the bottom … Read More