<?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>Chad Crowe's Activities</title><link>https://communities.bentley.com/members/e64d7d1c_2d00_2008_2d00_4b56_2d00_a3b2_2d00_63c61b5b0bb2</link><description>Chad Crowe's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Using VS 2005 Express Edition</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/106982/using-vs-2005-express-edition</link><pubDate>Fri, 08 May 2015 12:37:11 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cdbdf3b1-554c-4cd0-bb37-09df33c84b93</guid><dc:creator>Chad Crowe</dc:creator><description>&lt;p&gt;Hello all, I have Visual Studio 2005 Express edition installed on my computer. &amp;nbsp;I open up the MicroStation Developer Shell, move to the already created project basic and run bmake.exe.&lt;/p&gt;
&lt;p&gt;I get the same error as when I had Visual Studio 2013 installed&amp;nbsp;&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe\Desktop\basic&amp;gt;bmake.exe&lt;br /&gt;Bentley Systems Make Utility. Version 08.11.09.02, Jan 5 2010&lt;br /&gt;Fri May 08 07:34:53 2015&lt;br /&gt; PolicyFile = C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\AssertPublicMicr&lt;br /&gt;oStationPolicy.mki&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;BMAKE: Error - Attempting to build with VS 2005 but location is undefined!&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;BMAKE: call trace&lt;/span&gt;&lt;br /&gt; line: 120, C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\AssertToolSet.&lt;br /&gt;mki&lt;br /&gt; line: 109, C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\ConfigurePolic&lt;br /&gt;y.mki&lt;br /&gt; line: 28, C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\mdl.mki&lt;br /&gt; line: 20, C:\Users\ccrowe\Desktop\basic\basic.mke&lt;br /&gt;Fri May 08 07:34:54 2015, elapsed time: 0:01&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe\Desktop\basic&amp;gt;&lt;/p&gt;
&lt;p&gt;I have not yet been able to get my hands on the professional edition. &amp;nbsp;I was hoping I could be pointed in the right direction for using VS 2005 Express Edition for compiling files.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Scanning through References</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/106399/scanning-through-references</link><pubDate>Fri, 17 Apr 2015 13:56:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:01d0b487-38f4-4926-9632-f07ebe9364ec</guid><dc:creator>Chad Crowe</dc:creator><description>&lt;p&gt;Good morning from America,&lt;/p&gt;
&lt;p&gt;This is a VBA question.&lt;/p&gt;
&lt;p&gt;I want to wholesale grab all the text from some MicroStation documents I have. &amp;nbsp;Not only the active design file, but also from its attachments. &amp;nbsp;My problem is that I only want the text from the active design file and its attachments that falls within a clipped area.&lt;/p&gt;
&lt;p&gt;What I have now is a recursive function that loops through attachments, grabbing textelements, anytags, textnodes, and complexelements. &amp;nbsp;If it is a complex element it then recursively creates a new scan Object and loops through it looking for text. &amp;nbsp;This works great, except it grabs everything and not just what falls within the clipped area of my original file.&lt;/p&gt;
&lt;p&gt;I want to know how I can target elements in attachments that fall within a clipped area in my active design file.&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Developer Shell Problem</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/106213/developer-shell-problem</link><pubDate>Mon, 13 Apr 2015 17:20:19 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:33708255-2590-4266-b8d4-285a1ffce84d</guid><dc:creator>Chad Crowe</dc:creator><description>&lt;p&gt;Hello helpful community,&lt;/p&gt;
&lt;p&gt;I am trying to create a simple C++ application. &amp;nbsp;I am using the example &amp;#39;basic&amp;#39; as given in the SDK.&lt;/p&gt;
&lt;p&gt;I open up the command prompt and run&amp;nbsp;mstndevvars.bat. &amp;nbsp;I get the following output&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;&amp;quot;C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\&lt;br /&gt;MicroStation\mdl\bin\mstndevvars.bat&amp;quot;&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;REM To not see this information echo to the screen&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;REM set ECHO as an environment variable in your system configura&lt;br /&gt;tion.&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;REM For more information see the MicroStation SDK README.&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;REM ** SET MS **&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;set msdrive=&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;set mssource=&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;SET MS=&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;for %I in (&amp;quot;&amp;quot;) do set MS=%~sI&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;set MS=&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;IF &amp;quot;.&amp;quot; == &amp;quot;.&amp;quot; goto USAGE_Error&lt;br /&gt;#-----------------------------------------------------------------------&lt;br /&gt;# &lt;strong&gt;ERROR: Bad parameter&lt;/strong&gt;&lt;br /&gt;# Usage = MSTNDEVVARS.BAT [MicroStation dir] [MicroStation SDK dir]&lt;br /&gt;# e.g. C:\windows\system32\cmd.exe /x /k &amp;quot;C:\Program Files\Bentley\MicroStation\&lt;br /&gt;mdl\bin\mstndevvars.bat C:\Program Files\Bentley\MicroStation\ C:\Program Files\&lt;br /&gt;Bentley\MicroStationSDK\&amp;quot;&lt;br /&gt;#-----------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe&amp;gt;GOTO end&lt;br /&gt;C:\Users\ccrowe&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;I am not sure what the error means.&lt;/p&gt;
&lt;p&gt;I then cd into the basic file and run bmake.exe&lt;/p&gt;
&lt;p&gt;I get the following output&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe\Desktop\basic&amp;gt;&amp;quot;C:\Program Files (x86)\Bentley\MicroStation V8i (&lt;br /&gt;SELECTseries)\MicroStation\mdl\bin\bmake.exe&amp;quot;&lt;br /&gt;Bentley Systems Make Utility. Version 08.11.09.02, Jan 5 2010&lt;br /&gt;Mon Apr 13 12:16:45 2015&lt;br /&gt;C:\Users\ccrowe\Desktop\basic\basic.mke(20) : error : can&amp;#39;t open include file md&lt;br /&gt;l.mki&lt;br /&gt;BMAKE: call trace&lt;br /&gt; line: 20, C:\Users\ccrowe\Desktop\basic\basic.mke&lt;br /&gt;Mon Apr 13 12:16:45 2015, elapsed time: 0:00&lt;/p&gt;
&lt;p&gt;C:\Users\ccrowe\Desktop\basic&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;I am unsure why these errors are occurring. &amp;nbsp;Thank you again for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>C++ Example</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/106125/c-example</link><pubDate>Fri, 10 Apr 2015 12:15:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e447600a-a5f7-4d44-949f-94e75c2c93c9</guid><dc:creator>Chad Crowe</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Can you point me in the right direction for creating a simple C++ app for microstation? &amp;nbsp;I know there are examples in the SDK, I just don&amp;#39;t know what they are called. &amp;nbsp;Which place in the SDK should I look at for the basics of creating a C++ app. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am comfortable with C++, I just do not know where to start off. &amp;nbsp;Is bookstore, gasmain, propviewer, and webstore what I should look at? &amp;nbsp;They are not .ma files, so I was unsure if &amp;nbsp;I could load them into Microstation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you again for your time, help, and patience.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>C++/CLI</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/105538/c-cli</link><pubDate>Thu, 19 Mar 2015 16:15:52 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cdf0b897-e3e7-49ea-9f64-23f14d6667b7</guid><dc:creator>Chad Crowe</dc:creator><description>&lt;p&gt;Hello.&amp;nbsp; I have figured out how to compile DLLs in VS for Excel and create my own C++ functions.&amp;nbsp; My ultimate goal is to be able to write C++ programs that operate within Excel and Microstation.&amp;nbsp; My question concerns C++/CLI or the C++.net.&amp;nbsp; Is one able to access C++ API in Microstation from these other platforms?&amp;nbsp; I want access to as much of Microstation functionality as possible.&amp;nbsp; I already do VBA in-between Excel and Microstation and am looking to access all that Microstation can offer to developers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your guidance is very much appreciated.&amp;nbsp; I am sorry for my abundant ignorance on this subject.&lt;br /&gt;&amp;nbsp;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Create .ma with C++</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/105175/create-ma-with-c</link><pubDate>Thu, 05 Mar 2015 22:50:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:91bc71a9-40c8-40cb-ae62-dc6cbad779ee</guid><dc:creator>Chad Crowe</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you for your help in advanced.&amp;nbsp; I have been reading these forums for months and have spent a couple hours reading on creating .ma files from a .cpp file.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;About me, I have been programming in Microstation with VBA for 4 months.&amp;nbsp; I have a couple years experience with VBA and about 6 months in C++.&amp;nbsp; I also do a lot of Python, SQL, ...ect unimportant for this stuff.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I can create a C++ file.&amp;nbsp; I have even been able to create a .dll file for my C++ file by following youtube videos by creating a Win32 Console Application in Visual Studios and then using a static __declspec(dllexport) void function() in my header.&amp;nbsp; Anyways, I created a .dll file of my c++ program.&amp;nbsp;&amp;nbsp; I am unsure how to end up with the part where I &amp;quot;load mdl&amp;quot; for my dll app.&lt;/p&gt;
&lt;p&gt;I have downloaded the SDK.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I know that there is mcomp.exe, which is supposed to build a DLL from c++ (which I was unable to figure out how to use).&lt;/p&gt;
&lt;p&gt;I then know we have rcomp.exe and mlink.exe.&amp;nbsp; I also know that bmake.exe fits into this somehow.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I have tried running the bmake.exe (and the others) with my dll file to no avail.&amp;nbsp; I have also tried to create a file and name is .ma with&amp;nbsp; the following inside of it:&lt;/p&gt;
&lt;pre class="code"&gt;DllMdlApp  DLLMDLAPP_MYAPP =
{
    &lt;code class="comment"&gt;//   MDL Application name     VC++ DLL in MDLAPPS or %PATH%&lt;/code&gt;
    &amp;quot;MYAPP&amp;quot;,                      &amp;quot;MYAPP.DLL&amp;quot;
};&lt;br /&gt;&lt;br /&gt;My dll file is called SimpleDll.dll.  I changed the file to the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;DllMdlApp  DLLMDLAPP_MYAPP =
{
    &lt;code class="comment"&gt;//   MDL Application name     VC++ DLL in MDLAPPS or %PATH%&lt;/code&gt;
    &amp;quot;SimpleDll&amp;quot;,                      &amp;quot;SimpleDll.DLL&amp;quot;
};&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;br /&gt;I then saved it as SimpleDll.ma.  But I think this is wrong and it has something to do with the bmake.exe.  I would much appreciate help in how to get my dll or c++ file as a .ma file.&lt;br /&gt;And when someone says, run the .exe, like bmake.exe, do I just drop the .dll file into the bmake.exe, or something else?&lt;br /&gt;&lt;br /&gt;Once again, I really appreciate the help.  Thank you so much.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>