<?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: Visual Basic v6 and DDE problem in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915127#M26534</link>
    <description>( | | | )&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;COLIN french=""&gt; wrote in message news:5521227@discussion.autodesk.com...&lt;BR /&gt;
Heh-heh, no problem, I've made the same mistake myself in the past. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
That's why I didn't start off my reply to Bob with something like "y dont u &lt;BR /&gt;
learn 2 reid u #@$%...!!!!! " even though that attitude seems to be getting &lt;BR /&gt;
more and more popular in some forums these days. I know I'm not infallible, &lt;BR /&gt;
not even close, so I don't expect other folks to be perfect either. Geez, &lt;BR /&gt;
sounds like it's time for a group hug! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/COLIN&gt;</description>
    <pubDate>Fri, 16 Mar 2007 17:15:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-03-16T17:15:11Z</dc:date>
    <item>
      <title>Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915120#M26527</link>
      <description>Can anybody help?&lt;BR /&gt;
&lt;BR /&gt;
I have the following Visual Basic 6 code that I am using&lt;BR /&gt;
to control AutoCAD LT from.&lt;BR /&gt;
&lt;BR /&gt;
sExePath = "C:\Program Files\AutoCAD LT 2004\aclt.exe"&lt;BR /&gt;
sAcadVersion = "AutoCAD LT"&lt;BR /&gt;
Text1.LinkMode = 0&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD LT.DDE|system"&lt;BR /&gt;
Text1.LinkMode = 2&lt;BR /&gt;
Text1.LinkExecute OutputString &amp;amp; Chr(13)&lt;BR /&gt;
&lt;BR /&gt;
My client wants to use a similar routine for both&lt;BR /&gt;
AutoCAD 2002 and AutoCAD 2006, thus:-&lt;BR /&gt;
&lt;BR /&gt;
sExePath = "C:\Program Files\AutoCAD 2006\acad.exe"&lt;BR /&gt;
sAcadVersion = "AutoCAD"&lt;BR /&gt;
Text1.LinkMode = 0&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.DDE|system"&lt;BR /&gt;
Text1.LinkMode = 2&lt;BR /&gt;
Text1.LinkExecute OutputString &amp;amp; Chr(13)&lt;BR /&gt;
&lt;BR /&gt;
Obviously...&lt;BR /&gt;
&lt;BR /&gt;
I know that the paths change etc, but it still will not&lt;BR /&gt;
work. Any assistance would be very grateful.&lt;BR /&gt;
&lt;BR /&gt;
Many thanks in advance!&lt;BR /&gt;
&lt;BR /&gt;
Darren</description>
      <pubDate>Wed, 14 Mar 2007 19:58:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915120#M26527</guid>
      <dc:creator>isocam</dc:creator>
      <dc:date>2007-03-14T19:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915121#M26528</link>
      <description>Yow, it's been ages since I've used DDE to communicate with ACAD, but if I recall correctly the LinkTopic must match the version you're using. For 2006 try:&lt;BR /&gt;
&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.R16.DDE|System"&lt;BR /&gt;
&lt;BR /&gt;
Or it might even have to be:&lt;BR /&gt;
&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.R16.2.DDE|System"&lt;BR /&gt;
&lt;BR /&gt;
For 2002, try:&lt;BR /&gt;
&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.R15.DDE|System"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If at all possible, you might want to update your code to get a reference to ACAD and use the object model's methods &amp;amp; properties, rather than continuing to depend on DDE.</description>
      <pubDate>Thu, 15 Mar 2007 14:48:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915121#M26528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-15T14:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915122#M26529</link>
      <description>If at all possible, you might want to update your code to get a reference to &lt;BR /&gt;
ACAD and use the object model's methods &amp;amp; properties, rather than continuing &lt;BR /&gt;
to depend on DDE.&lt;BR /&gt;
&lt;BR /&gt;
``````````````````````````````&lt;BR /&gt;
this is not possible since LT does not expose an API.&lt;BR /&gt;
&lt;BR /&gt;
bob&lt;BR /&gt;
&lt;BR /&gt;
&lt;COLIN french=""&gt; wrote in message news:5519467@discussion.autodesk.com...&lt;BR /&gt;
Yow, it's been ages since I've used DDE to communicate with ACAD, but if I &lt;BR /&gt;
recall correctly the LinkTopic must match the version you're using. For 2006 &lt;BR /&gt;
try:&lt;BR /&gt;
&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.R16.DDE|System"&lt;BR /&gt;
&lt;BR /&gt;
Or it might even have to be:&lt;BR /&gt;
&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.R16.2.DDE|System"&lt;BR /&gt;
&lt;BR /&gt;
For 2002, try:&lt;BR /&gt;
&lt;BR /&gt;
Text1.LinkTopic = "AutoCAD.R15.DDE|System"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If at all possible, you might want to update your code to get a reference to &lt;BR /&gt;
ACAD and use the object model's methods &amp;amp; properties, rather than continuing &lt;BR /&gt;
to depend on DDE.&lt;/COLIN&gt;</description>
      <pubDate>Thu, 15 Mar 2007 17:08:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915122#M26529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-15T17:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915123#M26530</link>
      <description>Bob wrote:&lt;BR /&gt;
&amp;gt;this is not possible since LT does not expose an API.&lt;BR /&gt;
&lt;BR /&gt;
Note that the original poster was asking about moving the code to AutoCAD 2002 and 2006, not LT.</description>
      <pubDate>Fri, 16 Mar 2007 13:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915123#M26530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-16T13:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915124#M26531</link>
      <description>Wrong.&lt;BR /&gt;
&lt;BR /&gt;
"I have the following Visual Basic 6 code that I am using&lt;BR /&gt;
to control AutoCAD LT from."&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;COLIN french=""&gt; wrote in message news:5520888@discussion.autodesk.com...&lt;BR /&gt;
Bob wrote:&lt;BR /&gt;
&amp;gt;this is not possible since LT does not expose an API.&lt;BR /&gt;
&lt;BR /&gt;
Note that the original poster was asking about moving the code to AutoCAD &lt;BR /&gt;
2002 and 2006, not LT.&lt;/COLIN&gt;</description>
      <pubDate>Fri, 16 Mar 2007 14:22:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915124#M26531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-16T14:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915125#M26532</link>
      <description>Oops, sorry. Just read the middle part of the OP. Yikes. I hate that.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell</description>
      <pubDate>Fri, 16 Mar 2007 14:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915125#M26532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-16T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915126#M26533</link>
      <description>Heh-heh, no problem, I've made the same mistake myself in the past. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
That's why I didn't start off my reply to Bob with something like "y dont u learn 2 reid u #@$%...!!!!! " even though that attitude seems to be getting more and more popular in some forums these days. I know I'm not infallible, not even close, so I don't expect other folks to be perfect either. Geez, sounds like it's time for a group hug! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Fri, 16 Mar 2007 16:52:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915126#M26533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-16T16:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Basic v6 and DDE problem</title>
      <link>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915127#M26534</link>
      <description>( | | | )&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;COLIN french=""&gt; wrote in message news:5521227@discussion.autodesk.com...&lt;BR /&gt;
Heh-heh, no problem, I've made the same mistake myself in the past. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
That's why I didn't start off my reply to Bob with something like "y dont u &lt;BR /&gt;
learn 2 reid u #@$%...!!!!! " even though that attitude seems to be getting &lt;BR /&gt;
more and more popular in some forums these days. I know I'm not infallible, &lt;BR /&gt;
not even close, so I don't expect other folks to be perfect either. Geez, &lt;BR /&gt;
sounds like it's time for a group hug! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/COLIN&gt;</description>
      <pubDate>Fri, 16 Mar 2007 17:15:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/visual-basic-v6-and-dde-problem/m-p/1915127#M26534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-16T17:15:11Z</dc:date>
    </item>
  </channel>
</rss>

