Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim key As Object = Registry.LocalMachine.OpenSubKey("RegistryRightsExample", True)
If key Is Nothing Then
MsgBox("does not exist")
End If
Try
Registry.LocalMachine.DeleteSubKey("RegistryRightsExample")
Catch ex As ArgumentException
MsgBox("does not exist")
Catch ex As Exception
MsgBox("Unable to delete the example key: {0}")
Return
End Try