CodePlexProject Hosting for Open Source Software
/* taken from Tutorial08.csproj
Any object in NetOffice implements a special method too see at runtime a specified property or method is available This very important because not any property or method is available in any office version
bool EntityIsAvailable(string name);
bool EntityIsAvailable(string name, SupportEntityType searchType);
This example shows you how to use.
See chapter8 in technical documentation for further info.
// Initialize NetOffices
// create new instance
Excel.Application application = new Excel.Application();
// check for support at runtime
bool enableLivePreviewSupport = application.EntityIsAvailable("EnableLivePreview");
bool openDatabaseSupport = application.Workbooks.EntityIsAvailable("OpenDatabase");
string result = "Excel Runtime Check: " + Environment.NewLine;
result += "Support EnableLivePreview: " + enableLivePreviewSupport.ToString() + Environment.NewLine;
result += "Support OpenDatabase: " + openDatabaseSupport.ToString() + Environment.NewLine;
richTextBoxResult.Text = result;
// quit and dispose
Last edited Nov 13, 2011 at 10:54 PM by SebastianDotNet, version 8
Very nice framework. But there should be much more support for the deployment of Add-Ins (for example a wizzard). The described way ... (more)
This toolkit is absolutely brilliant. I converted a considerable amount of VBA code to automate interactions between MS-Project and ... (more)
Sign in to join this project.