<?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/"><channel><title>Errors Attempting to Load VBA Projects</title><link>https://communities.bentley.com/products/microstation/w/microstation__wiki/22275/errors-attempting-to-load-vba-projects</link><description>Bentley View, MicroStation, PowerDraft</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Errors Attempting to Load VBA Projects</title><link>https://communities.bentley.com/products/microstation/w/microstation__wiki/22275/errors-attempting-to-load-vba-projects</link><pubDate>Tue, 30 Jun 2015 14:08:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ac2a016d-0de9-4cf0-bea8-3162909fd1bb</guid><dc:creator>Tristan Anderson</dc:creator><comments>https://communities.bentley.com/products/microstation/w/microstation__wiki/22275/errors-attempting-to-load-vba-projects#comments</comments><description>Current Revision posted to MicroStation Wiki by Tristan Anderson on 6/30/2015 2:08:36 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img style="border-width:0px;" alt=" " src="http://communities.bentley.com/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table style="border:0px solid #dce5f0;width:539px;height:150px;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Applies To &lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;MicroStation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.578&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment: &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Windows 7 32 bit,Windows 7 64 bit&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area: &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Programming&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea: &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;VBA&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Tristan Anderson, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;When attempting ot open an existing VBA project from the Project Manager (menu item: &amp;quot;Utilities&amp;quot; &amp;gt; &amp;quot;Macro&amp;quot; &amp;gt; &amp;quot;Project Manager&amp;quot;) the following message will appear in the message center:&lt;/p&gt;
&lt;p&gt;VBA interface error: &amp;quot;Application Object can not be created 0x80040562&amp;quot;&lt;/p&gt;
&lt;p&gt;Even when the project manager is opened and closed again, the following error will appear:&lt;/p&gt;
&lt;p&gt;System fault: 5&lt;br /&gt;&amp;quot;vbapm.mc&amp;quot; isProjectLoadedInPM&lt;br /&gt;MDL Loader: Could not load application&lt;br /&gt;e:\builds\pp081107443\source\msj\mstn\mdlapps\vbapm\vbapm.mc&lt;br /&gt;VBAPM is the MDL debug application.&lt;br /&gt;mdb&amp;gt; not a valid expression mdb&amp;gt;&lt;/p&gt;
&lt;p&gt;To avoid this problem, log onto the computer as an administrator and run a repair on the Microstation Installation.&lt;/p&gt;
&lt;p&gt;To do this, follow the instructions below that corresponds with your current operating system.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Windows 8&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Press the Windows Key + X to display a list of commands and options (this invokes a quick way to access &amp;quot;Programs and Features&amp;quot; option&amp;nbsp;in the Control Panel).&lt;/li&gt;
&lt;li&gt;Click &amp;quot;Programs and Features&amp;quot;&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on MicroStation Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Windows 7&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start &amp;gt; Control Panel &amp;gt; Programs and Features.&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on MicroStation Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Windows Vista&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start &amp;gt; Control Panel &amp;gt; Programs and Features.&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Windows XP&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start &amp;gt; Control Panel &amp;gt; Software&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;SEE ALSO&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://communities.bentley.com/products/microstation/w/microstation__wiki/15466.errors-while-attempting-to-load-vba-br-solution-500000093754"&gt;Errors while attempting to load VBA (Solution 500000093754)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: VBAWindows 7 32 bit, MicroStation, Windows 7 64 bit, Programming, en, 08.11.09.578, SELECTsupport&lt;/div&gt;
</description></item><item><title>Errors Attempting to Load VBA Projects</title><link>https://communities.bentley.com/products/microstation/w/microstation__wiki/22275/errors-attempting-to-load-vba-projects/revision/1</link><pubDate>Tue, 30 Jun 2015 14:07:58 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ac2a016d-0de9-4cf0-bea8-3162909fd1bb</guid><dc:creator>Tristan Anderson</dc:creator><comments>https://communities.bentley.com/products/microstation/w/microstation__wiki/22275/errors-attempting-to-load-vba-projects#comments</comments><description>Revision 1 posted to MicroStation Wiki by Tristan Anderson on 6/30/2015 2:07:58 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-top-width:0px;" alt=" " src="http://communities.bentley.com/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table style="border-top:#dce5f0 0px solid;border-right:#dce5f0 0px solid;width:500px;border-bottom:#dce5f0 0px solid;border-left:#dce5f0 0px solid;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Applies To &lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;MicroStation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.578 &lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment: &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Windows 7 32 bit,Windows 7 64 bit&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area: &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Programming&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea: &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;VBA&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Tristan Anderson, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&amp;nbsp;When attempting ot open an existing VBA project from the Project Manager (menu item: &amp;quot;Utilities&amp;quot; &amp;gt; &amp;quot;Macro&amp;quot; &amp;gt; &amp;quot;Project Manager&amp;quot;) the following message will appear in the message center:&lt;/p&gt;
&lt;p&gt;VBA interface error: &amp;quot;Application Object can not be created 0x80040562&amp;quot;&lt;/p&gt;
&lt;p&gt;Even when the project manager is opened and closed again, the following error will appear:&lt;/p&gt;
&lt;p&gt;System fault: 5&lt;br /&gt;&amp;quot;vbapm.mc&amp;quot; isProjectLoadedInPM&lt;br /&gt;MDL Loader: Could not load application&lt;br /&gt;e:\builds\pp081107443\source\msj\mstn\mdlapps\vbapm\vbapm.mc&lt;br /&gt;VBAPM is the MDL debug application.&lt;br /&gt;mdb&amp;gt; not a valid expression mdb&amp;gt;&lt;/p&gt;
&lt;p&gt;To avoid this problem, log onto the computer as an administrator and run a repair on the Microstation Installation. &lt;/p&gt;
&lt;p&gt;To do this, follow the instructions below that corresponds with your current operating system.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Windows 8&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Press the Windows Key + X to display a list of commands and options (this invokes a quick way to access &amp;quot;Programs and Features&amp;quot; option&amp;nbsp;in the Control Panel).&lt;/li&gt;
&lt;li&gt;Click &amp;quot;Programs and Features&amp;quot;&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on MicroStation Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Windows 7&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start &amp;gt; Control Panel &amp;gt; Programs and Features.&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on MicroStation Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Windows Vista&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start &amp;gt; Control Panel &amp;gt; Programs and Features.&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Windows XP&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start &amp;gt; Control Panel &amp;gt; Software&lt;/li&gt;
&lt;li&gt;Click on the MicroStation program that is to be repaired, and then click &amp;quot;Modify&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on Repair &amp;gt; Next.&lt;/li&gt;
&lt;li&gt;Once the repair is completed, you may need to restart your computer for the changes to take effect.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;SEE ALSO&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://communities.bentley.com/products/microstation/w/microstation__wiki/15466.errors-while-attempting-to-load-vba-br-solution-500000093754"&gt;Errors while attempting to load VBA (Solution 500000093754)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: VBAWindows 7 32 bit, MicroStation, Windows 7 64 bit, Programming, en, 08.11.09.578, SELECTsupport&lt;/div&gt;
</description></item></channel></rss>