GMap.NET Custom Image Marker

After using a great Map library I required to use a custom image instead of the default ones shipped with the pre-compiled binaries. Here is what I came up with and works a treat. Imports System.Drawing Imports GMap.NET.WindowsForms Namespace GMap.NET.WindowsForms.Markers Public Class GMapCustomImageMarker Inherits GMapMarker Private _image As Image Public Sub New(Image As Image, p […]

Extract Office Install Key (2000/XP/2003/2007/2010)

Here is a little script to get the office keys. Should work for office 2000/XP/2003/2007/2010 Dim ScriptHelper Set ScriptHelper = New ScriptHelperClass ScriptHelper.RunMeWithCScript() strComputer = ScriptHelper.Network.ComputerName CONST HKEY_CLASSES_ROOT = &H80000000 CONST HKEY_CURRENT_USER = &H80000001 CONST HKEY_LOCAL_MACHINE = &H80000002 CONST HKEY_USERS = &H80000003 CONST KEY_QUERY_VALUE = 1 CONST KEY_SET_VALUE = 2 CONST SEARCH_KEY = “DigitalProductID” Dim arrSubKeys(10,1) Dim foundKeys Dim iValues, arrDPID […]

Determine Office Edition Script

By request, here is a script to detect the installed edition of Office. Currently only supports 2007 and 2010 but can be adapted easily enough. This site was used as a reference – http://support.microsoft.com/kb/2186281 Set objWord = CreateObject(“Word.Application”) Select Case objWord.Version Case ”12.0″ strYear = ”2007″ Case ”14.0″ strYear = ”2010″ Case Else strYear = ”Unsupported Version” End Select intRelease = Right(Left(objWord.ProductCode(),2), 1) Select Case intRelease Case ”0″ strRelease = ”Pre Release” Case ”1″ strRelease = ”Beta 1″ Case ”2″ strRelease = ”Beta 2″ Case ”3″ strRelease = ”RC 0″ Case ”4″ […]

Prevention is better than cure

Do you monitor server health at the moment? Your server is one of your most important assets, so it makes sense to check its pulse regularly to ensure its heart is beating strong. Remember what the doctors are fond of saying: “An ounce of prevention is worth a pound of cure”. With that in mind […]

DNS.exe High Memory Usage

Q. I did a fresh install of Windows 2008 R2 and my DNS memory consumption is going through the roof. If I reboot, it’s ok briefly, but then it goes up again. How can I stop it? A. There are a lot of discussions about DNS high memory utilization on Windows 2008 R2 floating around. […]

Majority of small businesses not confident in network security

More than half of IT administrators at small businesses would not bet their own money that all of the computers their business owns and employees use are free of malware (51%) or that all are operating at peak efficiency and will not fail (59%), according to GFI Software. Survey results also reveal that 51% of […]

Simple safe web browsing tips

The most important thing to remember about cyber security is that people using their touchpad or mouse are the last line of defense. Technologies such as anti-virus, safe browsers, firewalls, or anything else cannot help if an Internet user clicks on the wrong link or visits the wrong web site. The following tips from Wombat […]