by COMPUTECHMD on Thu Jun 23 2011
Not sure if this is a bug, but when using SendMail (ActiveX) in my application (in this case, VFP 9), I found it killed operation of my application after sending an email. Tracked this down to being caused by SendMail changing the default directory location. Simple work-around was to save current/default directory, call SendMail, restore current/default directory. This was a pain to track down, symptoms of files suddenly missing when they really weren't, etc. I don't think this is specific to VFP, so posted here - hope it helps.