Hi,
I haven't done much with VB.net for a long while. I'm trying to create a program I can distribute to remove a key from several hundred computers' registry's.
Here's my code:
I'm running the program as an administrator. No errors are thrown but the value doesn't get touched.Code:Module Module1 Sub Main() Console.Out.WriteLine("Deleting Key") My.Computer.Registry.SetValue("HKEY_CLASSES_ROOT\CLSID\{6C467336-8281-4E60-8204-430CED96822D}\InprocServer32", "", "") Console.Out.WriteLine("Value Deleted") Console.ReadLine() End Sub End Module
Any help would be greatly appreciated.


LinkBack URL
About LinkBacks




Reply With Quote




Bookmarks