Chapter 3 ActiveX IDispatch Interface Reference
Type Library | JAGAXWrapLib |
ProgID | Jaguar.JagServer |
Contains utility methods for use in EAServer ActiveX components.
"Creating ActiveX Components" in the EAServer Programmer's Guide
Writes a message to the server's log file.
IJagServer.WriteLog(useTimeStamp, message)
useTimeStamp
TRUE
if the
current date and time should be prepended to the log message; FALSE
otherwise.
message
A message to be written to the server's log file.
The following Visual Basic fragment declares a function that writes a string to the server's log, prepended with the name of the component:
Private Function writeToLog(msg As String) Dim jserver As JAGAXWrapLib.JagServer Set jserver = New JAGAXWrapLib.JagServer jserver.WriteLog True, Format("MyComponent: " & msg) End Function
"Creating ActiveX Components" in the EAServer Programmer's Guide
Copyright © 2001 Sybase, Inc. All rights reserved. |
![]() |