<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.reliawiki.com/index.php?action=history&amp;feed=atom&amp;title=Connect_or_Disconnect_from_a_Synthesis_Repository%2FVBA</id>
	<title>Connect or Disconnect from a Synthesis Repository/VBA - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.reliawiki.com/index.php?action=history&amp;feed=atom&amp;title=Connect_or_Disconnect_from_a_Synthesis_Repository%2FVBA"/>
	<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Connect_or_Disconnect_from_a_Synthesis_Repository/VBA&amp;action=history"/>
	<updated>2026-04-12T04:20:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Connect_or_Disconnect_from_a_Synthesis_Repository/VBA&amp;diff=65032&amp;oldid=prev</id>
		<title>Kate Racaza: Updated for V11</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Connect_or_Disconnect_from_a_Synthesis_Repository/VBA&amp;diff=65032&amp;oldid=prev"/>
		<updated>2017-04-03T18:01:28Z</updated>

		<summary type="html">&lt;p&gt;Updated for V11&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:01, 3 April 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;Specify the full path to the standard repository. Assume that}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;Specify the full path to the standard repository. Assume that}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&#039;a standard repository called &quot;RSRepository1.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsr10&lt;/del&gt;&quot; exists in the C drive.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&#039;a standard repository called &quot;RSRepository1.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsr11&lt;/ins&gt;&quot; exists in the C drive.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    MyRepository.ConnectToRepository({{APIString|&quot;C:\RSRepository1.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsr10&lt;/del&gt;&quot;}})&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    MyRepository.ConnectToRepository({{APIString|&quot;C:\RSRepository1.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsr11&lt;/ins&gt;&quot;}})&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;Declare a new NameIdPair object.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;Declare a new NameIdPair object.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kate Racaza</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Connect_or_Disconnect_from_a_Synthesis_Repository/VBA&amp;diff=63523&amp;oldid=prev</id>
		<title>Kate Racaza: Created page with &#039;{{Template:API}} ==Tutorial: Connect and Disconnect from a Synthesis Repository== Below is the VBA version of the tutorial. …&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Connect_or_Disconnect_from_a_Synthesis_Repository/VBA&amp;diff=63523&amp;oldid=prev"/>
		<updated>2016-04-26T23:35:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{Template:API}} ==Tutorial: Connect and Disconnect from a Synthesis Repository== Below is the VBA version of the &lt;a href=&quot;/index.php/Connect_or_Disconnect_from_a_Synthesis_Repository&quot; title=&quot;Connect or Disconnect from a Synthesis Repository&quot;&gt;tutorial&lt;/a&gt;. …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:API}}&lt;br /&gt;
==Tutorial: Connect and Disconnect from a Synthesis Repository==&lt;br /&gt;
Below is the VBA version of the [[Connect_or_Disconnect_from_a_Synthesis_Repository|tutorial]].&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;VBA&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &lt;br /&gt;
 Sub Main()&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Declare a new Repository object.}}&lt;br /&gt;
   {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository&lt;br /&gt;
  &lt;br /&gt;
 {{APIComment|&amp;#039;Specify the full path to the standard repository. Assume that}}&lt;br /&gt;
 {{APIComment|&amp;#039;a standard repository called &amp;quot;RSRepository1.rsr10&amp;quot; exists in the C drive.}}&lt;br /&gt;
   MyRepository.ConnectToRepository({{APIString|&amp;quot;C:\RSRepository1.rsr10&amp;quot;}})&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Declare a new NameIdPair object.}}&lt;br /&gt;
   {{APIPrefix|Dim}} ListofProjects() {{APIPrefix|As}} NameIdPair&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Get a list of all projects in the repository.}}&lt;br /&gt;
   ListOfProjects = MyRepository.Project.GetAllProjects&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Set the first available project as the current project.}}&lt;br /&gt;
   MyRepository.Project.SetCurrentProject(ListofProjects(0).ID)&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Display the name and object ID of the current project.}}&lt;br /&gt;
   {{APIPrefix|Dim}} ProjectName {{APIPrefix|As}} String&lt;br /&gt;
   {{APIPrefix|Dim}} ProjectID {{APIPrefix|As}} Integer &lt;br /&gt;
 &lt;br /&gt;
   ProjectName = MyRepository.Project.GetCurrentProject.Name&lt;br /&gt;
   ProjectID = MyRepository.Project.GetCurrentProject.ID&lt;br /&gt;
   MsgBox ({{APIString|&amp;quot;You are currently connected to: &amp;quot;}} &amp;amp; ProjectName &amp;amp; {{APIString|&amp;quot;, ID#&amp;quot;}} &amp;amp; ProjectID)&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Disconnect from the Synthesis repository.}}&lt;br /&gt;
   MyRepository.DisconnectFromRepository&lt;br /&gt;
 &lt;br /&gt;
 End Sub&lt;/div&gt;</summary>
		<author><name>Kate Racaza</name></author>
	</entry>
</feed>