<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[CONNECT VBA] Is MS_VBA_OPEN_IN_MEMORY valid in CONNECT?</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/206368/connect-vba-is-ms_vba_open_in_memory-valid-in-connect</link><description>On another thread someone noticed that configuration variable MS_VBA_OPEN_IN_MEMORY is not mentioned in the MicroStation CONNECT Help doc, but it remains in the VBA CONNECT help doc. 
 Does MS_VBA_OPEN_IN_MEMORY still participate in VBA project loading</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [CONNECT VBA] Is MS_VBA_OPEN_IN_MEMORY valid in CONNECT?</title><link>https://communities.bentley.com/thread/621498?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 22:44:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b04ae46e-8ff7-49e9-9b61-a73d46cb8955</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/de0601d9_2d00_ca2e_2d00_4005_2d00_a7b3_2d00_982abaee9aeb"&gt;Jon Summers&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;&lt;a href="/products/microstation/w/microstation__wiki/8775/getting-started-with-visual-basic#MS_VBA_OPEN_IN_MEMORY"&gt;MS_VBA_OPEN_IN_MEMORY&lt;/a&gt;&amp;nbsp;applies equally to both MicroStation V8 and CONNECT editions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;In a Windows networked environment Windows EULA licensing restricts/limits the number of concurrent connections of file/folder shares to 20 Users/Devices.&amp;nbsp; Similarly &lt;a href="https://docs.microsoft.com/en-us/windows/win32/stg/structured-storage-interfaces?redirectedfrom=MSDN#compound-file-implementation-limits" rel="noopener noreferrer" target="_blank"&gt;Microsoft IStorage limitations&lt;/a&gt;&amp;nbsp;&amp;quot;Concurrent roots opened&amp;quot; have to abide by this restriction too.&amp;nbsp; If a given organization requires more than 20 concurrent connections &lt;span&gt;Microsoft client access licenses (CALs) can be purchased.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;&lt;span&gt;Early in MicroStation V8&amp;#39;s release users reported these types of &amp;quot;scalability&amp;quot; issues and realized an option existed to open an IStorage container completely in memory and MS_VBA_OPEN_IN_MEMORY was then made available with the following options - hopefully more concise and easier to read below.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="direction:ltr;"&gt;
&lt;table style="border:1pt solid #A3A3A3;border-collapse:collapse;direction:ltr;margin-left:.2in;" title="" border="1" cellpadding="0" cellspacing="0" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:1.1541in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;span style="font-weight:bold;"&gt;Default&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:6.2736in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;Not Defined (MS_VBA_OPEN_IN_MEMORY=&lt;span style="font-weight:bold;"&gt;NONE&lt;/span&gt;). Opens project from disk shared as read/write.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:1.1666in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;span style="font-weight:bold;"&gt;Multiple Users&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:6.1923in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;MS_VBA_OPEN_IN_MEMORY=&lt;span style="font-weight:bold;"&gt;ALL&lt;/span&gt;. Opens project in memory as read-only.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:1.1541in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;span style="font-weight:bold;"&gt;Developers&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:6.2041in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;MS_VBA_OPEN_IN_MEMORY=&lt;span style="font-weight:bold;"&gt;READONLY&lt;/span&gt;. Opens project in memory as read and &lt;span style="font-weight:bold;"&gt;Edit&lt;/span&gt;.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;HTH,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>