I have a visual basic 6 nt service that logs on to some email accounts and looks its busyfree state. This process is in a 5 minutes timer.It's using CDO.dll (v 1.21). It works fine but then after some times it raises the error [Collaboration Data Objects - [MAPI_E_INVALID_OBJECT(80040108)]]. I'd be very grateful if anyone could help me.
"Jose Enrique" wrote in news:u3oNzzlVHHA.2212@TK2MSFTNGP02.phx.gbl: > I have a visual basic 6 nt service that logs on to some email accounts > and looks its busyfree state. This process is in a 5 minutes > timer.It's using CDO.dll (v 1.21). It works fine but then after some > times it raises the error [Collaboration Data Objects - > [MAPI_E_INVALID_OBJECT(80040108)]]. I'd be very grateful if anyone > could help me. What line of code gives that error? Are you logging in and out every time your code runs, and if so, does it fix things if you log in once and stay logged in all the time? -- dan
Thanks for your answer. I login and logout each time but after some minutes when the program try to login it appears this error. "Dan Mitchell" escribi en el mensaje news:Xns98E38B702E967djmitchellayahoocom@207.46.248.16... > "Jose Enrique" wrote in > news:u3oNzzlVHHA.2212@TK2MSFTNGP02.phx.gbl: > > I have a visual basic 6 nt service that logs on to some email accounts > > and looks its busyfree state. This process is in a 5 minutes > > timer.It's using CDO.dll (v 1.21). It works fine but then after some > > times it raises the error [Collaboration Data Objects - > > [MAPI_E_INVALID_OBJECT(80040108)]]. I'd be very grateful if anyone > > could help me. > > What line of code gives that error? Are you logging in and out every time > your code runs, and if so, does it fix things if you log in once and stay > logged in all the time? > > -- dan
"Jose Enrique" wrote in news:eWTFru0WHHA.1036@TK2MSFTNGP03.phx.gbl: > Thanks for your answer. I login and logout each time but after some > minutes when the program try to login it appears this error. So, as I said, does it fix things if you change your code to log in once at the start and stay logged in? -- dan