PC Review


Reply
Thread Tools Rate Thread

COM Exception when read Font.FontStyle property of Style object

 
 
Raja
Guest
Posts: n/a
 
      15th Oct 2008
I got an Exception after reading Font.FontStyle property of Style Object.

here are the details of the Exception:
Type : System.Runtime.InteropServices.COMException
Message : Unable to get the FontStyle prop0erty of the Font class
ErrorCode : -2146827284
Trace:
at System.RuntimeType.ForwardCallToInvokeMember(String memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData& msgData)
at Microsoft.Office.Interop.Excel.Font.get_FontStyle()

Why I'm getting this exception?

Regards,
Raja
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception when setting property in business object jkeel@charter.net Microsoft ASP .NET 2 3rd Apr 2007 08:48 AM
VB2005: What happened to Color, Font, FontStyle Dean Slindee Microsoft VB .NET 1 1st Jan 2006 03:23 PM
Help! Font property read only in VS.NET? Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 2 4th Feb 2004 05:31 PM
Help! Font property read only in VS.NET? Amith Microsoft VC .NET 0 22nd Jan 2004 02:10 PM
Re: No stacktrace property for Exception object ? Alex Feinman [MVP] Microsoft Dot NET Compact Framework 0 25th Jul 2003 04:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:22 PM.