Commented Unassigned: When to release event's COMObject? [21067]
When to release the newContentControl, DO I NEED to release it by myself, or NetOffice release it?In the DocumentEvents2.cspublic void ContentControlOnExit([In, MarshalAs(UnmanagedType.IDispatch)]...
View ArticleCommented Unassigned: When to release event's COMObject? [21067]
When to release the newContentControl, DO I NEED to release it by myself, or NetOffice release it?In the DocumentEvents2.cspublic void ContentControlOnExit([In, MarshalAs(UnmanagedType.IDispatch)]...
View ArticleNew Post: Creating COMM-add ins for the first time
I have VS2013 Premium version, installed NetOffice 1.6.0, not displaying project template NetOffice in VS2013 projects...any setting need to configure? Any help is appreciated.
View ArticleCommented Unassigned: When to release event's COMObject? [21067]
When to release the newContentControl, DO I NEED to release it by myself, or NetOffice release it?In the DocumentEvents2.cspublic void ContentControlOnExit([In, MarshalAs(UnmanagedType.IDispatch)]...
View ArticleNew Post: Creating COMM-add ins for the first time
Got it...it is just tab on Toolbox UI..I believe it is not integrated with Visual Studio..
View ArticleCommented Unassigned: When to release event's COMObject? [21067]
When to release the newContentControl, DO I NEED to release it by myself, or NetOffice release it?In the DocumentEvents2.cspublic void ContentControlOnExit([In, MarshalAs(UnmanagedType.IDispatch)]...
View ArticleCreated Unassigned: How to return a COMObject In a Collection? [21075]
internal static bool TryGetCustumXMLPart(this Document doc, string namespaceURI, out CustomXMLPart checkedPart) { checkedPart = null; using (CustomXMLParts parts = doc.CustomXMLParts) { foreach...
View ArticleCommented Unassigned: How to return a COMObject In a Collection? [21075]
internal static bool TryGetCustumXMLPart(this Document doc, string namespaceURI, out CustomXMLPart checkedPart) { checkedPart = null; using (CustomXMLParts parts = doc.CustomXMLParts) { foreach...
View ArticleNew Post: Please speed up the COMObject create process!!
NetOffice cached the class type, I thank it can also cache the constructor. _wrapperTypeCache.Add(fullClassName, classType); COMObject newClass = Activator.CreateInstance(classType, new object[] {...
View ArticleNew Post: Please speed up the COMObject create process!!
I think It's most fast method to Create New Object. Activator.CreateInstance do more work at runtime. In the Factory _globalObjectList can be ignore If user don't want it by Setting, OR it should only...
View ArticleNew Post: Application.Dispose
I think should Add a method to the NetOffice.Factory.Remove(COMObject), remove it from the COMObject List who is created and not disposed.
View ArticleCommented Unassigned: How to return a COMObject In a Collection? [21075]
internal static bool TryGetCustumXMLPart(this Document doc, string namespaceURI, out CustomXMLPart checkedPart) { checkedPart = null; using (CustomXMLParts parts = doc.CustomXMLParts) { foreach...
View ArticleNew Post: Please speed up the COMObject create process!!
Fasterflect - .NET Reflection Made Fast and Simplehttps://fasterflect.codeplex.com Fast Invokerhttps://fastinvoker.codeplex.com We can learn from Fasterflect to speed up the method call
View ArticleNew Post: Open Word Document - passing in a binary array not physical file
Same here, would love to be able to open and save workbooks without them having to touch disk. Can someone gice some pointers on how this could be possible?
View ArticleCreated Unassigned: Excel Pivot Table SourceData Range >65536 Crashes [21086]
Hi Guys.Running 1.6 and am trying to create a Pivot Table in Excel. I can get it to generate fine as long as the SourceData range does not go over 65536. If I go to 65537 I get:```{"Type mismatch....
View ArticleNew Post: Identify workbooks after WorkbookActivateEvent
Hi Sebastian, First off huge thanks for NetOffice! Extrmely good stuff! I want to store extra data about workbooks, and select the right data when a user selects another workbook (to load into a...
View ArticleCreated Unassigned: Detect NetOffice assembly OfficeApi. Type:SEHException...
IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=4ce962cc9e5644e3:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=6040f8ab492f76a1IFactoryInfo:OfficeApi,...
View ArticleCommented Unassigned: Detect NetOffice assembly OfficeApi. Type:SEHException...
IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=4ce962cc9e5644e3:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=6040f8ab492f76a1IFactoryInfo:OfficeApi,...
View ArticleNew Post: Please speed up the COMObject create process!!
NO 1.7 use an option to disable the com proxy management by the way. (NetOffice.Settings) Anyway, in fact you can't improve the method call performance in this way.(this works in .NET but not in COM. )...
View ArticleNew Post: Cannot find the NetOffice equivalent for Microsoft.Office.Tools...
Hi, Is it possible to expand a bit more on this answer? Is it possible to learn more about what the tools namespace wrapper does? I am trying to understand that if NetOffice doesn't support Tools...
View Article