Dim regClassRoot as RegistryKey = Registry.ClassesRoot;
regClassRoot.CreateSubKey("applicationName");
regClassRoot.SetValue("whavever", "applicationpath");
Create two trees similar to the ones on the msdn page.
The result will be that you will be creating a key to identify what program opens
the file type and a key to describe the application and its run path.
It would be a better idea to use the Windows Installer to create the registry keys and register the file extension.
Marble_eater, for being such a big proponent of googling you sure do give crappy links.
dont know about crappy links the 2nd link in the list on that google search happens to be one of the best VB code sites on the net, nearly all of it may be pre - .NET, but just about all of that can be modded to work in .NET
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.