<?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 Size limitation to a vbs ArcScript? in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174016#M1237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just wondering if anybody has come across any issues using very large vbs scripts?&amp;nbsp; Mine is just about to top 1000 lines and it got me wondering if I should be concerned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I may be wrong but as far as I can figure out you can only have 1 script per applet, is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2012 03:05:44 GMT</pubDate>
    <dc:creator>DanikBourdeau</dc:creator>
    <dc:date>2012-07-13T03:05:44Z</dc:date>
    <item>
      <title>Size limitation to a vbs ArcScript?</title>
      <link>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174016#M1237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just wondering if anybody has come across any issues using very large vbs scripts?&amp;nbsp; Mine is just about to top 1000 lines and it got me wondering if I should be concerned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I may be wrong but as far as I can figure out you can only have 1 script per applet, is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 03:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174016#M1237</guid>
      <dc:creator>DanikBourdeau</dc:creator>
      <dc:date>2012-07-13T03:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Size limitation to a vbs ArcScript?</title>
      <link>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174017#M1238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not found a size limitation to the vbscript files. The largest I have used are over 10 000 lines of code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also found that in the pc environment, the following link is useful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=34&amp;amp;f=1180&amp;amp;t=87072" rel="nofollow" target="_blank"&gt;http://forums.esri.com/Thread.asp?c=34&amp;amp;f=1180&amp;amp;t=87072&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;This is quite handy if you have developed a library of routines that you would like to use in several projects (for ex. routines for reading and writing xml files)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The short version is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' "Include" routine for Windows VBScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub Include(sIncludeFileName)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; On Error Resume Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim pFSO, fInclude, sScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pFSO = CreateObject("Scripting.FileSystemObject")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; If pFSO.FileExists(sIncludeFileName) Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set fInclude = pFSO.OpenTextFile(sIncludeFileName)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sScript = fInclude.ReadAll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fInclude.Close&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExecuteGlobal sScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; End If&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pFSO = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set fInclude = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 07:22:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174017#M1238</guid>
      <dc:creator>RolfBroch</dc:creator>
      <dc:date>2012-07-16T07:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Size limitation to a vbs ArcScript?</title>
      <link>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174018#M1239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Rolf,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10 000 lines of code! I should be good for a while &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's an awesome snippet of code, thanks!&amp;nbsp; I've put it in my little vault.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 00:36:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/size-limitation-to-a-vbs-arcscript/m-p/174018#M1239</guid>
      <dc:creator>DanikBourdeau</dc:creator>
      <dc:date>2012-07-17T00:36:33Z</dc:date>
    </item>
  </channel>
</rss>

