"Cannot load GUI library into memory"

  • Thread starter Thread starter GeorgeAtPrime
  • Start date Start date
G

GeorgeAtPrime

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.
 
Are there any Outlook addins being run? That is not a normal Outlook startup
error message, some other code is firing that.
 
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
 
Always mention the Outlook version you're working in and what language
you're using when you post. That way people can answer appropriately.

In this case also post your macro code so people can see if there's anything
wrong with it.
 
Back
Top