For a long time, I've used the standard MAPILogonEx(0, "", "", 0, &session) call in OnStartupComplete to get at the MAPISession object to use elsewhere. In...
Namespace.MAPIOBJECT will give you IMAPISession in Outlook 2002 and up. From: outlook-dev@yahoogroups.com [mailto:outlook-dev@yahoogroups.com] On Behalf Of...
Thanks. Right now we're using the OL2000 OM, but I'll see if I can work in use of that instead and see what happens. If nothing else, it's a better option for...
You can always branch your code based on the Outlook version - call MAPILogonEx in Outlook 2000 and use Namespace.MAPIOBJECT in Outlook 2002 and up based on...
Yeah. The main thing that worries me in this instance is the *cause* of the error this particular customer is seeing. I'd be worried about doing all the coding...
That particular error was MAPI_E_NOT_INITIALIZED. Are you calling MAPILogonEx this on a secondary thread? Did you link to the right version of msmapi32.dll? Or...
MAPI32.dll, and it's being called in the main thread right at the top of OnStartupComplete. I suspect this isn't a build problem, because we have this add-in...
You might be loading the wrong version of the mapi dll. Do you statically link to the dll or load it using LoadLibrary? Since your code is running in the...
Static link to mapi32.dll. So in this situation, for whatever reason this particular customer's Outlook install is loading a difference version than what we...
I kept on troubleshooting this problem. Set Myitem=AllItems.find("[Name]= '" & VEmployees & "'") does not work & returns an invalid item in 2007 but not in...
Nader Abdallah
nader.abdallah@...
Apr 11, 2008 8:51 am
27630
We have developed an Appointment Form - where we have build inn some extra fields and some extras. The way we use it, is as a normal appointment - where we add...
Hi, We have an application developed in VISUAL BASIC 6.0, MAPI and CDO 1.21. This application creates appointments in OUTLOOK. Till date, there has not been...
By "is not logging", do you mean you get an error? What is it? If you need to avoid login prompts, your code must be running under the Windows user identity of...
We currently use a group calendar in Sharepoint which can be viewed in conjunction with each users' own outlook calendar. We currently connect to the...
I am new to this group. Thank you for having it. I have no control over what we use here where I work. We are still in the Office 2003 suite and have no...
I have been using automation to create and send emails from Access. And have used CDO to get email addresses from the global address list and create a nightly...
Outlook 2007 has many new objects, methods, events, etc. Other than that, pretty much anything that applies to Outlook 2007 would also apply to Outlook 2003....
Not a silly question at all, but the answer isn't simple. Unless you can publish a custom form to the Organizational Forms library on your company's Exchange...
You could write an addin to do this fairly easily, using Addin Express outlook forms, I do something similar here. I send the data as the body text of the...
An add-in would be a good choice, but only if you can get it installed on all machines. Given the other message about having no choice about what software to...
Thank you for your help so far. I have full control over what is done with sql server 2005 and Access 2003. The Outlook/Exchange stuff belongs to another...
Carolyn, do you have SharePoint deployed in your organization? It's the logical choice for many workflow solutions these days, along with InfoPath. -- Eric...
Hi, I am getting the MAPI error code 80040201, when the default folder is retrieved, for verifying whether the Session Logon was successful. But the first...
Yupe, Outlook is runnig Ok for the user and the version is OUTLOOK 2007. My doubt is, if this has got something to do with the environment, error should be...
CDO 1.21 (as well as MAPI itself) delays the logon until data is needed. Did you try to run the code while the user is logged in to Windows as the mailbox...