<?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 Q: FileSystemObject with ArcPAD on Trimble Geo5t in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/q-filesystemobject-with-arcpad-on-trimble-geo5t/m-p/753139#M5422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Evening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are all having a good weekend.&amp;nbsp; I have a script that is usually run in ArcPAD on windows 7 tablets of various kinds.&amp;nbsp; Now one user wants to use their Trimble Geo5T with Windows Embedded 6.5 on it to run this script.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is the Geo5T can't initialize a FileSystemObject (FSO), and I need it for a couple of key points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Set fso = CreateObject("Scripting.FileSystemObject") 'This line fails on Trimble unit, works fine on Win7 tablets
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the FSO for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt; map onOpen: read/Write map parameters to a textfile (fso.OpenAsTextStream)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Application startup: Copy active tracklog to TrackLogArchive every two weeks.&amp;nbsp;&amp;nbsp; (fso.CopyFile) &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Other supporting methods are called to prevent runtime errors (FileExists, etc...) but if I were to get help with the first two I'm sure I could figure the rest out.&amp;nbsp; &lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;All the help I see on the internet is for web development or phones.&amp;nbsp; There was some info on MSDN, but there was no context to it and it almost seems like it might be console commands... ?&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa910674.aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/aa910674.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see three possible ways around this (from most likely to grabbing at straws):&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt; An alternative method to get the Embedded OS to do some simple file copying, and text file read/write operations?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Some way of adding the missing ActiveX pieces to the OS.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; ArcPAD objects with methods that can do this sort of thing?&amp;nbsp; &lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions are extremely appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:58:15 GMT</pubDate>
    <dc:creator>CraigGraham</dc:creator>
    <dc:date>2021-12-12T07:58:15Z</dc:date>
    <item>
      <title>Q: FileSystemObject with ArcPAD on Trimble Geo5t</title>
      <link>https://community.esri.com/t5/arcpad-questions/q-filesystemobject-with-arcpad-on-trimble-geo5t/m-p/753139#M5422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Evening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are all having a good weekend.&amp;nbsp; I have a script that is usually run in ArcPAD on windows 7 tablets of various kinds.&amp;nbsp; Now one user wants to use their Trimble Geo5T with Windows Embedded 6.5 on it to run this script.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is the Geo5T can't initialize a FileSystemObject (FSO), and I need it for a couple of key points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Set fso = CreateObject("Scripting.FileSystemObject") 'This line fails on Trimble unit, works fine on Win7 tablets
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the FSO for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt; map onOpen: read/Write map parameters to a textfile (fso.OpenAsTextStream)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Application startup: Copy active tracklog to TrackLogArchive every two weeks.&amp;nbsp;&amp;nbsp; (fso.CopyFile) &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Other supporting methods are called to prevent runtime errors (FileExists, etc...) but if I were to get help with the first two I'm sure I could figure the rest out.&amp;nbsp; &lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;All the help I see on the internet is for web development or phones.&amp;nbsp; There was some info on MSDN, but there was no context to it and it almost seems like it might be console commands... ?&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa910674.aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/aa910674.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see three possible ways around this (from most likely to grabbing at straws):&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt; An alternative method to get the Embedded OS to do some simple file copying, and text file read/write operations?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Some way of adding the missing ActiveX pieces to the OS.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; ArcPAD objects with methods that can do this sort of thing?&amp;nbsp; &lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions are extremely appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/q-filesystemobject-with-arcpad-on-trimble-geo5t/m-p/753139#M5422</guid>
      <dc:creator>CraigGraham</dc:creator>
      <dc:date>2021-12-12T07:58:15Z</dc:date>
    </item>
  </channel>
</rss>

