(Msg. 2) Posted: Mon Sep 01, 2008 9:47 am
Post subject: Re: Unavailable mailbox [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Show the code you're using and state your Outlook version. There isn't
enough information to go on from what you provided.
"Andrey_R" <AndreyR DeleteThis @discussions.microsoft.com> wrote in message
news:FDBE48D4-1937-4866-892A-AC9DCDE6A0CA@microsoft.com...
> My addins (VB6, 2003 office) crash, when I search in unavailable mailbox.
> What may I know, that the mailbox is unavailable for me?
(Msg. 3) Posted: Tue Sep 02, 2008 4:21 am
Post subject: Re: Unavailable mailbox [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Version - Microsoft Office Outlook SP3
Code:
For i = 1 To anApplication.Session.Folders.count
Set objDummy = anApplication.CreateItem(olMailItem)
Set objRecip = objDummy.Recipients.Add(strName)
objRecip.Resolve
If objRecip.Resolve = True Then
On Error Resume Next
Set objFolder = objNS.GetSharedDefaultFolder(objRecip,
olFolderInbox)
On Error GoTo 0
End If
Next
When I am trying to get unavailable address mailbox for me, this plugin
crash.
(Msg. 4) Posted: Tue Sep 02, 2008 8:56 am
Post subject: Re: Unavailable mailbox [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Where does the crash occur? Are you testing for (objFolder Is Nothing)
before you try to use the folder?
"Andrey_R" <AndreyR DeleteThis @discussions.microsoft.com> wrote in message
news:35CA9C4D-89F3-400A-AB7E-BAA8E54E1C84@microsoft.com...
> Version - Microsoft Office Outlook SP3
> Code:
> For i = 1 To anApplication.Session.Folders.count
> Set objDummy = anApplication.CreateItem(olMailItem)
> Set objRecip = objDummy.Recipients.Add(strName)
> objRecip.Resolve
> If objRecip.Resolve = True Then
> On Error Resume Next
> Set objFolder = objNS.GetSharedDefaultFolder(objRecip,
> olFolderInbox)
> On Error GoTo 0
> End If
> Next
> When I am trying to get unavailable address mailbox for me, this plugin
> crash.
>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum