Bug & Problems Form Region

A

AntiFascistAlways

I have Form Region an Outlook 2007

i have several saved files .MSG emails in my PC folders under the Outlook
2007(Windows XP)

Error: ____________________________
1. open Outlook 2007

2. open file.msg -

3. close file.msg

4. open file.msg -------------------- error cant open file, file in use


if not open or close outlook2007 -----all OK! I can open, close and open
file.msg
if outlook2007 without Form Region------ all OK! I can open, close and open
file.msg

Its problem FormRegion or cash all Forms in Outlook ??????????
 
K

Ken Slovak

Is the form region showing when you open the msg files? If so take a look
and see if any references to the msg item and it's related Outlook object is
still being held. Make sure you release all references when the object is
closed.

You may have to call Marshal.ReleaseComObject() on your references and check
the return reference count to make sure you released all references to the
object. Then you'd call GC.Collect() and GC.WaitForPendingFinalizers().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top