C# Code that Prints the Date and Time in Various Formats
This is a simple C# program that returns the current date and time in various formats. This program uses the DateTime.Now property to get the current date and time.
Read MorePosted by M. Saqib | Sep 9, 2008 | C#, ASP.NET Core and .NET Applications Code |
This is a simple C# program that returns the current date and time in various formats. This program uses the DateTime.Now property to get the current date and time.
Read MorePosted by M. Saqib | Sep 9, 2008 | C#, ASP.NET Core and .NET Applications Code |
This is a very simple Visual Basic source code to export all the slides from a PowerPoint presentation. This source code can export images in any specified image format like .jpg, .bmp or .gif. I wrote this function while I was working on my undergraduate project “PowerPoint to XML Interchangeability”. I had to make some sort of PowerPoint Viewer to view the slides so I wrote this function to export PowerPoint slides into image sequences so that I can display them into an image control and export the images at a temporary location.
Read MorePosted by M. Saqib | Sep 9, 2008 | Visual Basic Source Code |
This is a visual basic 6.0 source code that inverts the case of the selected text. If the upper case text is selected then it will convert it into lower case text. Otherwise to upper case. ASP...
Read MorePosted by M. Saqib | Sep 9, 2008 | Visual Basic Source Code |
This is a visual basic 6.0 wav sound player class that plays any selected sound file in .wav format. It has the filename property to select the file and play property to play the sound file. ASP...
Read MorePosted by M. Saqib | Sep 9, 2008 | Visual Basic Source Code |
This is a slow but working Visual Basic implementation of the 256-bit Serpent algorithm. Serpent was a finalist for Advanced Encryption Standard (AES) and appears to be a very secure powerful algorithm. The Advanced Encryption Standard, or AES, is a symmetric block cipher chosen by the U.S. government for the encryption of classified electronic data and is implemented in software and hardware throughout the world to encrypt sensitive data.
Read MorePosted by M. Saqib | Sep 9, 2008 | Visual Basic Source Code |
This is a BASE85 Encoding Visual Basic class that expands the text to be encoded by 4:5 i.e. uses 5 ASCII characters to represent 4 bytes with 80% accuracy. Used in Postscript and PDF documents. Useful if binary data needs to be persisted in ASCII text.
Read MorePosted by M. Saqib | Sep 9, 2008 | Visual Basic Source Code |
This is a visual basic 6.0 source code to count the number of characters in a string. This function can be useful in Text editors or where you want to tell the user that how many characters have been inputted in the text field. You can also define which characters to count and which do not.
Read MorePosted by M. Saqib | Sep 9, 2008 | Visual Basic Source Code |
This is a visual basic 6.0 source code that counts the number of words in a specified string. This function can be useful in Text editors or where you want to tell the user that how much words have been inputted in the text...
Read More