pythoncom.gif
blank.gif blank.gif blank.gif Home Page

Module win32com.client.dynamic - Support for dynamic COM client support.


SYNOPSIS

# Parent Module
win32com.client
# Classes
CDispatch

# Functions
def Dispatch(IDispatch, userName = "unknown", createClass = None, typeInfo = None)
def DumbDispatch(IDispatch, userName = "unknown", createClass = None)  # Dispatch without attempt at using type information
def debug_attr_print(*args)
def debug_print(*args)

# Variables
int ENDMARKER = 0
int ENDMARKER = 0
int ENDMARKER = 0
dictionary mapKnownObjects = {}

DESCRIPTION

Introduction Dynamic COM client support is the ability to use a COM server without prior knowledge of the server. This can be used to talk to almost all COM servers, including much of MS Office.

Example >>> import win32com.client.dynamic >>> xl = win32com.client.dynamic.Dispatch("Excel.Application") # xl is now an object we can use to talk to Excel. >>> xl.Visible = 1 # The Excel window becomes visible.


blank.gif blank.gif blank.gif Home Page
www_icon.gif

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997