<?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: Load &amp;amp; Run DVB File in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472034#M11785</link>
    <description>&lt;P&gt;just put the dvb file in the start group of CAD.and then put the lsp file in too. I don't think there will be any problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:BV()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" "LryBatchexcel")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;You must&amp;nbsp; pay attention to the "_-vbarun" .&lt;/P&gt;</description>
    <pubDate>Fri, 25 May 2012 04:33:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-25T04:33:17Z</dc:date>
    <item>
      <title>Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3468638#M11780</link>
      <description>&lt;P&gt;How to automatically run dvb file when acad starts, I have been trying the help in autocad but its not working.&lt;/P&gt;&lt;P&gt;I am using ACAD 2007&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 12:16:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3468638#M11780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-23T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3468778#M11781</link>
      <description>&lt;P&gt;Make file with ext. lsp lik --- VBA.LSP&lt;/P&gt;&lt;P&gt;then write in it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:tst ()&amp;nbsp;&amp;nbsp; &amp;nbsp;( vl-vbarun&amp;nbsp; "Path/DVB.dvb!Testing.test" ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;witch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tst = the command you will use it to call it form autocad&lt;/P&gt;&lt;P&gt;path/dvb.dvb = the path your dvb file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tsesting = your medule&lt;/P&gt;&lt;P&gt;test = your function or sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then make your this lisp load automaticlly from autocad&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 13:06:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3468778#M11781</guid>
      <dc:creator>Amremad</dc:creator>
      <dc:date>2012-05-23T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3470280#M11782</link>
      <description>&lt;P&gt;你可以在2012开发人员帮助里面找到帮助。&lt;/P&gt;&lt;P&gt;You can find help in the developer's help of CAD2012.&lt;/P&gt;&lt;P&gt;我建议你用以下的方式，也就是帮助中提到的方式来写这个Lsp文件。&lt;/P&gt;&lt;P&gt;I suggest you to use the following style refered in the help of CAD2012 to write your lisp file.&lt;/P&gt;&lt;P&gt;这样能避免不同VBA工程之间的冲突。&lt;/P&gt;&lt;P&gt;This way can&amp;nbsp; avoid the confict of the difination for sub name from different&amp;nbsp; project.&lt;/P&gt;&lt;P&gt;My english is not good, you can translate the chinese by some translate tools.&lt;/P&gt;&lt;P&gt;;;字符统计(可获取属性块内文字）-------------001&lt;BR /&gt;(defun C:GT()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" "Lrygettext")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;;;批量打印（应用PLM excel)------------------002&lt;BR /&gt;(defun C:BV()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" "LryBatchexcel")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;;;按位置获取CAD中文字表格（自制表格）-------003&lt;BR /&gt;(defun C:TL()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" "LryTl")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;;;获取CAD中文字（不按图形位置）-------------004&lt;BR /&gt;(defun C:Q3()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" " LryQ2")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;;;阵列数字----------------------------------005&lt;BR /&gt;(defun C:CN()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" "LryCN")&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 04:43:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3470280#M11782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-24T04:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3470382#M11783</link>
      <description>&lt;P&gt;As mentioned by you , I created a file vba.lsp ,with the following code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:tst() (vl-vbarun "c:/Documents and Settings/user455/Desktop/test.dvb!Module1.AcadStartup"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my dvb filename is test&lt;/P&gt;&lt;P&gt;sub Name is Acadstartup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also used appload to refer test.dvb at startup in Autocad,but it doesn't help.&lt;/P&gt;&lt;P&gt;Pls suggest what should be done ?&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 07:21:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3470382#M11783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-24T07:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472008#M11784</link>
      <description>&lt;P&gt;Find your acad.lsp file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be in one of the support folders ending with support&amp;nbsp;listed in the Support File Search Path of the Files tab in Autocad's Options dialogue. Or you can do a file search and confirm the location against the paths listed in autocads options dialogue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If an acad.lsp file does not exist create one in notepad, and save it to a support path location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have your acad.lsp file, add this. Don't worry about the vba.lsp file, this will load and run your dvb on autocad start up. Every time autocad is started it looks for and loads the first acad.lsp file it finds (then acaddoc.lsp). Be aware, putting this in the acad.lsp file, may cause the macro to run before there is a document loaded. If that is the case, put it in the acaddoc.lsp file, which loads every time a document is created or opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(if &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (findfile &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;nbsp;c:/Documents and Settings/user455/Desktop/test.dvb"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (progn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vl-load-com)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(vl-vbarun "c:/Documents and Settings/user455/Desktop/test.dvb!Module1.AcadStar​tup")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;(princ)&lt;/P&gt;&lt;P&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not create a command that you can run from autocad, as the previously defined vba.lsp file does, it just loads and runs the dvb file and macro.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2012 03:33:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472008#M11784</guid>
      <dc:creator>andrewpuller3811</dc:creator>
      <dc:date>2012-05-25T03:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472034#M11785</link>
      <description>&lt;P&gt;just put the dvb file in the start group of CAD.and then put the lsp file in too. I don't think there will be any problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:BV()&lt;BR /&gt;&amp;nbsp;(command "_-vbarun" "LryBatchexcel")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;You must&amp;nbsp; pay attention to the "_-vbarun" .&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2012 04:33:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472034#M11785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-25T04:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472054#M11786</link>
      <description>&lt;P&gt;It worked &amp;nbsp; &amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing that I would like to mention, since I installed AutoCad from Autocad Mechanical Suite, so this code needed &amp;nbsp;to be added in acad.lsp file at following path&lt;/P&gt;&lt;P&gt;C:\Documents and Settings\user455\Application Data\Autodesk\AutoCAD Mechanical 2007\R17.0\enu\Support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Documents and Settings\user455\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2012 05:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3472054#M11786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-25T05:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Run DVB File</title>
      <link>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3524302#M11787</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are creating a toolbox from customization dialog box, you create a .cui file and you can use the code below in the 'Macro' input of properties in customization dialog box:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C_FILEDIA;0;(vl-vbaload&amp;nbsp; "E:/Programs/Cut-Fill.dvb");(vl-vbarun "Module1.LoadCutFillApp");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mohsen&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2012 04:07:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/load-amp-run-dvb-file/m-p/3524302#M11787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T04:07:49Z</dc:date>
    </item>
  </channel>
</rss>

