Force Send/Receive From a VB.NET Application

D

decrypted

I'm trying to perform a send and receive operation from VB.NET using the
Microsoft Outlook 8 Object Library (for backwards compatibility) on Outlook
2002. I have read that there are issues with forcing a send and receive with
2002 and I personaly havn't found a way to do it....I am using the
Redemption library and that fails on 2002 as well. I did see one post in C#
where the individual forced an S/R by simulating a button click. He casted
the commandBars ref, but using the Office 8 Library, my
Outlook.Application.ActiveExplorer.CommandBars returns an IntPtr, not
exactly something I can use in this scenario.

Any thoughts are much appreciated.
-dec
 
D

decrypted

My findings suggest this can not be done with 8OOM....it will work with 9
and above however:

outlookApplication.ActiveExplorer.CommandBars.FindControl(1, 5488).Execute()
 

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