While coding a Mail gateway, I encountered a strange run-time error.
When I compile the program and run it from within VB, it works just fine. But as soon as I compile it to an .exe file, trouble starts.
The problem occurs when the gateway is about to check mail.
The error occurs between tcpRemotePop3.Remoteport and tcpRemotepop3.connect..
But is not related to either of these. Not as far as I can see, anyways..
The error itself, is an "Automation Error".. the strange thing is that it gets an error code value of -2070007328 or similar....
I would appreciate if anyone could help..
Thanks, Skie