Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VSTO HRESULT
I am having an issue that should be simple, but makes no sense. If I run the
following line of code (VSTO with C#). this.Range["X1"].Value2 = "5"; It works fine. But if I run the following. string s = "5"; this.Range["X1"].Value2 = s; It blows up with an HRESULT: 0x800A03EC.....the following gets the same result object s = "5"; this.Range["X1"].Value2 = s; I found that this can occur when the CultureInfo for COM is not matching so I set the CurrentThread's CultureInfo to en-US and the error still occurred.....Does anyone have any ideas??? I am using Windows XP 64-bit with Excel 2003 and VS.NET 2005 (VSTO). Thanks, ACFalcon |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HRESULT: 0x800A03EC | Excel Programming | |||
Exception from HRESULT: 0x800401A8 | Excel Programming | |||
Exception from HRESULT: 0x800A03EC | New Users to Excel | |||
Exception from HRESULT: 0x800AC472 | Excel Discussion (Misc queries) | |||
Exception HResult: 0x8007FA08 (VB.net) | Excel Programming |