How to set and change message flag

J

Johan Christensson

Hi

I'm writing a COM Add-in for Outlook in VB.et, but I have ran into some problems

How do I set a message flag on a mail message in VB.Net? In VBA and VB 6 you can write the following, but I can't seem to find the corresponding for VB.Net

Set objApp = CreateObject("Outlook.Application"
Set objItem = objApp.ActiveExplorer.Selection(1

objItem.FlagStatus = olMarke
objItem.FlagRequest = "Read

Any help is appriciated

Best regards, Johan Christensson
 

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