<?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: Data Manager Tools in stand-alone vb.net program in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730052#M5275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you have examples how to do that.  I haven't been able to find any and when i tried to reference the tools they came in as com objects and not . Net&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from the far reaches of the galaxy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 03:54:19 GMT</pubDate>
    <dc:creator>JonDewalt</dc:creator>
    <dc:date>2016-09-02T03:54:19Z</dc:date>
    <item>
      <title>Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730046#M5269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tools in the data manager toolbar can be accessed programmatically outside of an ArcMap session.&amp;nbsp;How?&amp;nbsp; I have a stand-alone program that uses the ArcPad Toolbox to do check-in and outs.&amp;nbsp; The program has been in use for 7 years now but after upgrading to ArcGIS 10.3, we are getting C++ runtime errors.&amp;nbsp; I would like to try to update the program to use the data manager tools but am at a loss as to where to start.&amp;nbsp; Any suggestions would be helpful.&amp;nbsp; Our program is developed in vb.net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:15:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730046#M5269</guid>
      <dc:creator>JonDewalt</dc:creator>
      <dc:date>2016-08-29T21:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730047#M5270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about the C++ runtime error, &lt;SPAN style="text-decoration: line-through;"&gt;but have you installed the VBA compatibility software&lt;/SPAN&gt; for 10.3.x?&amp;nbsp; My arcpad is typically all one-way (collection to new files) so I haven't used the toolbox sync, but this might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="218552" alt="" class="image-1 jive-image" height="539" src="https://community.esri.com/legacyfs/online/218552_pastedImage_1.png" width="374" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&amp;nbsp; Jon, yes sorry about that....VB.net&amp;nbsp;&amp;nbsp; my mind auto saw VBA.&amp;nbsp; Sorry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:37:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730047#M5270</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-08-29T21:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730048#M5271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not used the VBA compatibility software.&amp;nbsp; Our stand-alone program is pure vb.net.&amp;nbsp;&amp;nbsp; Our check-in and out procedures reference the ArcPad Toolbox and they still function but after upgrading to ArcGIS 10.3, we get a C++ runtime error as soon as the geoprocessor is initiated, before we even use the ArcPad tools.&amp;nbsp;&amp;nbsp; I was hoping that if the Data Manager Tools can now be used outside of an ArcMap session then I could avoid using the geoprocessor object and thus avoid the issues we have been having.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730048#M5271</guid>
      <dc:creator>JonDewalt</dc:creator>
      <dc:date>2016-08-29T21:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730049#M5272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jon - What version of ArcPad are you using?&lt;/P&gt;&lt;P&gt;At version 10.2.2 we made some improvements to the tools so they can be better executed outside of ArcMap.&lt;/P&gt;&lt;P&gt;Also, what version of ArcMap did you upgrade FROM? This is important, because there were key changes with registration of tools after ArcMap 10.0. For more info see &lt;A class="link-titled" href="http://gis.stackexchange.com/questions/33434/python-scripting-for-arcpad-checkin/33453#33453" title="http://gis.stackexchange.com/questions/33434/python-scripting-for-arcpad-checkin/33453#33453"&gt;arcgis desktop - Python scripting for ArcPad Checkin - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 06:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730049#M5272</guid>
      <dc:creator>MarikaVertzonis</dc:creator>
      <dc:date>2016-09-01T06:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730050#M5273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our current setup uses ArcPad 10.2.0.99 with ArcEngine 10.1.&amp;nbsp; We are in the process of upgrading to ArcEngine 10.3.&amp;nbsp; the current setup still works but our now getting C++ runtime error.&amp;nbsp; I did this &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/technical-article/000013127"&gt;http://support.esri.com/technical-article/000013127&lt;/A&gt; and I think that may have taken care of that runtime issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is our current code, more or less: No Python is used, strictly vb.net&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; pGeoProcessor2 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;IGeoProcessor&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;GeoProcessorClass&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; parameters &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;IVariantArray&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;VarArrayClass&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;With&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.Add(FeatureClassFullPath)&lt;/P&gt;&lt;P&gt;.Add(p_SyncData.SchemaOnly.ToString)&lt;/P&gt;&lt;P&gt;.Add(p_SyncData.AXFPassword)&lt;/P&gt;&lt;P&gt;.Add(p_SyncData.EncryptAXF.ToString)&lt;/P&gt;&lt;P&gt;.Add(tmpOutputFile)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;With&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;pGeoProcessor2.Execute(&lt;/SPAN&gt;"ArcPadCheckout_ArcPad"&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, parameters, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;I have a custom procedure that hunts down adds the toolbox if the tool is not found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;We often get this error but it is intermittent and not at all consistent as to when it happens:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp;Check-out Com Error: -2147417851 - The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) --&amp;nbsp;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;I got the impression from the what's new in the latest ArcPad, that is could access the check-out and check-in tools without using the geoprocessor but I can't find any information on how to do that.&amp;nbsp; I installed ArcPad 10.2.3.36 to try it out but there is no mention in the help how to access the data manager tools.&amp;nbsp; I also noticed that there are three extra parameters when using the check-out tool via the toolbox (regarding pictures) but the tool help does not mention those new parameters nor does it show them being used in script.&amp;nbsp; With the latest ArcPad installed, I was hoping that direct access to the data manager tools would perhaps eliminate once and for all the above error.&amp;nbsp; I have 400 copies of my program running and it has completed over 30,000 check-out check-ins over the past 7 years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;Since upgrading to the latest ArcPad, the above code throws the com error everytime.&amp;nbsp; I tried adding the extra parameters in the order they appear in the toolbox window in ArcMap but still no success.&amp;nbsp; Today I will do more testing on a machine with 10.2.0.99 and one with 10.2.3.36.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;If you would like to see more of the code or if you have any suggestions on improving our check-out and check-in methods.&amp;nbsp; Our users all have ArcPad to do their data collection, my program to do the check-in and check-outs and either ArcEngine or ArcDesktop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 14:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730050#M5273</guid>
      <dc:creator>JonDewalt</dc:creator>
      <dc:date>2016-09-01T14:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730051#M5274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There were issues in earlier versions of ArcPad 10.x when used outside of ArcMap, aka ArcEngine, so I do recommend you try ArcPad 10.2.3 which definitely has those ArcEngine fixes. You can also access ArcPad Data Manager objects without going through the GeoProcessor by using the IArcPadExchange interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 00:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730051#M5274</guid>
      <dc:creator>StephenQuan1</dc:creator>
      <dc:date>2016-09-02T00:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730052#M5275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you have examples how to do that.  I haven't been able to find any and when i tried to reference the tools they came in as com objects and not . Net&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from the far reaches of the galaxy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 03:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730052#M5275</guid>
      <dc:creator>JonDewalt</dc:creator>
      <dc:date>2016-09-02T03:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730053#M5276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to do this in C++ and C#.&lt;/P&gt;&lt;P&gt;To create instances of the classes in C#, it's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IArcPadExchangeTransaction2 trans = new ArcPadExchangeClass();&lt;/P&gt;&lt;P&gt;IArcPadExport exp = new ArcPadExportClass();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you contact ESRI Technical Support to obtain a sample in VB .NET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 04:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730053#M5276</guid>
      <dc:creator>StephenQuan1</dc:creator>
      <dc:date>2016-09-02T04:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730054#M5277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can convert c# .  What dll needs to be referenced to access the objects?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from the far reaches of the galaxy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 05:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730054#M5277</guid>
      <dc:creator>JonDewalt</dc:creator>
      <dc:date>2016-09-02T05:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manager Tools in stand-alone vb.net program</title>
      <link>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730055#M5278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcPadToolsGen2.dll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 05:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/data-manager-tools-in-stand-alone-vb-net-program/m-p/730055#M5278</guid>
      <dc:creator>StephenQuan1</dc:creator>
      <dc:date>2016-09-02T05:59:20Z</dc:date>
    </item>
  </channel>
</rss>

