<?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: No symbols in referenced styles after loading a QueryDef FeatureClass in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201345#M5231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if this is related to your problem Karin, but I ran into an issue using IQueryDef with ArcMap 10 also.&amp;nbsp; If I load a feature layer into ArcMap from code using IFeatureWorkspace.CreateQueryDef method from a file geodatabase source it will not display symbols if the map is using a projected coordinate system.&amp;nbsp; It displays normally in any geographic cs. The same code worked fine in 9.x,&amp;nbsp; I don't have a work around yet. Does your issue exist with geographic cs also?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 00:11:04 GMT</pubDate>
    <dc:creator>RichWawrzonek</dc:creator>
    <dc:date>2011-12-01T00:11:04Z</dc:date>
    <item>
      <title>No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201339#M5225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after loading a QueryDef FeatureClass per Code (with IFeatureWorkspace.CreateQueryDef and .OpenFeatureQuery) and open the Layer Properties and the Tab Symbology, there are no Symbols loaded in the Symbol Selector if i wont to change the Style of my used Symbol, even there are some Style References by default (ESRI). The solution at the moment is to open the Style References check any of the Style Refernce and click ok. After that there are the default Style References loaded. Does someone has the same expirience with loaded QueryDef FeatureClasses? Back in ArcGIS 9.3 everything worked fine. Now with ArcGIS 10 SP 1 i have this strange behavior. Is there a differnt way now with ArcGIS 10 to load just a part of a FeatureClass then using CreateQueryDef? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 13:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201339#M5225</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-10-07T13:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201340#M5226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, here are some more hints: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems not to be the thing that i load a QueryDef, the Problem also appears when i load a normal FeatureClass (IFeatureWorkspace.OpenFeatureClass) per Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing: when i open arcmap by code (pDoc = new ESRI.ArcGIS.ArcMapUI.MxDocument; pApp = pDoc.Parent; pApp.Visible = True) and then point to the CommandItem and run the OnClick Event (where the FeatureClass are loaded) everything acts normal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 14:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201340#M5226</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-10-25T14:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201341#M5227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Problem seems to be, when i connect to my Personal Geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Code for that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Private Function openAccessWorkspace(ByVal connString As String) As IFeatureWorkspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Access workspace öffnen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pWS As IWorkspace2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pWorkspaceFactory As IWorkspaceFactory2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openAccessWorkspace = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pWorkspaceFactory = New AccessWorkspaceFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pWS = pWorkspaceFactory.OpenFromFile(connString, 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openAccessWorkspace = pWS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(ex.Message, MsgBoxStyle.Information, "openAccessWorkspace")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Function&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the connection i do load any FeatureClass per code from the workspace and there are again no symbols in the style references.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I really dont have a clue where's my mistake!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I already did an update for my PGDB to ArcGIS 10, but no change.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 13:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201341#M5227</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-10-26T13:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after connecting as public Shared Variable</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201342#M5228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, now i localized the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For my pGDB-Connection i use a public shared variable and this seems to be a problem for ArcGIS and the Style References. If i set the connection to nothing after loading the FeatureClasses, the symbols are loaded in the style references. So the question is, why isnt it a problem if i load a mxd, because there i also use the public shared variable for the connection, but the symbols are shown in the style references. And how can i solve this thing? Any help would be great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 08:25:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201342#M5228</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-10-27T08:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201343#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mention opening ArcMap through code.&amp;nbsp; Is this a standalone application?&amp;nbsp; If so then you need to use IObjectFactory to create any instances of ArcObjects classes that you will be using with the running instance of ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 19:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201343#M5229</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-10-27T19:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201344#M5230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil for your reply. Well the thing is, that i dont have a problem if i open ArcMap through code (see comment 2). The Symbols are only not shown, when i open ArcMap and then connect to my PersonalGeodatabase with my public shared connection variable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 08:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201344#M5230</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-11-30T08:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201345#M5231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if this is related to your problem Karin, but I ran into an issue using IQueryDef with ArcMap 10 also.&amp;nbsp; If I load a feature layer into ArcMap from code using IFeatureWorkspace.CreateQueryDef method from a file geodatabase source it will not display symbols if the map is using a projected coordinate system.&amp;nbsp; It displays normally in any geographic cs. The same code worked fine in 9.x,&amp;nbsp; I don't have a work around yet. Does your issue exist with geographic cs also?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 00:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201345#M5231</guid>
      <dc:creator>RichWawrzonek</dc:creator>
      <dc:date>2011-12-01T00:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201346#M5232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Rich, i tried both, projected and geografic, but there is no difference, same behaviour.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 07:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201346#M5232</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-12-06T07:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201347#M5233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Neil for your reply. Well the thing is, that i dont have a problem if i open ArcMap through code (see comment 2). The Symbols are only not shown, when i open ArcMap and then connect to my PersonalGeodatabase with my public shared connection variable.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's still unclear to me exactly what you're doing.&amp;nbsp; In your second command it seems like you're saying that you're opening ArcMap through code, getting a reference to a command inside of ArcMap and executing it.&amp;nbsp; That should work correctly because all of the code inside the command is running inside of ArcMap.&amp;nbsp; In your other posts I'm getting the idea that you're opening ArcMap through code and trying to automate it.&amp;nbsp; If this is the case then you cannot use the New keyword to instantiate any ArcObjects class that you intend to use in conjunction with ArcMap.&amp;nbsp; You must use IObjectFactory to create instances of these objects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:22:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201347#M5233</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-12-06T12:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201348#M5234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Problems with the referenced styles appear when i open ArcMap (via arcmap.exe) and then connect to my Personal Geodatabase (in which i use a public shared variable for the connection) via code and load FeatureClasses into ArcMap. The Problem disappear when i open the StyleReferences Manager (from the property From of a Layer or form the Style Manager (Menu)) and do nothing then click ok to close it again. Hope i made my problem clear. Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201348#M5234</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-12-06T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201349#M5235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I really don't see any reason why it wouldn't work properly.&amp;nbsp; Having a shared instance of a workspace object shouldn't affect anything I would think.&amp;nbsp; I personally wouldn't implement it that way since I wouldn't want an open connection to be hanging around any longer than I needed it but that's just a preference.&amp;nbsp; One thing you might try is to use the Activator class to instantiate the workspace factory.&amp;nbsp; Workspace factories are singleton objects and calling New can cause problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pWorkspaceFactory = CType(Activator.CreateInstance(Type.GetTypeFromProgID("esriDataSourcesGDB.AccessWorkspaceFactory")), IWorkspaceFactory)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other than that, you may want to just get rid of the shared instance and call your function to open the workspace each time you need it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 17:10:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201349#M5235</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-12-06T17:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201350#M5236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again Neil for your help. Unfortunately using the Activator for the connection has no effect. So i gues i have to think about my shared connection, but that would be a bigger thing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried also to open the Style Reference Dialog via Code, but i cant find the way to close it again via code. Do you have a hint for that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'open the StyleReferencesDialog:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim styleGallery As IStyleGallery&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;styleGallery = pDoc.StyleGallery&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim styleReferencesDialog As ESRI.ArcGIS.DisplayUI.IStyleDialog = New ESRI.ArcGIS.DisplayUI.StyleReferencesDialogClass()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;styleReferencesDialog.DoModal(styleGallery, pApp.hWnd)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'how to close it (with the ok button) via code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 09:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201350#M5236</guid>
      <dc:creator>karinweixler</dc:creator>
      <dc:date>2011-12-08T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: No symbols in referenced styles after loading a QueryDef FeatureClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201351#M5237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Karin-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would take Neil's advice and use the activator class to create singleton objects even if you don't see a difference in your shared workspace example. Further down the road it will likely cause issues as you make additional customizations to your program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way- The IStyleGallery is also a singleton class. I think you should modify your code as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim t As Type = Type.GetTypeFromProgID("esriFramework.StyleGallery")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim obj As System.Object = Activator.CreateInstance(t)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim styleGallery As ESRI.ArcGIS.Display.IStyleGallery = obj&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;styleGallery = pDoc.StyleGallery&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim styleReferencesDialog As ESRI.ArcGIS.DisplayUI.IStyleDialog = New ESRI.ArcGIS.DisplayUI.StyleReferencesDialogClass()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;styleReferencesDialog.DoModal(styleGallery, pApp.hWnd)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See ESRI documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000043p000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000043p000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 18:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-symbols-in-referenced-styles-after-loading-a/m-p/201351#M5237</guid>
      <dc:creator>RichWawrzonek</dc:creator>
      <dc:date>2011-12-09T18:12:37Z</dc:date>
    </item>
  </channel>
</rss>

