Programming with Reflection

image\rwnprg32.gif ConnectMacro property



object.ConnectMacro = Value

Data type




Returns (first syntax line) or specifies (second syntax line) the name of a macro that is run automatically after a connection is established. You can use the ConnectMacroData property to specify information to be passed to this macro.


The default value is "".

This string can be up to 260 characters long.


Connect macros run after Reflection has successfully made a connection to the host. They should not include session setup information.

You can also use the Event Setup dialog box or Reflection's event commands to run a macro after a connection is made. Using events is a more powerful, flexible strategy.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property