This code is located in a form where the sales person is sending an email of either instructions, drawings etc. They hit 'send' then I free the RBL and close the form. Outlook is already up and running since it is in the startup for each user.
The biggest problem seems to be when they say yes to an email but realize they do not need to send it so they 'X' out of the program. Jim -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley Sent: Tuesday, June 01, 2010 9:37 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: outlook and rbase You can't free the RBL until everything the RBL is doing with Outlook is completed. You are likely leaving Outlook in an unstable state. Just a guess as I can't test, but is this happening when users are sending more than a single email? ----- Original Message ----- From: "Jim Belisle" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Tuesday, June 01, 2010 10:19 AM Subject: [RBASE-L] - outlook and rbase I sent out a question about how RBASE interacts with OUTLOOK a few weeks ago. I got this response from Mike. set var vResult integer = null set var vResult = (DLFree('NameOfTheRBaseMailer.RBL')) Run this when you are done with the mailer and then try to open Outlook... OUTLOOK is set to be open upon startup of all our computers. I added this code to the places where I use the email function: SET VAR vEmresult INTEGER = NULL -- rest of my code to run email PLUGINS mapimail3.rbl &vparameters SET VAR vEmresult = (DLFree('mapimail3.rbl')) Unfortunately OUTLOOK continues to LOCK UP. I then have to restart Outlook before being able to use it again. Any suggestions as to what I need to add or change? Jim

