![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
My addins (VB6, 2003 office) crash, when I search in unavailable mailbox.
What may I know, that the mailbox is unavailable for me? |
Ads |
#2
|
|||
|
|||
![]()
Show the code you're using and state your Outlook version. There isn't
enough information to go on from what you provided. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Andrey_R" wrote in message ... My addins (VB6, 2003 office) crash, when I search in unavailable mailbox. What may I know, that the mailbox is unavailable for me? |
#3
|
|||
|
|||
![]()
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. |
#4
|
|||
|
|||
![]()
Where does the crash occur? Are you testing for (objFolder Is Nothing)
before you try to use the folder? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Andrey_R" wrote in message ... 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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
outlook Exchange unavailable | abo_jna | Outlook - General Queries | 1 | May 14th 07 01:47 PM |
form becomes unavailable | jon z | Outlook - Using Forms | 0 | January 19th 07 09:20 PM |
Server Unavailable Error getting to PST | mackdaddy315 | Outlook - General Queries | 1 | August 2nd 06 03:31 PM |
Exchange Mailbox server prohibit from sending when reach mailbox size limit | Milly Staples [MVP - Outlook] | Outlook - General Queries | 1 | February 24th 06 06:41 PM |
Add others button unavailable | Cindy | Outlook - Calandaring | 7 | January 25th 06 05:24 PM |