At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.
Dim objOL As Application Dim objNS As Outlook.NameSpace Dim myItems As Items Dim x As Int16 objOL = New Application() objNS = objOL.GetNamespace("MAPI") Dim olfolder As MAPIFolder olfolder = objOL.GetNamespace("MAPI").GetDefaultFolder(OlDefaultFolders.olFolderInbox) myItems = olfolder.Items For x = myItems.Count To 1 Step -1 If myItems.Item(x).To.ToString.Contains("Username") Then MsgBox(myItems.Item(x).SenderName) MsgBox(myItems.Item(x).Subject) End If Next x
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.