Accessing callback objects

To access the callback object from an external application, you need to retrieve a reference to it from the running object table. Then you can access the properties and methods in the callback. For example, the following Visual Basic code retrieves the “RESM.LoginInfo” callback object created by a Dexterity-based application and accesses the properties in it.

Private Sub VerifyPassword_Click()
	Dim LoginInfo As Object
	Dim result As Boolean

	'Retrieve a reference to the callback
	Set LoginInfo = GetObject(, "RESM.LoginInfo")

	'Set the properties
	LoginInfo.UserID = "STEVEK"
	LoginInfo.Name = "Steve"
End Sub


Documentation Feedback