New Post: Accessing MAPIOBJECT fails
the problem is: the MAPIOBJECT com class doesnt implement the IDispatch interface. this is a must-have to use late-binding. i try to access the MAPIOBJECT with vb latebinding and c# dynamics. this...
View ArticleNew Post: Accessing MAPIOBJECT fails
Hi Sebastian, many thanx for having a look into this. My temporary workaround now: Microsoft.Office.Interop.Outlook.Application msApp =...
View ArticleNew Post: Accessing MAPIOBJECT fails
exactly. thats what i mean to combine the PIA's and NO. i'm still suprised because this problem was not detected for a long time :o yes i know.. its not a mistake, just a little happy...
View ArticleNew Post: Adding wdFieldFormTextInput
Thank you Sebastian, I finally made it! Even if I prefer C# I had to write it in Vb.net: This works like a charm:Private oWord As Word.Application ...... myFormfield =...
View ArticleCreated Unassigned: How to open template file (.xltx) for editing [20909]
I try to open my template file as: var doc = ExcelApp.Workbooks.Open('myTemplate.xltx', false, false);But, instead of opening template Excell create new file, based on template.Please, explain how to...
View ArticleNew Post: piaProxy
Thank you, that worked. Now I can move onto another question! Regards, David Hyde
View ArticleNew Post: How to find aseembly for Outlook MAPIFolder
Dear Sebastian, Using code that I took from one of your replies to access MAPIFolders and using the references: using System; using Office = OfficeApi; using Outlook = OutlookApi; Outlook__NameSpace...
View ArticleCommented Unassigned: How to open template file (.xltx) for editing [20909]
I try to open my template file as: var doc = ExcelApp.Workbooks.Open('myTemplate.xltx', false, false);But, instead of opening template Excell create new file, based on template.doc =...
View ArticleNew Post: How to find aseembly for Outlook MAPIFolder
you need the following references to deal with ms-outlook: OutlookApi.dll OfficeApi.dll NetOffice.dll you find a deployment table here to deal with all ms-office applications: here...
View ArticleNew Post: Error while using Excel
Hi team, I am getting error when it tries to create excel using Netoffice. It is working in my local but when I deploy it to the server I am getting below error. Can anybody please help me....
View ArticleNew Post: Error while using Excel
typical is(progId not found. means microsoft excel is not present(not installed) on this system. you have 2 options now: a) Make sure excel is present(installed). (if you try accessing from an asp.net...
View ArticleNew Post: Error while using Excel
Thank You Sebastian, yes I am using asp.net to build this, I cannot install excel because it is server where I don't have access.
View ArticleNew Post: Error while using Excel
Hi Sebastian, Can I create multiple sheets in one book using Closed XML?
View ArticleNew Post: How to retrieve value of a named range
Hello, workbook.names or sheet.names will give a list of names. How to get the Range that represents a named range? Once I get the range, I can get its value. thanks
View ArticleNew Post: How to find aseembly for Outlook MAPIFolder
Dear Sebastian, Thank you for that. Now my .dll references read using NetOffice; (is greyed out as not referred to.) using Office = OfficeApi; using Outlook = OutlookApi; and trying to declare a...
View ArticleNew Post: How to find aseembly for Outlook MAPIFolder
Dear Sebastian, Problem solved! Cut and Paste fom one of your examples gave me use Netoffice.OutlookApi which results in list of Outllook properties/method being shown. Regards, David Hyde
View ArticleNew Post: Error while using Excel
of course, its possible with ClosedXML. about the server situation: this thread is may helpful for you. (check the link in last posting)https://netoffice.codeplex.com/discussions/471485 *Sebastian
View ArticleCreated Unassigned: SlideShowWindow.HWND Member not found [20929]
Just thought I'd try your NetOffice dll in place of PIA in my app but get the following exception when trying to access:```Presentation.SlideShowWindow.HWND```>...
View ArticleNew Post: How to retrieve value of a named range
Oh, I got it. name.RefersToRange will give me the range a named cell refers Thanks
View ArticleCommented Unassigned: SlideShowWindow.HWND Member not found [20929]
Just thought I'd try your NetOffice dll in place of PIA in my app but get the following exception in PowerPoint 2013 when trying to access:```Presentation.SlideShowWindow.HWND```>...
View Article