<?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 Error message HRESULTS_E_FAIL in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-message-hresults-e-fail/m-p/442862#M12035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HIya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running a small app that creates a fill symbol style from a .txt or .csv file. While it worked previously, and still builds fine, it fails to create the style. In debug the following error comes up associated with the line of code in red below that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: {"Error HRESULT E_FAIL has been returned from a call to a COM component."}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Code: -2147467259&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source: ESRI.ArcGIS Framework&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 'Save Style&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; strSave = txtSaveFile.Text &amp;amp; strStyName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pStyGall.SaveStyle(strStyName, strSave, "Fill Symbol")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have searched a fair few forums but none seem to provide a solution nor the error code (the excetion type comes up a lot though!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Visual Basic Studio 2008&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Apr 2010 03:25:41 GMT</pubDate>
    <dc:creator>KateSmith</dc:creator>
    <dc:date>2010-04-21T03:25:41Z</dc:date>
    <item>
      <title>Error message HRESULTS_E_FAIL</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-message-hresults-e-fail/m-p/442862#M12035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HIya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running a small app that creates a fill symbol style from a .txt or .csv file. While it worked previously, and still builds fine, it fails to create the style. In debug the following error comes up associated with the line of code in red below that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: {"Error HRESULT E_FAIL has been returned from a call to a COM component."}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Code: -2147467259&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source: ESRI.ArcGIS Framework&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 'Save Style&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; strSave = txtSaveFile.Text &amp;amp; strStyName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pStyGall.SaveStyle(strStyName, strSave, "Fill Symbol")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have searched a fair few forums but none seem to provide a solution nor the error code (the excetion type comes up a lot though!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Visual Basic Studio 2008&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 03:25:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-message-hresults-e-fail/m-p/442862#M12035</guid>
      <dc:creator>KateSmith</dc:creator>
      <dc:date>2010-04-21T03:25:41Z</dc:date>
    </item>
  </channel>
</rss>

