<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: old vb script compatibility issues in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229288#M7890</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Yes, there were some MISSING entries. I copied the missing files from my XP workstation and pasted and registered them on my Windows 7 workstation. It no longer says MISSING, but errors still occur.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What files were missing?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 18:38:23 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2017-07-14T18:38:23Z</dc:date>
    <item>
      <title>old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7227030#M7886</link>
      <description>&lt;P&gt;I have a DVB file that I currently use with AutoCAD 2000 on Windows XP. I'd like to get it working on a Windows 7 computer, but AutoCAD 2000 isn't compatible. I am hearing that my file also isn't compatible with a newer version of AutoCAD because it uses&amp;nbsp;different DLL's. I have AutoCAD 2018 (Trial) installed on Windows 7, but I am getting object errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm afraid this XP machine will fail and I'll be stuck not being able to run this file at all. Does anyone have any advice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can an expert review my DVB file and create a new one compatible with new versions of AutoCAD?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I focus on getting AutoCAD 2000 installed on a Windows 7 machine or through virtualization?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your thoughts!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 21:05:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7227030#M7886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T21:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7227073#M7887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000080"&gt;&amp;gt;&amp;gt; Can an expert review my DVB file and create a new one compatible with new versions of AutoCAD?&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Maybe, if you show the file. But you should know that reading/evaluating code from anyone else is very much depending on how clean and documented the code was created.&lt;/P&gt;
&lt;P&gt;Upload the DVB so we can look into it, please also describe what the code is doing (how you are working with that) and if it depends on some specific drawings then please attach these drawings too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 21:24:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7227073#M7887</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2017-07-13T21:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7227149#M7888</link>
      <description>&lt;P&gt;In the vba ide, go to Tools&amp;gt;References and see if there are any references that say "MISSING". You probably need to reference the 2018 type library.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 22:18:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7227149#M7888</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-07-13T22:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229278#M7889</link>
      <description>&lt;P&gt;Yes, there were some MISSING entries. I copied the missing files from my XP workstation and pasted and registered them on my Windows 7 workstation. It no longer says MISSING, but errors still occur.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:30:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229278#M7889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T18:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229288#M7890</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Yes, there were some MISSING entries. I copied the missing files from my XP workstation and pasted and registered them on my Windows 7 workstation. It no longer says MISSING, but errors still occur.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What files were missing?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:38:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229288#M7890</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-07-14T18:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229304#M7891</link>
      <description>&lt;P&gt;attached file and an old document that explains the script. thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:44:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229304#M7891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T18:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229307#M7892</link>
      <description>&lt;P&gt;&lt;SPAN&gt;mscomct2.ocx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dbgrid32.ocx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mscomm32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;msdatgrd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;msflxgrd&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:45:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229307#M7892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T18:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: old vb script compatibility issues</title>
      <link>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229448#M7893</link>
      <description>&lt;P&gt;From the file name list, it looks like your VBA app has quite "advanced" user interface, and those files Microsoft UI control components libraries (I did not try to open the DVB file, though).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, copying them and registering then as ActiveX controls components (assuming you had done it correctly) most likely do not help at all, because of your AutoCAD2018 being 64-bit version and those old components being 32-bit version. There are no equivalent counterparts of those ActiveX components in 64-bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, if you want your old VBA code to work in the same way,&amp;nbsp;you need to use 32-bit AutoCAD (which poses another issue: how do you get a 32-bit AutoCAD installed with your likely 64-bit Win7 computer). Or you can choose an earlier version of 64-bit AutoCAD with 32-bit VBA (Acad2013 or earlier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you stick with later version of 64-bit AutoCAD (you'd better be), then your VBA app would be very limited in terms of UI support: only VBA built-in controls, unless you are very good Window API programmer that enables to directly dig into vast Windows API for the UI (not worth it in most cases, even you are capable).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I can only see 2 options to salvage the old VBA program, both involves re-writing (assuming the old program does have advanced/complicated UI requirements):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Modifying the UI to replace the 32-bit controls from outside VBA with VBA built-in controls. You may have to lose the UI functionality significantly. But if the end result is acceptable, then...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Rewrite the program with AutoCAD .NET APIs, where you have rich UI components equivalent to, or better than, what you had before. Well, you need to know how to program with AutoCAD .NET API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I omitted the options, such as rewriting in LISP/ObjectARX C++, which would only be harder than the 2 options I mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 20:00:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/old-vb-script-compatibility-issues/m-p/7229448#M7893</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2017-07-14T20:00:38Z</dc:date>
    </item>
  </channel>
</rss>

