Pro VB.NET 2002/2003For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I have a custom Contact form in Outlook 2003 that I am controlling with an Add-in. When I open the form, the MessageClass attribute is "IPM.Contact.My Form Name". And If I save it without my Add-in installed the MessageClass stays as "IPM.Contact.My Form Name". The problem is when I use my Add-in to programatically save the Contact using myContact.Save() it changes the MessageClass to the standard Outlook Contact "IPM.Contact". I can see it happen if I MsgBox out the myContact.MessageClass the line before and after the myContact.Save... it changes right then. Does anyone have any idea why it does this and if there is anyway I can prevent it?