Microsoft Excel is probably one of the most used pieces of software on the planet. Spreadsheets are used heavily throughout the business world and Microsoft have enjoyed their Office suite taking a large proportion of businesses
Get the associated application for a file extension
Sometimes its necessary for us to identify what application is associated with a particular file extension, the following snippet of code will read the Windows registry to identify what application a particular file extension is opened with by default.
Getting an applications Icon
This is one of those pieces of code that you spend ages trying to find/figure out but once you do get it, it is annoyingly simple. I recently needed to get the Icon that was being used as the application
Shuffle a string in VB.Net
In this tutorial/code example I’m going to show you a method to shuffle the contents of a string. You might use this for something like an anagram game. Private ran As New Random Private Function randomizeString(ByVal input As String) As
How to find out current class/method name
In this short code example I’m going to show you a method to identify what class (including the namespace) you’re currently in and what the name of the current method is. You can also use this technique to find out
How to compress and decompress a file in VB.Net
In this tutorial/code example, I’m going to provide you with a piece of code to compress and decompress a file in VB.Net without using any additional libraries. Option Explicit On Option Strict On Imports System.IO Imports System.IO.Compression Namespace FileSystem Public
Tell if Microsoft Office Save As PDF add in is installed
In this VB.Net Tutorial/Code Example I’m going to show you how to check whether the Microsoft Office 2007 Save As PDF addin (available from here) is installed. Public Shared Function isPDFSaverInstalled() As Boolean Dim rtn As Boolean Dim key As
Is Excel installed and what version?
In this VB.Net Tutorial/Code Example, I’m going to provide you with a simple class that allows for you to check whether Excel is installed on the computer and also figure out which version of the Excel it is. The version function uses late binding.
Is Word installed and what version?
In this VB.Net Tutorial/Code Example, I’m going to provide you with a simple class that allows for you to check whether Word is installed on the computer and also figure out which version of the Word it is. The version function uses
Is Access installed and what version?
In this VB.Net Tutorial/Code Example, I’m going to provide you with a simple class that allows for you to check whether Access is installed on the computer and also figure out which version of the Access it is. The version function uses late binding.