NetOffice
COMObject ExpandableObjectConverter (for future use)
Exposes objects, methods and properties to programming tools and other applications that support Automation. COM components implement the IDispatch interface to enable access by Automation clients, such as Visual Basic.
Retrieves the number of type information interfaces that an object provides (either 0 or 1)
This method can return one of these values
S_OK - Success
E_NOTIMPL - Failure
Retrieves the type information for an object, which can then be used to get the type information for an interface
The type information to return. Pass 0 to retrieve type information for the IDispatch implementation
The locale identifier for the type information. An object may be able to return different type information for different languages. This is important for classes that support localized member names. For classes that do not support localized member names, this parameter can be ignored
The requested type information object
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to Invoke.
Reserved for future use. Must be IID_NULL
The array of names to be mapped
The count of the names to be mapped
The locale context in which to interpret the names
Caller-allocated array, each element of which contains an identifier (ID) corresponding to one of the names passed in the rgszNames array. The first element represents the member name. The subsequent elements represent each of the member's parameters
This method can return one of these values
S_OK - Success
E_OUTOFMEMORY - Out of memory
DISP_E_UNKNOWNNAME - One or more of the specified names were not known. The returned array of DISPIDs contains DISPID_UNKNOWN for each entry that corresponds to an unknown name
DISP_E_UNKNOWNLCID
- The locale identifier (LCID) was not recognized
Provides access to properties and methods exposed by an object
Identifies the member. Use GetIDsOfNames or the object's documentation to obtain the dispatch identifier.
Reserved for future use. Must be IID_NULL
The locale context in which to interpret arguments. The lcid is used by the GetIDsOfNames function, and is also passed to Invoke to allow the object to interpret its arguments specific to a locale
Flags describing the context of the Invoke call
Pointer to a DISPPARAMS structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the array
Pointer to the location where the result is to be stored, or NULL if the caller expects no result. This argument is ignored if DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF is specified
Pointer to a structure that contains exception information. This structure should be filled in if DISP_E_EXCEPTION is returned. Can be NULL
The index within rgvarg of the first argument that has an error. Arguments are stored in pDispParams->rgvarg in reverse order, so the first argument is the one with the highest index in the array. This parameter is returned only when the resulting return value is DISP_E_TYPEMISMATCH or DISP_E_PARAMNOTFOUND. This argument can be set to null
See http://msdn.microsoft.com/de-de/library/windows/desktop/ms221479%28v=vs.85%29.aspx
Creation Factory for COMObject and derived types
Creates an instance of the class
Creates an instance of the class
Mark this instance as default instance
Raise the ProxyCountChanged event (and optional, send channel message to console)
current count of open com proxies
Must be called from client assembly for COMObject Support
Recieve factory infos from all loaded NetOfficeApi Assemblies in current application domain
Must be called from client assembly for COMObject Support
Recieve factory infos from all loaded NetOfficeApi Assemblies in current application domain
NetOffice cache options
analyze assemblies in current appdomain and connect all NetOffice assemblies to the core runtime
analyze loaded NetOffice assemblies and add dependent assemblies to the runtime if necessary
clears proxy/type/wrapper/assembly cache etc.
Check for inialize state and call Initialze if its necessary
clears factory informations List
creates an entity support list for a proxy
creates a new COMObject based on wrapperClassType
parent there have created comProxy
new created proxy
type info from wrapper class
corresponding wrapper class instance or plain COMObject
creates a new COMObject array based on wrapperClassType
parent there have created comProxy
new created proxies
type info from wrapper class
corresponding wrapper class instances or plain COMObject
creates a new COMObject based on classType of comProxy
parent there have created comProxy
new created proxy
corresponding wrapper class instance or plain COMObject
creates a new COMObject based on classType of comProxy
parent there have created comProxy
new created proxy
Type of comProxy
corresponding Wrapper class Instance or plain COMObject
creates a new COMObject from factoryInfo
Factory Info from Wrapper Assemblies
parent there have created comProxy
new created proxy
Type of comProxy
name of COMServer proxy class
full namespace and name of COMServer proxy class
corresponding Wrapper class Instance or plain COMObject
creates a new COMObject array
parent there have created comProxy
new created proxy array
corresponding Wrapper class Instance array or plain COMObject array
dispose all open objects
add object to global list
com wrapper instance
remove object from global list
com wrapper instance
returns info the assembly is a NetOffice Api Assembly
assembly informations
true if NetOffice assembly, otherwise false
returns info the assembly is a NetOffice Api Assembly with known keytoken
assembly informations
true if NetOffice assembly with token, otherwise false
check for loaded assembly in factory list
name of the assembly
true if exists, otherwise false
add assembly to list
name of the assembly
assemmbly to add
list of dependend assemblies
returns id of an interface
com type informations
internface id(iid)
get the guid from type lib there is the type defined
new created proxy
guid from containing component
get wrapper class factory info
new created proxy
factory info from corresponding assembly
Assembly loader for multitargeting(host) scenarios
full file name
assembly instance or null
returns the Type for comProxy or null if param not set
new created proxy
type info or null if unkown
Current NetOffice Assembly
Returns info about intialized state
Shared Default Core
Core Settings
Core Console
Core Invoker
Returns the instance ist the shared default core
returns an array about currently loaded NetOfficeApi assemblies
Returns current count of open proxies
notify info the count of proxies there open are changed
in case of notify comes from event trigger created proxy the call comes from other thread
contains a list of all known netoffice
ProxyCountChanged delegate
current count of com proxies
Encapsulate current appdomain with exception tolerant methods
Creates an instance of the class
owner core
Returns all loaded assemblies in current appdomain
loaded assemblies
Try load an assembly
full qualified file path
Assembly instance or null
Try load an assembly
assembly reference name
Assembly instance or null
Try load an assembly
full qualified name
Assembly instance or null
Try load an assembly
full qualified file name
Assembly instance or null
Try to validate argument file version match with current NO version. The method does nothing if argument file not exists
target file to load
true if file exists in current NO version
Occurs when the resolution of an assembly fails.
The source of the event
A System.ResolveEventArgs that contains the event data
The System.Reflection.Assembly that resolves the type, assembly, or resource or null if the assembly cannot be resolved
Owner Core
Current Assembly Version
DebugConsole operation mode
debug log are not enabled
debug log was redirected to System.Console
debug log append to a logfile
hold all debug and exceptions logs in a internal string list
debug log was redirected to System.Diagnostics.Trace
Send a message to specific console
name of the console. use null for main console
given message as any
loghandle from server if recieved
Send a message to specific console
name of the console. use null for main console
given message as any
parent loghandle or null
loghandle from server if recieved
Send a message to specific channel
name of the channel
given message as any
loghandle from server if recieved
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
Shared output connection technique
IPC named pipes
Provides Attribute Helper functions
Anyalyze first parameter and returns the register error method delegate if exists
Type of target addin
delegate or null
Looks for a method with the RegisterErrorHandlerFunctionAttribute
the type you want looking for the method
the method when its found
the attribute when its found
true when the method was found
Looks for a method with the RegisterFunctionAttribute
the type you want looking for the method
the method when its found
the attribute when its found
true when the method was found
Looks for a method with the UnRegisterFunctionAttribute
the type you want looking for the method
the method when its found
the attribute when its found
true when the method was found
Looks for the CustomUIAttribute
the type you want looking for the attribute
CustomUIAttribute or null
Looks for the CustomPaneAttribute
the type you want looking for the attribute
CustomPaneAttribute or null
Looks for the GuidAttribute. Throws an exception if not found
the type you want looking for the attribute
GuidAttribute
Looks for the ProgIdAttribute. Throws an exception if not found
the type you want looking for the attribute
ProgIdAttribute
Looks for the TweakAttribute.
the type you want looking for the attribute
TweakAttribute
Looks for the RegistryLocationAttribute. Returns a default RegistryLocationAttribute(CurrentUser) if not found
the type you want looking for the attribute
RegistryLocationAttribute
Looks for the COMAddinAttribute.
the type you want looking for the attribute
COMAddinAttribute
Specify essential COMAddin informations
Display Name for the Addin
Description for the Addin
LoadBehavior for the Addin
Gives info the Addin is commandline safe
Creates an instance of the attribute
Display Name for the Addin
Description for the Addin
LoadBehavior for the Addin
Creates an instance of the attribute
Display Name for the Addin
Description for the Addin
LoadBehavior for the Addin
Gives info the Addin is commandline safe
This enumerator is not supported from the com proxy instance, its a custom service from NetOffice
This method is a custom overload from NetOffice
Encapsulate generic addin services
Host Application Instance
Specify a custom task pane
Type of the custom task pane
Pane Title (Default is Pane Type Name)
Pane Visibility (Default is true)
Pane dock alignment direction (Default is Right)
Pane dock alignment restriction (Default is None)
Pane Width (Default is 150)
Pane Height (Default is 150)
Creates an instance of the Attribute
type of the custom task pane
Creates an instance of the Attribute
type of the custom task pane
pane caption
Creates an instance of the Attribute
type of the custom task pane
pane caption
pane visibility
Creates an instance of the Attribute
pane caption
pane visibility
type of the custom task pane
pane dock alignment direction
Creates an instance of the Attribute
type of the custom task pane
pane caption
pane visibility
pane dock alignment direction
pane dock alignment restriction
Creates an instance of the Attribute
type of the custom task pane
pane caption
pane visibility
pane dock alignment direction
pane dock alignment restriction
pane width
pane height
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
SupportByVersion Office 12, 14, 15
Specify an embedded XML File for RibbonUI
Full qualified location
Use root namespace of the calling instance
Creates an instance of the Attribute
Full qualified location
Creates an instance of the Attribute
Full qualified location
Use namespace of the calling instance
Build resource path with attribute values
resource path
use assembly namespace
root assembly namespace
return resource path
Indicates assembly is a NetOffice api assembly
version
creates instance
Indicates in which method the error is occured
the error is occured in void IDTExtensibility2.OnStartupComplete(ref Array custom)
the error is occured in void IDTExtensibility2.OnDisconnection(ext_DisconnectMode RemoveMode, ref Array custom)
the error is occured in void IDTExtensibility2.OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom)
the error is occured in void IDTExtensibility2.OnAddInsUpdate(ref Array custom)
the error is occured in void IDTExtensibility2.OnBeginShutdown(ref Array custom)
the error is occured in public virtual string GetCustomUI(string RibbonID)
the error is occured in public virtual void CTPFactoryAvailable(object CTPFactoryInst)
the error is occured in protected virtual Factory CreateFactory()
Mark a static method as error handler for COMAddin methods. The static method need the following signature: public static void ErrorHandler(RegisterErrorMethodKind methodKind, Exception exception)
Rethrow the exception(second argument) in the method body to the runtime system if you want signalize an error to the environment(typical not wanted)
Indicates in which method the error is occured
the error is occured in the Register operation
the error is occured in the Unregister operation
Specify the kind and condition of an register method call
the base class COMAddin doesnt perform any register operations and call the specified register method with the parameter RegisterCall.Replace. The specified register method has to do all register operations
the method was called with parameter RegisterCall.CallBefore before the base class do any register operations.
the method was called with parameter RegisterCall.CallAfter when the base register operations is done.
this means a combination of CallBefore and CallAfter
Parameter for Register/Unregister Methods
the method was called without any register/unregister action from the base class. The specified register method has to do all register operations
the method is called before the base class perform all register operation
the method was called when the base class register operations are done
Mark a static method as Register method. the method need the following signature public void Register(Type type, RegisterCall callType)
Register Call Condition
Creates an instance of the attribute
register call condition
specifiy possible registry locations
CurrentUser Key
LocalMachineKey (permissions required)
Specify the addin registry keys for office was created in the Machine key or current user
Registry Location
Creates an instance of the attribute
Registry location
Activate COMAddin tweak options. you can add various values in the office add-in regristry location
to customize NetOffice diagnostic/log settings at runtime. This can be very helpful in troubleshooting.
See tweak overview here: http://netoffice.codeplex.com/wikipage?title=Tweaks_EN
Enable or disable possible tweaking is possible
Creates an instance of the class
Enable or disable possible tweaking is possible
Tweak Handler to customize some settings at runtime (if wanted)
Creates no instance of the class
Analyze a COMAddin for the TweakAttribute and try to set given arguments(registry) if exists
current used factory or null for default
COMAddin instance
Type info from COMAddin instance
specific office registry key endpoint
Dispose applied tweaks for COMAddin instance
current used factory or null for default
COMAddin instance
Type info from COMAddin instance
Returns info the regkey value name is addin standard or NetOffice tweak
target regky name
true if found
Store applied custom teaks. int = GetHashCode() from COMAddin instance. Dictionary string string = name, value of applied tweak
Mark a static method as UnRegister method. the method need the following signature public void UnRegister(Type type, RegisterCall callType)
Register Call Condition
Creates an instance of the attribute
register call condition
Cache options for the Factory->Initialize method
clear current infos about existing types and and loaded NetOffice assemblies
any new infos in Initialize was added to the existing cache
offers various debug, log and diagnostic functionality
clears message buffer
write log message
write log message
write exception log message
Send a message to the NOTools.Console monitor pipe
name for the console(must exclude the '?' char) or null for default console
the given message as any
entry id for the log message if arrived, otherwise null
Send a message to the NOTools.Console monitor pipe
name for the console(must exclude the '?' char) or null for default console
the given message as any
parent message id. the console monitor can show a hierarchy with these info
entry id for the log message if arrived, otherwise null
Send a channel message to the NOTools.Console monitor pipe
channel id string. the argument must exclude the '?' character
the given message as any
entry id for the log message if arrived, otherwise null
Send a message to the NOTools.Console monitor pipe
given message as any
parent loghandle
entry id for the log message if arrived, otherwise null
Send a channel message to the NOTools.Console monitor pipe
channel id string. the argument must exclude the '?' character
the given message as any
true if send
append message to logfile
convert an exception to a string
Shared Default Instance
Name of the Console instance
append current time information in messages
operation mode
send a all messages to a named pipe. Use the NOTools.ConsoleMonitor to observe the console
Specify the shared output connection technique (currently ipc named pipes only. for future use to enable network and db logging)
PipeConnection to NOTools.ConsoleMonitor
name full file path and name of a logfile, must be set if Mode == LogFile
returns all collected messages if Mode == MemoryList
Indicates original type of entity
entity is class
entity is dispatch interface
entity is interface
entity is module
entity is enum
entity is struct
entity is const module
Indicates original type of entity in COM Type Library
returns type of entity
creates instance
dependent assembly description
Signals the target method or property is not supported from the COM proxy in the current version
signals an exception occured in NetOffice.dll, not in corresonding NetOffice assembly
creates instance
given exception info
creates instance
given exception info
inner exception
creates instance
NetOffice wrap all thrown exceptions from Office applications in a COMException. This enum can be used to set the exception message
The standard message from NetOffice.Settings.Exception
The message from the source exception
All inner exception messages as a summary
event args for OnDispose
creates a new instance
the target COM object
the target COM object
Skip flag, you can cancel the operation if you want
EventHandler delegate for COMObject.OnDispose
represents a managed COM proxy
the well know IUnknown Interface ID
returns parent instance
returns Type of native proxy
returns the native wrapped proxy
returns instance is an enumerator
returns instance implement quit method and dispose call them automaticly
returns instance is currently in disposing progress
returns instance is diposed means unusable
child instance List
list of runtime supported entities
monitor lock object for accessing the child list
associated factory
creates instance and replace the given replacedObject in proxy management
all created childs from replacedObject are now childs from the new instance
current factory instance or null for default
the instance you want replace in current NO proxy management
creates instance and replace the given replacedObject in proxy management
all created childs from replacedObject are now childs from the new instance
the instance you want replace in current NO proxy management
creates new instance with given proxy
current factory instance or null for default
the now wrapped comProxy root instance
creates new instance with given proxy and parent info
the parent instance where you have these instance from
the now wrapped comProxy instance
creates new instance with given proxy
the now wrapped comProxy instance
creates new instance with given proxy and parent info
current factory instance or null for default
the parent instance where you have these instance from
the now wrapped comProxy instance
creates new instance with given proxy, parent info and info instance is an enumerator
current factory instance or null for default
the parent instance where you have these instance from
the now wrapped comProxy instance
creates new instance with given proxy, type info and parent info
current factory instance or null for default
the parent instance where you have these instance from
the now wrapped comProxy instance
typeinfo from comProy if you have or null
creates new instance with given proxy, type info and parent info
the parent instance where you have these instance from
the now wrapped comProxy instance
typeinfo from comProy if you have or null
creates a new instace with progid
current factory instance
registered ProgID
creates a new instace with progid
registered ProgID
not usable stub constructor
NetOffice method: returns information the proxy provides a method or property with given name at runtime
name of the enitity
true if available, otherwise false
NetOffice method: returns information the proxy provides a method or property with given name at runtime
name of the enitity
limit searching for method or property
true if available, otherwise false
NetOffice method: create object from progid
NetOffice method: add object to child list
target child instance
remove object to child list
target child instance
NetOffice method: release com proxy
calls Quit for a proxy
Calls the OnDispose event as service for client callers
NetOffice method: dispose instance and all child instances
dispose event exported proxies with one or more event recipients
NetOffice method: dispose instance and all child instances
NetOffice method: dispose all child instances
dispose proxies with events and one or more event recipients
NetOffice method: dispose all child instances
Serves as a hash function for a particular type.
System.Int32 instance
Returns a string that represents the current object.
System.String instance
Determines whether two Object instances are equal.
true if equal, otherwise false
Determines whether two COMObject instances are equal.
target instance to compare
true if equal, otherwise false
Gets a Type object that represents the specified type.
Determines whether two COMObject instances are equal.
Determines whether two COMObject instances are equal.
Determines whether two COMObject instances are equal.
first instance
second instance
true if equal, otherwise false
Determines whether two COMObject instances are not equal.
first instance
second instance
true if equal, otherwise false
Determines whether two COMObject instances are not equal.
first instance
second instance
true if equal, otherwise false
Determines whether two COMObject instances are not equal.
first instance
second instance
true if equal, otherwise false
always null (Nothing in Visual Basic)
NetOffice property: the associated factory
NetOffice property: the associated invoker
NetOffice property: the associated console
NetOffice property: the associated settings
NetOffice property: returns the native wrapped proxy
NetOffice property: returns friendly name for the instance type
NetOffice property: returns class name of native wrapped proxy
NetOffice property: returns component name of native wrapped proxy
NetOffice property: returns instance is diposed means unusable
NetOffice property: returns Type of native proxy
NetOffice property: returns parent proxy object
NetOffice property: returns instance is currently in diposing progress
Child instances
NetOffice property: returns instance export events
NetOffice property: returns event bridge is advised
NetOffice property: retuns instance has one or more event recipients
NetOffice event: these event was called from Dispose and you can skip the dipose operation here if you want. the event can be helpful for troubleshooting if you dont know why your objects beeing disposed
info about a NetOffice assembly
returns info a class with given name exists in NetOfficeApi assembly
namespace of assembly
guid of component there represents the NetOfficeApi assembly
assembly info of NetOfficeApi assembly
returns a name array of dependent NetOfficeApi assemblies
Invoke helper functions
lock field to perform thread safe operations
Creates an instance of the class
parent factory
Creates an instance of the class
perform method as latebind call without parameters
target object
name of method
perform method as latebind call without parameters
target proxy
name of method
perform method as latebind call with parameters
target object
name of method
array with parameters
perform method as latebind call with parameters
target object
name of method
array with parameters
perform method as latebind call with parameters
target proxy
name of method
array with parameters
perform method as latebind call with parameters and parameter modifiers to use ref parameter(s)
target object
name of method
array with parameters
ararry with modifiers correspond paramsArray
perform method as latebind call with return value
target object
name of method
any return value
perform method as latebind call with return value
target object
name of method
array with parameters
any return value
perform method as latebind call with return value
target object
name of method
array with parameters
any return value
perform method as latebind call with return value
target object
name of method
array with parameters
ararry with modifiers correspond paramsArray
any return value
perform method as latebind call without parameters
target object
name of method
perform method as latebind call without parameters
target proxy
name of method
perform method as latebind call with parameters
target object
name of method
array with parameters
perform method as latebind call with parameters
target object
name of method
array with parameters
perform method as latebind call with parameters
target proxy
name of method
array with parameters
perform method as latebind call with parameters and parameter modifiers to use ref parameter(s)
target object
name of method
array with parameters
ararry with modifiers correspond paramsArray
perform method as latebind call with return value
target object
name of method
any return value
perform method as latebind call with return value
target object
name of method
array with parameters
any return value
perform method as latebind call with return value
target object
name of method
array with parameters
any return value
perform method as latebind call with return value
target object
name of method
array with parameters
ararry with modifiers correspond paramsArray
any return value
perform property get as latebind call with return value
target proxy
name of property
any return value
perform property get as latebind call with return value
target object
name of property
any return value
perform property get as latebind call with return value
target proxy
name of property
array with parameters
any return value
perform property get as latebind call with return value
target object
name of property
array with parameters
any return value
perform property get as latebind call with return value
target object
name of property
array with parameters
any return value
perform property get as latebind call with return value
target object
name of property
array with parameters
ararry with modifiers correspond paramsArray
any return value
perform property set as latebind call
target object
name of property
array with parameters
value to be set
perform property set as latebind call
target object
name of property
array with parameters
value to be set
array with modifiers correspond paramsArray
perform property set as latebind call
target object
name of property
value to be set
perform property set as latebind call
target object
name of property
value to be set
array with modifiers correspond paramsArray
perform property set as latebind call
target object
name of property
value array to be set
array with modifiers correspond paramsArray
perform property set as latebind call
comobject instance
name of the property
new value of the property
create parameter modifiers array
parameter is given as ref(ByRef in Visual Basic)
replace null with Type.Missing, replace COMObject with COMObject.UnderlyingObject
value to check
validated value
calls ValidateParam for every array item
array with parameters
calls dipose in case if param is COMObject, calls Marshal.ReleaseComObject in case of param is a COM proxy
calls ReleaseParam for every array item
any value array
copy the param array or returns null if paramsArray not set
array with parameters
array copy or null
copy the param array or returns null if paramsArray not set
ararry with modifiers correspond paramsArray
array with parameters
array copy or null
Shared Default Invoker
Returns info this invoker is the default instance
Parent Factory
Associated DebugConsole
Associated Settings
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683793%28v=vs.85%29.aspx
A pointer to the IUnknown interface on the object
The identifier of the requested interface
The interface method
http://msdn.microsoft.com/en-us/library/windows/desktop/ms693740%28v=vs.85%29.aspx
Provides a single entry point for incoming calls.
The type of incoming call that has been received. Possible values are from the enumeration CALLTYPE
The thread id of the caller
The elapsed tick count since the outgoing call was made, if dwCallType is not CALLTYPE_TOPLEVEL. If dwCallType is CALLTYPE_TOPLEVEL, dwTickCount should be ignored
A pointer to an INTERFACEINFO structure that identifies the object, interface, and method being called. In the case of DDE calls, lpInterfaceInfo can be NULL because the DDE layer does not return interface information.
This method can return the following values
SERVERCALL_ISHANDLED - The application might be able to process the call
SERVERCALL_REJECTED - The application cannot handle the call due to an unforeseen problem, such as network unavailability, or if it is in the process of terminating
SERVERCALL_RETRYLATER - The application cannot handle the call at this time. An application might return this value when it is in a user-controlled modal state
Provides applications with an opportunity to display a dialog box offering retry, cancel, or task-switching options.
The thread id of the called application
The number of elapsed ticks since the call was made
Specifies either SERVERCALL_REJECTED or SERVERCALL_RETRYLATER, as returned by the object application
This method can return the following value
-1 - The call should be canceled. COM then returns RPC_E_CALL_REJECTED from the original method call
0 ≤ value ≤ 100 - The call is to be retried immediately.
100 ≤ value - COM will wait for this many milliseconds and then retry the call
Indicates that a message has arrived while COM is waiting to respond to a remote call.
The thread id of the called application
The number of ticks since the call was made. It is calculated from the GetTickCount function
The type of call made during which a message or event was received. Possible values are from the enumeration PENDINGTYPE, where PENDINGTYPE_TOPLEVEL means the outgoing call was not nested within a call from another application and PENDINTGYPE_NESTED means the outgoing call was nested within a call from another application.
This method can return the following values
PENDINGMSG_CANCELCALL - Cancel the outgoing call
PENDINGMSG_WAITNOPROCESS - Continue waiting for the reply, and do not dispatch the message unless it is a task-switching or window-activation message
PENDINGMSG_WAITDEFPROCESS - Keyboard and mouse messages are no longer dispatched. However there are some cases where mouse and keyboard messages could cause the system to deadlock, and in these cases, mouse and keyboard messages are discarded. WM_PAINT messages are dispatched
Specify the filter for an RetryMessageFilter instance
Try rejected call again immediately
Try rejected call again after few milliseconds
Dont try rejected call again
Specify log behaviour for an RetryMessageFilter instance
Disable Log
Call DebugConsole.WriteLine in IMessageFilter.RetryRejectedCall
Call DebugConsole.WriteLine in IMessageFilter.MessagePending
Call DebugConsole.WriteLine in IMessageFilter.RetryRejectedCall and IMessageFilter.MessagePending
An IMessageFilter Implementation
Learn more about: http://netoffice.codeplex.com/wikipage?title=Settings.MessageFilter_EN
Get or set the message filter is enabled
Get or set retry options
Get or set log options
ROT Wrapper
some office applications in specific version use the "Microsoft" prefix in the COM server name
returns a running com proxy from the running object table. the method takes the first proxy there matched with the input parameters.
WARNING: the method returns always the first com proxy from the running object table if multiple (match) proxies exists.
component name, for example Excel
class name, for example Application
throw an exception if no proxy was found
a native COM proxy
returns all running com proxies from the running object table there matched with the input parameters
WARNING: the method returns always the first com proxy from the running object table if multiple (match) proxies exists. A fix is implemented for MS-Excel only
component name, for example Excel
class name, for example Application
COM proxy list
Core Settings
Creates an instance of the class
Shared Default Settings
Enable the NetOffice COM proxy management. true by default
NetOffice wrap all thrown exceptions from Office applications in a COMException.
This option can be used to set the top level exception message or copy the innerst message to top.
NetOffice wrap all thrown exceptions from Office applications in a COMException.
This is the default message for the top level exception
Used Thread Culture given in the invoke calls. en-US by default
Get or set the Event support. true by default
A predefined implementation of IMessageFilter
Get or set the Quit method for an application object was automaticly called while Dispose. false by default
Get or set the core api checks at runtime the target method or property is supported in current version. if it doesnt a EntityNotSupportedException is thrown. false by default
Get or set Factory.Initialize() try to load non loaded dependend assemblies to fetch type informations. true by default
Get or set the Initialize method perform a deep level analyzing(may cause security issues). true by default
Get or set NetOffice logs essential system steps in the DebugConsole(if enabled). true by default
Get or set NetOffice logs essential system steps for event operations in the DebugConsole(if enabled). false by default
Get or set NetOffice logs the current proxy count from a core factory to a ConsoleMonitor channel
A ConsoleMonitor channel name for the option EnableProxyCountChannel
Get or set Factory.Initialize() try to load non loaded dependend assemblies to fetch type informations. KeepExistingCacheAlive by default
Get or set NetOffice spend custom overloads for the "==" and "!=" operators for semanticly comparsion. true by default
Sink Helper Base Class for an Event Interface Sink helper class
creates instance
try to find connection point by FindConnectionPoint
try to find connection point by EnumConnectionPoints
get supported connection point from comProxy
get supported connection point from comProxy in reverse order to GetConnectionPoint
Dispose all active event bridges
create event binding
release event binding
release event binding
remove eventbinding
Indicates which COM Type Library Version supports the entity
returns library name
returns all supported library versions of entity
creates instance
name of the library
version of the library
EventBinding Interface
retuns instance has one or more event recipients
returns recipient delegates for an event
name of the even
recipients delegates
retuns instance has one or more event recipients for a specific event
name of the event
the count of recipients
call a specific event for all recipients
name of the event
argument array
count of recipients
Create the event eventbridge for the object
Dispose the event eventbridge for the object
returns event bridge is advised
search parameter for the EntityIsAvailable Method
looking for a method or a property
looking for a property only
looking for a method only
OnStartupComplete Event Handler
custom arguments
OnDisconnection Event Handler
kind of remove
custom arguments
OnConnection Event Handler
application host instance
kind of connect
addin instance
custom arguments
OnAddInsUpdate Event Handler
custom arguments
OnBeginShutdown Event Handler
custom arguments
Used in IDTExtensibility2 interface
The add-in was loaded after Application started.
The add-in was loaded when Application started.
The add-in was loaded by an external client.
The add-in was loaded from the command line.
The add-in was loaded with a solution.
The add-in was loaded for user interface setup.
Used in IDTExtensibility2 interface
The add-in was unloaded when Application was shut down.
The add-in was unloaded while Application was running.
The add-in was unloaded after the user interface was set up.
The add-in was unloaded when the solution was closed.
The well known Extensibility
Occurs whenever an add-in is loaded into MS-Office
A reference to an instance of the office application
An ext_ConnectMode enumeration value that indicates the way the add-in was loaded into MS-Office
An AddIn reference to the add-in's own instance. This is stored for later use, such as determining the parent collection for the add-in
An empty array that you can use to pass host-specific data for use in the add-in
Occurs whenever an add-in is unloaded from MS Office
An ext_DisconnectMode enumeration value that informs an add-in why it was unloaded.
An empty array that you can use to pass host-specific data for use after the add-in unloads
Occurs whenever an add-in is loaded or unloaded from MS Office
An empty array that you can use to pass host-specific data for use in the add-in
Occurs whenever an add-in, which is set to load when MS Office starts, loads.
An empty array that you can use to pass host-specific data for use when the add-in loads
Occurs whenever MS Office shuts down while an add-in is running
An empty array that you can use to pass host-specific data for use in the add-in
some helper methods (also for visual basic)
lock instance to perform threadsafe operations
checks value is null or nothing.
check value
true if null
returns enumerator with com proxies
returns enumerator with com proxies
returns enumerator with scalar variables
returns enumerator with scalar variables
Shared Default Invoker
Enumerate Top Level Windows on Desktop
Creates an instance of the class
optional class name filter or null
Creates an instance of the class
starts with class name filter
ends with class name filter
Enumerates all top level windows on desktop. WARNING: The method returns null if operation timeout is reached.
a timeout for the operation. when a desktop windows is busy or non responding these method freeze. you can handle this with the operation timeout
result array or null
Returns information a window is currently visible
target window handle
true if window is visible, otherwise false
Optional class name filter or null
Class name begin
Class name end
Current Filter Mode
Internal operatotion mode
Class name must match totaly
Class name must match in start and end of name
Try get the com application proxy from application window handle
excel application window handle
com proxy or null
Returns a list with application proxies
main window handles
list of application proxies