R
Randy Byrne [MVP - Outlook]
Do you have a Try...Catch...End Try block in your OnConnection event? See
the sample OnConnection code in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp
You can also debug your Add-in by following these steps:
1. Select Properties on the Project menu.
2. Click Configuration Properties, then Debugging
3. Select Start external program option for Start Action, and point to
outlook.exe (usually under c:\program files\microsoft
office\office<majorversionnumber>\outlook.exe
4. Set breakpoints in OnConnection and elsewhere as required.
5. Press F5 to start the program.
--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout
the sample OnConnection code in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp
You can also debug your Add-in by following these steps:
1. Select Properties on the Project menu.
2. Click Configuration Properties, then Debugging
3. Select Start external program option for Start Action, and point to
outlook.exe (usually under c:\program files\microsoft
office\office<majorversionnumber>\outlook.exe
4. Set breakpoints in OnConnection and elsewhere as required.
5. Press F5 to start the program.
--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout