General information
Category:
COM/DCOM and OLE Automation
Large thank for contributing, Larry Miller.
All has earned.
It was necessary to call a method THISFORM.Olecontrol1.Object.Listen(), instead of THISFORM.Olecontrol1.Listen().
As a method ThisForm.Olecontrol.Object.Connect(), instead of ThisForm.Olecontrol.Connect().
And method ThisForm.Olecontrol2.Object.Close(), instead of ThisForm.Olecontrol2.Close().
I.e. to address through .Object !
It is my error.
Also it is necessary to create two objects THISFORM.Olecontrol for the appendix the SERVER:
Maiden that THISFORM.Olecontrol1.Listen;
Second that THISFORM.Olecontrol2.GetData.
P.S.
"And the box of treasures simplly opened"
National wisdom.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only