PC Review


Reply
Thread Tools Rate Thread

COM AddIn Causes Error When OL Closes

 
 
Fred Block
Guest
Posts: n/a
 
      5th Jul 2005
Hi All,

I have a COM AddIn (ActiveX DLL) and a Property Page (OCX) I've created in
separate VB projects. I've compiled thema dn Outlook openas and loads them.
However, when I close Outlook, I get an error (similar to a GPF). Any ideas?

Thanks in advance!
- Fred


 
Reply With Quote
 
 
 
 
Fred Block
Guest
Posts: n/a
 
      5th Jul 2005
One more thing...

Outlook ONLY displays the error if the Property Page (actually the Options
dialog itself) is opened while Outlook is opened. Otherwise Outlook closes
without the error appearing.

Thanks again! - Fred


 
Reply With Quote
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      5th Jul 2005
Without extensive samples of your code, this is difficult to point. However,
many problems with COM Add-Ins are due to improperly releasing object
variables. The best I can do is point you to these resources for "best
practices" with COM Add-In development:

Developing COM Add-ins for Microsoft Outlook:
http://www.outlookcode.com/d/comaddins.htm

Outlook COM Add-in Template:
http://www.microeye.com/resources/template.htm

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Try Picture Attachments Wizard for Outlook! http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"Fred Block" wrote:

> Hi All,
>
> I have a COM AddIn (ActiveX DLL) and a Property Page (OCX) I've created in
> separate VB projects. I've compiled thema dn Outlook openas and loads them.
> However, when I close Outlook, I get an error (similar to a GPF). Any ideas?
>
> Thanks in advance!
> - Fred
>
>
>

 
Reply With Quote
 
Fred Block
Guest
Posts: n/a
 
      6th Jul 2005
Hi Eric,

> Without extensive samples of your code, this is difficult to point.
> However,
> many problems with COM Add-Ins are due to improperly releasing object
> variables. The best I can do is point you to these resources for "best
> practices" with COM Add-In development:


Well that's the best then... at least I have a place to look for possible
causes. Thanks much for your reply Eric!

Kind regards - Fred


 
Reply With Quote
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      6th Jul 2005
I still don't have a bona fide, magical answer for you, but here's the
reference material for adding property pages (in case you haven't seen this):

Adding custom property pages -- Office Outlook 2003 VBA Language Reference
(Microsoft Office Outlook 2003 Visual Basic Reference):
http://msdn.microsoft.com/library/en...asp?frame=true

Secure Deployment of Managed COM Add-Ins in Office XP
http://msdn.microsoft.com/library/de...odc_ofshim.asp

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Try Picture Attachments Wizard for Outlook! http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"Fred Block" wrote:

> One more thing...
>
> Outlook ONLY displays the error if the Property Page (actually the Options
> dialog itself) is opened while Outlook is opened. Otherwise Outlook closes
> without the error appearing.
>
> Thanks again! - Fred
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Excel addin versions having LaodBehaviour issue at Addin Dwipayan Das Microsoft Excel Programming 0 17th Apr 2009 05:51 AM
setup project for Excel addin, won't register addin =?Utf-8?B?R2Vycnk=?= Microsoft Excel Programming 0 31st Oct 2007 12:01 AM
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai =?Utf-8?B?QnJhbmRvbg==?= Microsoft Excel Programming 0 27th Jun 2006 11:18 PM
howtofix excel 2000 says invalid AddIn for valid excel97 AddIn robm Microsoft Excel Discussion 0 24th Sep 2003 06:06 PM
Error Found ,THEN I have to send Error Report [page closes] Wh!tney Windows XP Internet Explorer 1 9th Sep 2003 09:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:19 PM.