Category Archives: CodeProject

Get the last write time of a registry key in VB.Net using PInvoke

For a while I have been trying to find out how to get the last write time of a registry key but after digging thru the object browser in VS 2008 and .Net Framework 3.5 there appears to be no … Continue reading

Posted in CodeProject | Tagged , ,

Get the Security Descriptor of a Windows Service With WMI

Reason for Project: A while back I wrote a little utility to temporarily turn off the Microsoft Security Essentials Anti-Virus / Anti-Malware service. In January of 2013 I discovered that my application no longer worked due to an Access denied … Continue reading

Posted in CodeProject | Tagged , ,

WMI Code Creator For Windows Forms For VB.Net

This is  a project for creating code like the WMI Code creator but the output is for VB.Net and Windows Forms Instead of for a Console Application.   The Project Reason Anyone that has used the WMI Code Creator knows … Continue reading

Posted in CodeProject, VB.net | Tagged

Windows form screenshot and print preview in VB.Net

How to take a screen shot of a windows form and then print it.   As I am working on an application, I end up with several smaller test application to learn about different ways to do something. After creating … Continue reading

Posted in CodeProject, VB.net | Tagged , | 3 Comments

How to convert a Fraction to Decimal

This little test program has allot of user input validation.   About 10 years ago while working as a pipefitter I was called upon to figure out how to fit a riser pipe onto a reducer. Since the reducer is … Continue reading

Posted in CodeProject, VB.net | Tagged , | 1 Comment

Using the service controller in VB.Net

Using the service controller is really very easy. All of my applications come about from something I’m working on at the time. This time I needed a way for my mom to temporarily stop the Microsoft Security Essentials  service which … Continue reading

Posted in Anti-virus, CodeProject, VB.net | Tagged , | 2 Comments

Converting a SID in Array of bytes to String version in VB.Net

This is a program that converts SID’s with 1 – 5 sub Authorities  , from Array of bytes to the String Format In my last post I was looking for a way to convert the array of bytes , (SID: … Continue reading

Posted in CodeProject, System Tools, VB.net | Tagged , , | 1 Comment