Quantcast
Channel: NetOffice - MS Office in .NET
Browsing all 1741 articles
Browse latest View live
ā†§

New Post: Word bookmark update

works this for you? oWordDoc.Bookmarks["name"].Range.Text

View Article


New Post: TaskPanes and TaskPaneInstances properties. Why are protected? Why...

i have no idea what vsto doesn and its not important for me.the TaskPanes property stores the definition and the TaskPaneInstances property the created instances from. you find a word sample...

View Article


New Post: Word bookmark update

Yes dude!!! Thanks a lot! Even if usually I use mergefield I wanted to know how to deal with bookmarks too. Thanks again

View Article

New Post: Multiple Ranges

Hey, do someone know how I can use something like this, cause I dont want to insert each Cell separatly? Excel.Range r = Worksheet.Range("A3;A5;$A$29;E10")? if I try this, I get a COM Exception, I hope...

View Article

New Post: Multiple Ranges

looks like is localized system and you need another seperator. try "," instead of ";" Sebastian

View Article


New Post: Problem creating setup project un visual studio 2010

I crate an addin for word. I target this projet Any CPU. When I crate my setup project, i must target projet X86 or X64. I target it X86 to make sur that install work on 32 or 64 bits. When i install...

View Article

New Post: Problem creating setup project un visual studio 2010

You can use wix to do both instalation types. Given msi file , wix have tools to auto generate corresponding wix script. Once you have it , add x64 registry keys.

View Article

New Post: Add Chart is raising exception

Hi, I was able to add shapes , Table etc. When it comes to AddChart (as shown in code below) it raises exception as shown below. I am using Office 2013. on Windows 7. What might be the problem ? Code:...

View Article


New Post: Add Chart is raising exception

PowerPoint is a bit strange in automation. make powerpoint visible before and it works. *Sebastian

View Article


New Post: Class not exists: NetOffice.OfficeApi.ComboBox

i'm wondering about the (ComboBox) cast. NetOffice doesnt contains a class with these name(except in the AccessApi namespace). where ist that from? *sebastian EDIT: i try to reproduce your scenario but...

View Article

New Post: Add Chart is raising exception

Thanks a lot! :) You are right! it works with PowerPoint window open. strange PowerPoint. Now using PowerPoint.Presentation presentation = powerApplication.Presentations.Add(MsoTriState.msoTrue);...

View Article

New Post: Multiple Ranges

ty for the fast awnser, still dont work get the same com exception. Maybe I explained bad what i want to do. I need the aquivalent to this vba "formula" Range("D56,F57,D61,C59,C54,D53,H54") that is...

View Article

New Post: Multiple Ranges

k Problem solved, the COMException is throwed if in the string are "$", so first of all delete all "$" in the string and use ";" Seperator. Ty

View Article


New Post: Change and create documentProperties

Hi there, I try to build a solution in C# that change and create BuiltInDocumentProperties and CustomDocumentProperties of Word Documents (doc and docx). I test with NetOffice but my changes will not...

View Article

New Post: Multiple Ranges

are they any maxiama cells?

View Article


New Post: Change and create documentProperties

this post facing the same problemhttp://stackoverflow.com/questions/1527204/saving-word-2007-document-properties-in-c-sharp-2-0" When you add/change custom properties seems that the document is no...

View Article

New Post: Multiple Ranges

did you mean the maximum cell number is this way? the maximum number is 2^32 as far i known and the range address string "A1,B2,...." must be <=64 in lenght. Sebastian

View Article


New Post: Class not exists: NetOffice.OfficeApi.ComboBox

ComboBox is from Microsoft.Vbe.Interop.Forms. Actually the cast is not necessary. This is already causing the excpetion: (Excel.OLEObject)objs["combo1"]) NetOffice is trying to cast it to a...

View Article

New Post: Change and create documentProperties

Thx a lot, that solve this problem. This works for local and network files, now I try to save files from Sharepoint (WSS 3.0 o_O) that didnĀ“t works cause of other reasons. Does anybody know spontaneous...

View Article

New Post: Custom Task Pane query in NetOffice

I was just having the same issue, and thanks to a post of SebastionDotNet somewhere here (of which for some reason I can't find the link any more) I solved the problem. You can do the following:add a...

View Article
Browsing all 1741 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>