Information générale
Catégorie:
COM/DCOM et 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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement