Hi,
This is what I have so far:
Object Call DISPATCH_FORM1_OCXCONTROL1.SignOn(txtSmtpIp, txtUserName, txtPassword)
What I need is something is to retrieve the val that is return by this call - but I don't know the syntax - that should be included...
It returns 0 if successful or an number - which would relate to the error code number.
Thanks in advance
Mike
DIM vRes AS VARIANT
DIM lRes AS LONG
Object Call DISPATCH_FORM1_OCXCONTROL1.SignOn(txtSmtpIp, txtUserName, txtPassword) TO vRes
lRes = VARIANT#(vRes)
Jose,
Thanks Again! That works like a charm!
Regards
Mike