Error message HRESULTS_E_FAIL

533
0
04-20-2010 08:25 PM
KateSmith
New Contributor
HIya,

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:

Exception: {"Error HRESULT E_FAIL has been returned from a call to a COM component."}
Error Code: -2147467259
Source: ESRI.ArcGIS Framework

'Save Style
strSave = txtSaveFile.Text & strStyName
  pStyGall.SaveStyle(strStyName, strSave, "Fill Symbol")

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!)

I am using Visual Basic Studio 2008
0 Kudos
0 Replies