Cancel Login and try to Login next time causes Error
I´ve got a strange fault here.
If I cancel the first login and try to login a second time I get an Error "-2147352567" with no message. The Sub is called from a Word COM AddIn. If I try to login the first time, everything works fine. The function don´t raise the login dialog if I call the Sub again when the first login was successful.
Why that happens? All my varaibles are private and local too.
private sub login()
Dim objApplication As New Object
Dim objAccount As Object
objApplication = CreateObject("NovellGroupWareSession")
objAccount = objApplication.Login()
if objAccount isnot Nothing then
' some Code here
Obj Account= Nothong