<?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: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338444#M98844</link>
    <description>Thilak, thanks,&lt;BR /&gt;
&lt;BR /&gt;
I tried. The following code works:&lt;BR /&gt;
&lt;BR /&gt;
Me.hide&lt;BR /&gt;
SendKeys "imageframe", True&lt;BR /&gt;
SendKeys "~", True&lt;BR /&gt;
SendKeys "off", True&lt;BR /&gt;
SendKeys "~", True&lt;BR /&gt;
&lt;BR /&gt;
BUT,&lt;BR /&gt;
&lt;BR /&gt;
it has to be under the following conditions :&lt;BR /&gt;
a. It only works when it starts with "me.hide" and&lt;BR /&gt;
b. It has to be no "me.show" or "otherforms.show" after the sendkeys.&lt;BR /&gt;
&lt;BR /&gt;
How can I make AutoCAD operated the commands and then return to the VBA work&lt;BR /&gt;
environment without leaving and restart the project.&lt;BR /&gt;
&lt;BR /&gt;
 Regards,&lt;BR /&gt;
Kin&lt;BR /&gt;
&lt;BR /&gt;
Thilak wrote in message &amp;lt;7uk6u8$4gu5@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;You coud use SendKeys. But comparatively acadunsupp.arx is more reliable.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;k.c.kwok wrote in message &amp;lt;7uk63s$4hm6@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;Thanks Thilak,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Can I avoid using acadunsupp.arx to send a command to R14.01?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Thilak wrote in message &amp;lt;7uk236$4hg1@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;ACADUNSUPP.ARX&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Thilak&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I&lt;BR /&gt;
&amp;gt;&amp;gt;cannot&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;</description>
    <pubDate>Fri, 22 Oct 1999 13:48:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>1999-10-22T13:48:14Z</dc:date>
    <item>
      <title>Send command, vba, R14.01</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338438#M98838</link>
      <description>Dear All,&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&lt;BR /&gt;
I can use DDE in VB6 to create a form that can "send command", but I cannot&lt;BR /&gt;
import this form into my existing vba project. Any idea?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
Kin</description>
      <pubDate>Wed, 20 Oct 1999 09:16:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338438#M98838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-20T09:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Send command, vba, R14.01</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338439#M98839</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
ACADUNSUPP.ARX&lt;BR /&gt;
&lt;BR /&gt;
Thilak&lt;BR /&gt;
&lt;BR /&gt;
k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I cannot&lt;BR /&gt;
&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Wed, 20 Oct 1999 09:32:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338439#M98839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-20T09:32:37Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338440#M98840</link>
      <description>Thanks Thilak,&lt;BR /&gt;
&lt;BR /&gt;
Can I avoid using acadunsupp.arx to send a command to R14.01?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Kin&lt;BR /&gt;
&lt;BR /&gt;
Thilak wrote in message &amp;lt;7uk236$4hg1@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
&amp;gt;Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
&amp;gt;ACADUNSUPP.ARX&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Thilak&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I&lt;BR /&gt;
cannot&lt;BR /&gt;
&amp;gt;&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Wed, 20 Oct 1999 09:52:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338440#M98840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-20T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338441#M98841</link>
      <description>You coud use SendKeys. But comparatively acadunsupp.arx is more reliable.&lt;BR /&gt;
&lt;BR /&gt;
k.c.kwok wrote in message &amp;lt;7uk63s$4hm6@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;Thanks Thilak,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Can I avoid using acadunsupp.arx to send a command to R14.01?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Regards&lt;BR /&gt;
&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Thilak wrote in message &amp;lt;7uk236$4hg1@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
&amp;gt;&amp;gt;Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
&amp;gt;&amp;gt;ACADUNSUPP.ARX&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Thilak&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I&lt;BR /&gt;
&amp;gt;cannot&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Wed, 20 Oct 1999 10:55:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338441#M98841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-20T10:55:22Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338442#M98842</link>
      <description>Kin,&lt;BR /&gt;
    Paste this code into a new module and use the following syntax to send&lt;BR /&gt;
to the command line:&lt;BR /&gt;
ACAD "mycommand " &amp;amp; myvariable &amp;amp; Chr(34) &amp;amp; "morecommands "&lt;BR /&gt;
&lt;BR /&gt;
I believe this is what your looking for, but you can not use third party&lt;BR /&gt;
softwares that alter the caption. i.e.- if your using a software such as&lt;BR /&gt;
quickpik, uncheck the option to show full path in the caption.&lt;BR /&gt;
&lt;BR /&gt;
-Josh&lt;BR /&gt;
&lt;BR /&gt;
"k.c.kwok" wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Thanks Thilak,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Can I avoid using acadunsupp.arx to send a command to R14.01?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Regards&lt;BR /&gt;
&amp;gt; Kin&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thilak wrote in message &amp;lt;7uk236$4hg1@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt; &amp;gt;Hi,&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
&amp;gt; &amp;gt;Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
&amp;gt; &amp;gt;ACADUNSUPP.ARX&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;Thilak&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I&lt;BR /&gt;
&amp;gt; cannot&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;</description>
      <pubDate>Wed, 20 Oct 1999 15:16:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338442#M98842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-20T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338443#M98843</link>
      <description>Josh,&lt;BR /&gt;
&lt;BR /&gt;
I tried your suggestion, I can't work it out.&lt;BR /&gt;
&lt;BR /&gt;
I am a newcomer, I don't understand how your solution works, please tell me&lt;BR /&gt;
more.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Kin&lt;BR /&gt;
&lt;BR /&gt;
Minkwitz Design wrote in message &amp;lt;380DDCE9.18EBB14@xta.com&amp;gt;...&lt;BR /&gt;
&amp;gt;Kin,&lt;BR /&gt;
&amp;gt;    Paste this code into a new module and use the following syntax to send&lt;BR /&gt;
&amp;gt;to the command line:&lt;BR /&gt;
&amp;gt;ACAD "mycommand " &amp;amp; myvariable &amp;amp; Chr(34) &amp;amp; "morecommands "&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;I believe this is what your looking for, but you can not use third party&lt;BR /&gt;
&amp;gt;softwares that alter the caption. i.e.- if your using a software such as&lt;BR /&gt;
&amp;gt;quickpik, uncheck the option to show full path in the caption.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;-Josh&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;"k.c.kwok" wrote:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Thanks Thilak,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Can I avoid using acadunsupp.arx to send a command to R14.01?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Regards&lt;BR /&gt;
&amp;gt;&amp;gt; Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Thilak wrote in message &amp;lt;7uk236$4hg1@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;Hi,&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;ACADUNSUPP.ARX&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;Thilak&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I&lt;BR /&gt;
&amp;gt;&amp;gt; cannot&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Fri, 22 Oct 1999 13:41:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338443#M98843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-22T13:41:27Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338444#M98844</link>
      <description>Thilak, thanks,&lt;BR /&gt;
&lt;BR /&gt;
I tried. The following code works:&lt;BR /&gt;
&lt;BR /&gt;
Me.hide&lt;BR /&gt;
SendKeys "imageframe", True&lt;BR /&gt;
SendKeys "~", True&lt;BR /&gt;
SendKeys "off", True&lt;BR /&gt;
SendKeys "~", True&lt;BR /&gt;
&lt;BR /&gt;
BUT,&lt;BR /&gt;
&lt;BR /&gt;
it has to be under the following conditions :&lt;BR /&gt;
a. It only works when it starts with "me.hide" and&lt;BR /&gt;
b. It has to be no "me.show" or "otherforms.show" after the sendkeys.&lt;BR /&gt;
&lt;BR /&gt;
How can I make AutoCAD operated the commands and then return to the VBA work&lt;BR /&gt;
environment without leaving and restart the project.&lt;BR /&gt;
&lt;BR /&gt;
 Regards,&lt;BR /&gt;
Kin&lt;BR /&gt;
&lt;BR /&gt;
Thilak wrote in message &amp;lt;7uk6u8$4gu5@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;You coud use SendKeys. But comparatively acadunsupp.arx is more reliable.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;k.c.kwok wrote in message &amp;lt;7uk63s$4hm6@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;Thanks Thilak,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Can I avoid using acadunsupp.arx to send a command to R14.01?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;Thilak wrote in message &amp;lt;7uk236$4hg1@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Use EvalLispExpr method of acadunsupp.arx.&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Please find it posted in the Customer files NG under the subject&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;ACADUNSUPP.ARX&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;Thilak&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;k.c.kwok wrote in message &amp;lt;7uk18i$4ga9@adesknews2.autodesk.com&amp;gt;...&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Dear All,&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Does anyone know how to "send command"  from a running vba macro?&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;I can use DDE in VB6 to create a form that can "send command", but I&lt;BR /&gt;
&amp;gt;&amp;gt;cannot&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;import this form into my existing vba project. Any idea?&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Regards&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kin&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Fri, 22 Oct 1999 13:48:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/send-command-vba-r14-01/m-p/338444#M98844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-22T13:48:14Z</dc:date>
    </item>
  </channel>
</rss>

