View Single Post
  #1  
Old February 22nd 10, 09:41 PM posted to microsoft.public.outlook.program_vba
GeorgeAtPrime
external usenet poster
 
Posts: 2
Default "Cannot load GUI library into memory"

Hi Ken, Thanks for responding.

No, I don't have any add-ins running, but I have included some vba in the
ThisOutlookSession Application_Startup event.

In addition to the automated email sending I mentioned, I am trying to get
outlook to start some processing when certain data file attachments are
received. Consequently, I have included some additional code in my
Application_Startup() event.

Truth be told, I am an Outlook neophyte (i know just enough to be dangerous)
and am probably improperly calling outdated (perhaps Outlook 2003) or
unreferenced outlook objects. I usually do all my vba in excel. I think
it's time to bite the bullet and start studying Outlook vba!

George


"Ken Slovak - [MVP - Outlook]" wrote:

Are there any Outlook addins being run? That is not a normal Outlook startup
error message, some other code is firing that.

--
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


"GeorgeAtPrime" wrote in message
...
Does anyone know how I could eliminate the "Cannot load GUI library into
Memory" warning upon creating a new istance of outlook?

I am trying to automate some "overnight" emails from excel/access vba that
requires outlook to be open. If not open, my excel vba opens a new
instance
of outlook. Unfortunately, upon doing so, i receive an Outlook 2007
warning
pop-up stating "Cannot load GUI library into memory", effectively halting
the
procedure until the user clicks "ok".

Any ideas as to how to either: 1) successfully direct Outlook 2007 to load
the "GUI library", or 2: disable such pop-up warnings when Outlook is
loading?

I'm ok with excel vba, but not too familiar with outlook. Sorry if this
is
a dumb question.


.

Ads