HBovenkamp 0 Newbie Poster

Hi,

I have a working vb.net application that gets information from a database and writes it to an excell worksheet. So far, so good. Now when I install this application on a machine on which windows xp runs in any other language but english And a non-English version of Office 2003 is running I get this error:

System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Microsoft.Office.Interop.Excel.Range.set_FormulaR1C1(Object )
at Report.CellRange.TotalColumn(Int32 startRow) in C:\Snanswers\Report\CellRange.vb:line 92

I have already programmatically changed the culture info of windows to Eng/GB and activated the Trust access to Visual Basic Projects in Office, as well as changed the language of office to English.

Still this error keeps haunting me! Can any one please point me into the right direction?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.