Method '~' of Object '~' (General questions)
Hi
I am evaluating the product, and getting a runtime error that shows randomly (can take many hours till it shows)..
This error is: ==> Method '~' of Object '~' Failed.
Can you please advise?
Re: Method '~' of Object '~'
Hi,
Is there any chance we can duplicate this problem on our side?
Are you able to duplicate it maybe using our samples?
Let us know how it goes.
Regards,
Drazen
Re: Method '~' of Object '~
Hi
I have checked the logs of my application, and have found out that this happens when the component disconnects from the XMPP server (gtalk in my case). This fires an event which i take and re-connect. Thats when it happens.
Event wodXMPP1_Disconnected: i call a function called GoOnline which is below:
Public Sub GoOnline()
Logger Logging into GoogleTalk as : & GoogleTalkID
'On Error Resume Next
wodXMPP1.Authentication = AuthAutomatic
wodXMPP1.AutoVisible = True
wodXMPP1.Blocking = True
wodXMPP1.Login = GoogleTalkID
wodXMPP1.Password = GoogleTalkPassword
wodXMPP1.Connect
wodXMPP1.SetStatus Online, Type: 'Q SYMBOL' to get live prices
End Sub
Hi,
Is there any chance we can duplicate this problem on our side?Are you able to duplicate it maybe using our samples?
Let us know how it goes.
Regards,
Drazen
Re: Method '~' of Ob
Hi,
I manage to duplicate this problem only when I'm still connected with server and try to connect again.
Can you please verify first that State Property return value 0 (Disconnected) and then try to connect again?
Drazen
Re: Method '~
I will try to avoid this situation. But the disconnect event was fired which prompted me to reconnect automatically. I added a further manual disconnect command in my function then proceed in reconnecting. Will let u know
Hi,
I manage to duplicate this problem only when I'm still connected with server and try to connect again.Can you please verify first that State Property return value 0 (Disconnected) and then try to connect again?
Drazen
Re: Method
Hi,
OK let us know if you still receive some issue.
Drazen