Month: September 2010

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 RegistryKey = Registry.LocalMachine.OpenSubKey(“SoftwareMicrosoftWindowsCurrentVersionUninstall{90120000-00B0-0409-0000-0000000FF1CE}”) rtn = key IsNot Nothing key.Close() Return rtn End Function

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. Imports Microsoft.Win32 Namespace MS.Office Public Class Excel Public Shared Function isInstalled() As Boolean Dim regClasses …

Is Excel installed and what version? Read More »

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 late binding. Imports Microsoft.Win32 Namespace MS.Office Public Class Word Public Shared Function isInstalled() As Boolean …

Is Word installed and what version? Read More »

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. Imports Microsoft.Win32 Namespace MS.Office Public Class Access Public Shared Function isInstalled() As Boolean Dim regClasses …

Is Access installed and what version? Read More »

Is Outlook 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 Outlook is installed on the computer and also figure out which version of the Outlook it is. {code}Imports Microsoft.Win32 Namespace MS.Office Public Class Outlook Public Shared Function isInstalled() As Boolean Dim regClasses As RegistryKey …

Is Outlook installed and what version? Read More »

How to copy and paste from the Windows clipboard

In this VB.Net Tutorial/Code Example I’m going to show you how to copy text to the Windows clipboard and then get text from the Windows clipboard again. Public Class Clipboard ''' <summary> ''' This method deals with putting text into the clipboard ''' </summary> ''' <param name="textToCopy">The text to be put in the clipboard</param> ''' …

How to copy and paste from the Windows clipboard Read More »