Property, Group Properties Example
Dim spmMgr As SharedPropertyGroupManager Dim spmGroup As SharedPropertyGroup Dim spmPropNextNumber As SharedProperty Dim iNextValue As Integer ' Get the SharedPropertyGroupManager, ' SharedPropertyGroup, and SharedProperty. Set spmMgr = CreateObject _ ("MTxSpm.SharedPropertyGroupManager.1") Set spmGroup = spmMgr.Group("Counter") Set spmPropNextNumber = spmGroup.Property("Next") ' Get the next number and increment it. iNextValue = spmPropNextNumber.Value spmPropNextNumber.Value = _ spmPropNextNumber.Value + 1