Class wwUtils

Summary description for wwUtils.

System.Object
  Westwind.WebMonitor.Components.wwUtils
public class wwUtils : object

Class Members

MemberDescription

Constructor

CallMethod

Wrapper method to call a 'dynamic' (non-typelib) method on a COM object

public static object CallMethod( object loObject,
    string lcMethod,
    Object[] loParams );

DisplayMemo

Fixes a plain text field for display as HTML by replacing carriage returns with the appropriate br and p tags for breaks.

public static string DisplayMemo( string HtmlText );

DisplayMemoEncoded

Method that handles handles display of text by breaking text. Unlike the non-encoded version it encodes any embedded HTML text

public static string DisplayMemoEncoded( string Text );

GetAppStartPath

Returns the physical location of a given assembly.

public static string GetAppStartPath( object loStartAssemblyObject );

GetProperty

Retrieve a dynamic 'non-typelib' property

public static object GetProperty( object loObject,
    string lcProperty );

GetPropertyEx

Returns a property value using a base object and sub members including . syntax. For example, you can access: this.oCustomer.oData.Company with (this,"oCustomer.oData.Company")

public static object GetPropertyEx( object loParent,
    string lcProperty );

GoUrl

Uses the Shell Extensions to launch a program based or URL moniker.

public static int GoUrl( string lcUrl );

OpenHelpBuilder

public static void OpenHelpBuilder( ref object loHelp,
    string lcHelpId );

SetForegroundWindow

public static int SetForegroundWindow( int hwnd );

SetProperty

Set Property dynamically

public static void SetProperty( object loObject,
    string lcProperty,
    Object[] loValue );

SetPropertyEx

Sets a property using . Syntax

public static object SetPropertyEx( object loParent,
    string lcProperty,
    Object[] loValue );

SetWorkingSet

Sets the Working Set (Memory Usage) of an application to the given size of bytes. Will try to 'squeeze' process memory to the specified size by releasing unused code, specifically code for the JIT compiler.

public static void SetWorkingSet( int lnMaxSize,
    int lnMinSize );

Requirements

Namespace: Westwind.WebMonitor.Components
Assembly: webmonitorcomponents.dll

© West Wind Technologies, 2018 • Updated: 12/28/06
Comment or report problem with topic