<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediamonkey.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ISDBRegistry%3A%3AOpenKey</id>
	<title>ISDBRegistry::OpenKey - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediamonkey.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ISDBRegistry%3A%3AOpenKey"/>
	<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/index.php?title=ISDBRegistry::OpenKey&amp;action=history"/>
	<updated>2026-05-23T13:40:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://www.mediamonkey.com/wiki/index.php?title=ISDBRegistry::OpenKey&amp;diff=1679&amp;oldid=prev</id>
		<title>Jiri at 17:29, 21 March 2007</title>
		<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/index.php?title=ISDBRegistry::OpenKey&amp;diff=1679&amp;oldid=prev"/>
		<updated>2007-03-21T17:29:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{MethodDeclaration|SDBRegistry|ISDBRegistry|Function OpenKey(Key As String, CanCreate As Boolean) As Boolean}}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
{{MethodParameters &lt;br /&gt;
 |Key |String |Key to be openned.&lt;br /&gt;
 |CanCreate |Boolean |Whether the key can be created in case it doesn&amp;#039;t exist.}}&lt;br /&gt;
&lt;br /&gt;
===Method description===&lt;br /&gt;
&lt;br /&gt;
Opens a key so that it can be subsequently used to get/set its values.&lt;br /&gt;
&lt;br /&gt;
Key can either contain a full path starting with &amp;#039;\&amp;#039; (e.g. \Software\Microsoft\Windows\) or only part of path (e.g. &amp;#039;My Value&amp;#039;). In the second case \Software\Songs-DB\Scripts\ is used as a base key.&lt;br /&gt;
&lt;br /&gt;
===Example code===                    &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
Set Regs = SDB.Registry&lt;br /&gt;
If Regs.OpenKey( &amp;quot;Some key&amp;quot;, False) Then&lt;br /&gt;
  MyValue = Regs.StringValue(&amp;quot;Some value&amp;quot;)&lt;br /&gt;
  Regs.CloseKey&lt;br /&gt;
End If&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Automation objects|{{PAGENAME}}]]&lt;br /&gt;
[[Category:CoClass SDBRegistry|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Interface ISDBRegistry|{{PAGENAME}}]]&lt;/div&gt;</summary>
		<author><name>Jiri</name></author>
	</entry>
</feed>