RegistryAccessErrorException

From Xojo Documentation
Jump to: navigation, search

Class (inherits from RuntimeException)


The Registry items feature is Windows-only. This exception occurs if you try to use the RegistryItem class without proper access privileges, try to access a key that does not exist or try to use it in macOS or Linux.

Example

Try
Dim reg As New RegistryItem("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersions")
Catch e As RegistryAccessErrorException
// Error, perhaps path is invalid
End Try

See Also

Exception, Try statements, RegistryItem class.

Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About