An NDoc Documented Class Library

Storage.statusandlogging Method 

Method:

[Visual Basic]
Public Sub statusandlogging( _ 
   ByVal operation As String, _ 
   ByRef obj As Object, _ 
   Optional ByVal messagetxt As String = "Nothing", _ 
   Optional ByVal filenm As String = "Nothing", _ 
   Optional ByVal dir As String = "Nothing" _ 
)
[C#]
public void statusandlogging(
   string operation,
   ref object obj,
   string messagetxt,
   string filenm,
   string dir
);
[C++]
public: void statusandlogging(
   String* operation,
   * Object* obj,
   String* messagetxt,
   String* filenm,
   String* dir
);
[JScript]
public function statusandlogging(
   String operation,
   Object obj,
   String messagetxt,
   String filenm,
   String dir
);

Parameters

operation
Operation to perform(excelstart,newlog,statusbar,excelend
obj
Logging Object to dump output
messagetxt
Text to display on status bar
filenm
Optional file name, required if start=true
dir
Options directory location

Return Value

NA

Remarks

Updates excel or other component's status bar and file event logging Excel is the only component currently implemented. Excelstart and Excelend resets application states to defaults. newlog instantiates a new logging object. statusbar updates the calling application statusbar.

See Also

Storage Class | CommodityStorage.Storage Namespace