<?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: Programming using ArcGIS Desktop .NET SDK in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280733#M7252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Alex.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was thinking about the way you have suggested. But if we implemented BaseCommand, we need to override its properties like tooltip, message, etc. These properties are read-only in BaseCommand prototype declarations. Therefore, we can not put a set property for the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please Let me know, if we are on the same page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In VB6, it has get-set properties and i could change. But in .NET no luck yet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know how to achieve this. It is not mandatory that it has to be built in commands. Please suggest some other way of doing things in .NET.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Muzammil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 10:25:53 GMT</pubDate>
    <dc:creator>MuzammilAK</dc:creator>
    <dc:date>2010-06-16T10:25:53Z</dc:date>
    <item>
      <title>Programming using ArcGIS Desktop .NET SDK</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280731#M7250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing a toolbar which contains few commands, using ArcGIS Desktop .NET SDK. Now when i click a particular command, the properties of entire toolbar and its contents should be changed. That is, tooltip, caption, message, text, etc should be changed to another language. I have the language mapping in the database and when the toolbar loads, i am getting all the values from database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is working for first time i.e, when the toolbar loads, it is applying. But How to make it apply ad-hoc. That is when i click on particular command, the language of all the properties should change. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: i have only 2 languages to be considered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Muzammil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 04:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280731#M7250</guid>
      <dc:creator>MuzammilAK</dc:creator>
      <dc:date>2010-06-15T04:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Programming using ArcGIS Desktop .NET SDK</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280732#M7251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried this but I don't think there is any way to make this work.&amp;nbsp; I have ArcGIS desktop with a language supplement (french.)&amp;nbsp; The language of the process is set off of the culture (not UI culture) from the local set for the OS.&amp;nbsp; Once I start in french everything is in french and if I start in English, everything is in english.&amp;nbsp; I had to adjust my own code so that my commands follow the same pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you only want to make your custom commands change language, You might consider exposing the display member variables m_name, etc from the command class through a write property and find the command on the toolbar, cast it to your class (an abstact class derived from basecommand perhaps) and change it manually (from the database.) I have never tried this since it wourld not work on built in ArcGIS commands.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 19:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280732#M7251</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2010-06-15T19:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Programming using ArcGIS Desktop .NET SDK</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280733#M7252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Alex.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was thinking about the way you have suggested. But if we implemented BaseCommand, we need to override its properties like tooltip, message, etc. These properties are read-only in BaseCommand prototype declarations. Therefore, we can not put a set property for the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please Let me know, if we are on the same page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In VB6, it has get-set properties and i could change. But in .NET no luck yet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know how to achieve this. It is not mandatory that it has to be built in commands. Please suggest some other way of doing things in .NET.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Muzammil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 10:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280733#M7252</guid>
      <dc:creator>MuzammilAK</dc:creator>
      <dc:date>2010-06-16T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Programming using ArcGIS Desktop .NET SDK</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280734#M7253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The properties as part of the ICommand implementation are readonly.&amp;nbsp; The fields or member variables in the base class are read-write and protected.&amp;nbsp; That means you can change them in a derived class.&amp;nbsp; This is what you do in the constructor of the class when you use the ArcGIS wizard to create a command.&amp;nbsp; You could make your own custom properties (not part of the Icommand) and name them whatever you like and set the fields in the base class in those properties.&amp;nbsp; Not sure how ArcMap will react though.&amp;nbsp; Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 13:19:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280734#M7253</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2010-06-18T13:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Programming using ArcGIS Desktop .NET SDK</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280735#M7254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if ArcMap will reload these objects based on interaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think they're setted while OnCreate event. I can be wrong, and I would like to know your results. Please share if our friend above idea works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jun 2010 04:18:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-using-arcgis-desktop-net-sdk/m-p/280735#M7254</guid>
      <dc:creator>GeorgeSilva</dc:creator>
      <dc:date>2010-06-19T04:18:26Z</dc:date>
    </item>
  </channel>
</rss>

