<?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 Symbolizing CanVec - Style Name in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/symbolizing-canvec-style-name/m-p/189489#M4932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This isn't a question (though an hour ago, it almost was), merely an observation I'd like to put up for discussion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Long story short: recently upgraded from 10.0 to 10.1 and decided to upgrade all vb.net Add-Ins from VS2008 express to VS2010, and re-build them to keep things up to date (as well as change some images/icons/clean up code and ensure I can develop for 10.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our converted code to symbolize CanVec data (originally VBA), worked great with 10.0, no issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I moved it into 10.1 (VS2010 express), ran the code and nothing! Symbology was all blank. Nothing changed...I was coming up with no reason it shouldn't be working. I made sure I added the style which the code references.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Turns out the issue was this: when you open the symbol selector on a layer, the style name in 10 is "Blah.style" or simply "Blah" where as in 10.1 it is showing up as "fullpath\Blah.style"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went into the code and put in the full path (replaced "canvecEnglish.style with "&amp;lt;insert full sever path here&amp;gt;\canvecEnglish.style", and the code churned out all my CanVec data symbolized perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the style isn't technically imported into the document, so much as it is being pointed to by ArcGIS, where-as in 10.0, this wasn't necessarily the case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, thanks for reading, I hope this wasn't just a waste of text and somebody finds it at the very least interesting, if not useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 15:57:55 GMT</pubDate>
    <dc:creator>deleted-user-VeC5jUIlNXtq</dc:creator>
    <dc:date>2013-03-18T15:57:55Z</dc:date>
    <item>
      <title>Symbolizing CanVec - Style Name</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/symbolizing-canvec-style-name/m-p/189489#M4932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This isn't a question (though an hour ago, it almost was), merely an observation I'd like to put up for discussion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Long story short: recently upgraded from 10.0 to 10.1 and decided to upgrade all vb.net Add-Ins from VS2008 express to VS2010, and re-build them to keep things up to date (as well as change some images/icons/clean up code and ensure I can develop for 10.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our converted code to symbolize CanVec data (originally VBA), worked great with 10.0, no issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I moved it into 10.1 (VS2010 express), ran the code and nothing! Symbology was all blank. Nothing changed...I was coming up with no reason it shouldn't be working. I made sure I added the style which the code references.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Turns out the issue was this: when you open the symbol selector on a layer, the style name in 10 is "Blah.style" or simply "Blah" where as in 10.1 it is showing up as "fullpath\Blah.style"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went into the code and put in the full path (replaced "canvecEnglish.style with "&amp;lt;insert full sever path here&amp;gt;\canvecEnglish.style", and the code churned out all my CanVec data symbolized perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the style isn't technically imported into the document, so much as it is being pointed to by ArcGIS, where-as in 10.0, this wasn't necessarily the case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, thanks for reading, I hope this wasn't just a waste of text and somebody finds it at the very least interesting, if not useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 15:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/symbolizing-canvec-style-name/m-p/189489#M4932</guid>
      <dc:creator>deleted-user-VeC5jUIlNXtq</dc:creator>
      <dc:date>2013-03-18T15:57:55Z</dc:date>
    </item>
  </channel>
</rss>

