ADD ICON

  • Thread starter Thread starter JenCarlos
  • Start date Start date
J

JenCarlos

Guest
Hello

Good…

I am registering an item in Windows Explorer, in fact, I have achieved it with the following code

Dim rKey As RegistryKey = Registry.ClassesRoot.OpenSubKey("\Directory\shell", True)


Dim newKey As RegistryKey = rKey.CreateSubKey("HELLO")
Dim newSubKey As RegistryKey = newKey.CreateSubKey("command")
newSubKey.SetValue("", "D:\Proyect\Open_Close_CD_DVD\bin\Debug\_CD_DVD.exe " & """" & "%1" & """")
newSubKey.Close()
newKey.Close()
rKey.Close()




Now I would like to add an icon and a separator to the item, try it, but, I have not succeeded, I searched the internet for references, but, I did not find a clear example in the indicated language.


I hope you can help me

Thank you

Continue reading...
 
Back
Top