office-interop
Any ideas why excel interop reads many decimals as -2146826246?
I\'m absolutely sure that I haven\'t changed a thing. For some reason, excel 开发者_JAVA百科interop has started reading cells with decimals with same mystic value:[详细]
2023-04-06 18:03 分类:问答How to add a "Page x of y" footer to Word2007 doc as I am generating it using C#
I looked here and here and here I tried this: private void AddFooters() { foreach (Word.Section wordSection in this.WordDoc.Sections)[详细]
2023-04-06 16:49 分类:问答How to insert a picture/text label at specific coordinates in a word 2007 document using C#?
I can do this to insert picture and text at a default location: private static object objTrue = true; private static object objFalse = false;[详细]
2023-04-06 06:24 分类:问答retrieve bookmark id value from word documents
I want to create a word document with many bookmarks. The bookmarks contains some price information that needs to be updated every year. I need to update them based on value from a database in a certa[详细]
2023-04-05 09:10 分类:问答Outlook Add-In and Disabling/Hiding Custom Menu Items
I\'ve created an Outlook Add-In, and I\'m using an XML ribbon configuration file to specify a new tab, and button. The button loads into a new tab within outlook. Now sometimes, based on user we want[详细]
2023-04-05 05:33 分类:问答Add Reference dynamically to my project
I am Developping an Add-In for Microsoft Word. In my Add-In 开发者_运维问答i am using a reference to file \"Microsoft.Office.Interop.Word.dll\" so i can use word objects.[详细]
2023-04-02 05:16 分类:问答Using Office automation in a WCF service throws exceptions
In my project, I need to automate Excel and Word at the server side for use by clients. I ran my code in a sample console application and all works well, but inside of the WCF service, I got some erro[详细]
2023-04-01 12:06 分类:问答Primary Interop Assemblies (PIA) for Office 2007 - 32/64bit?
Are the Primary Interop Assemblies (PIA) for Office 2007 compatible with both 32 bit and 64 bit versions of Windows?[详细]
2023-03-30 23:10 分类:问答How do I obtain Excel objects for using as C#4 dynamic interop method call arguments?
I have a great time interop\'ing with excel. It\'s a breeze... until I hit a brick wall. This works like a charm.[详细]
2023-03-29 21:07 分类:问答Grouping AutoShape in Word Document using Interop.Word
I\'ve tried to draw AutoShape in Word using Interop.Word 12.0 in C# language. I\'ve some AutoShape object in the document. How to group that AutoShapes using that Interop.Word 12.0?[详细]
2023-03-29 16:46 分类:问答