|
|
|
date: Thu, 20 Mar 2008 11:16:26 -0700,
group: microsoft.public.platformsdk.mapi
back
Error trying ShowForm using MAPI on an Exchange Server...
Here is the short version.
Using MAPI to address and attach documents in my Delphi Application.
On a NORMAL CLIENT with Outlook 2000 (or 2003) installed, it works great.
ShowForm() shows the normal Outlook form. (Form Manager Version works
too).
But if I run this client code on the Exchange Server itself. NO GO.
The server HAS OUTLOOK 2000 available, and working.
But creating the form WILL NOT WORK.
If I create the message, put it in the outbox, it will be there.
The line of code that calls ShowForm() throws an error.
Any help?
I am using 3rd Party components, RAPWare, but the result
is VERY CONSISTENT. In fact, I tried on a different clients exchange
server.
I get an error number back that I cannot find anywhere:
-2147418113
Very consistent. In this case, Exchange 2003, but was an issue on Exchange
2000
Server is Windows 2000.
Any help?
It is AS IF Exchange being installed somehow changes the meaning of how to
open the form. I even tried using the FormManager for a non-modal form, but
no good.
If you have a demo tool that opens a mail form, I would be glad to try it.
This is killing me.
Thanks,
Kirk Out
date: Thu, 20 Mar 2008 11:16:26 -0700
author: CaptainKirk
Re: Error trying ShowForm using MAPI on an Exchange Server...
You cannot have both Outlook and Exchange installed on the same machine.
And besides, which version of MAPI does your app end up using?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"CaptainKirk" wrote in message
news:8347A3C9-E76E-41DF-A970-4716B6BF8421@microsoft.com...
> Here is the short version.
> Using MAPI to address and attach documents in my Delphi Application.
> On a NORMAL CLIENT with Outlook 2000 (or 2003) installed, it works great.
> ShowForm() shows the normal Outlook form. (Form Manager Version works
> too).
>
> But if I run this client code on the Exchange Server itself. NO GO.
>
> The server HAS OUTLOOK 2000 available, and working.
>
> But creating the form WILL NOT WORK.
>
> If I create the message, put it in the outbox, it will be there.
> The line of code that calls ShowForm() throws an error.
>
> Any help?
>
> I am using 3rd Party components, RAPWare, but the result
> is VERY CONSISTENT. In fact, I tried on a different clients exchange
> server.
>
> I get an error number back that I cannot find anywhere:
> -2147418113
>
> Very consistent. In this case, Exchange 2003, but was an issue on
> Exchange
> 2000
> Server is Windows 2000.
>
> Any help?
>
> It is AS IF Exchange being installed somehow changes the meaning of how to
> open the form. I even tried using the FormManager for a non-modal form,
> but
> no good.
>
> If you have a demo tool that opens a mail form, I would be glad to try it.
> This is killing me.
>
> Thanks,
>
> Kirk Out
date: Thu, 20 Mar 2008 13:32:11 -0700
author: Dmitry Streblechenko
Re: Error trying ShowForm using MAPI on an Exchange Server...
Dmitry,
I did not know this. But I do have Outlook installed and working on the
server... And it shows its form just fine.
Given the response I get, I am going to ASSUME that my code is actually
calling the Exchange MAPI, which apparently does not have ShowForm().
Is there a way to ShowForm() in ExchangeMapi()? If so, I could trap this
error,
and issue the other call.
Would your RDO objects work around this?
Is there a way to FORCE the MAPI to be the SAME one as OUTLOOK is using?
Or again, is Outlook maybe not making the same call? Would your OutLook SPY,
if installed on the Outlook thats on the server, shine any light as to how
IT IS
able to open the form?
I have the feeling you are about to tell me not to swim with these sharks...
Thanks in advance and thanks for this answer.
Kirk Out!
"Dmitry Streblechenko" wrote:
> You cannot have both Outlook and Exchange installed on the same machine.
> And besides, which version of MAPI does your app end up using?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "CaptainKirk" wrote in message
> news:8347A3C9-E76E-41DF-A970-4716B6BF8421@microsoft.com...
> > Here is the short version.
> > Using MAPI to address and attach documents in my Delphi Application.
> > On a NORMAL CLIENT with Outlook 2000 (or 2003) installed, it works great.
> > ShowForm() shows the normal Outlook form. (Form Manager Version works
> > too).
> >
> > But if I run this client code on the Exchange Server itself. NO GO.
> >
> > The server HAS OUTLOOK 2000 available, and working.
> >
> > But creating the form WILL NOT WORK.
> >
> > If I create the message, put it in the outbox, it will be there.
> > The line of code that calls ShowForm() throws an error.
> >
> > Any help?
> >
> > I am using 3rd Party components, RAPWare, but the result
> > is VERY CONSISTENT. In fact, I tried on a different clients exchange
> > server.
> >
> > I get an error number back that I cannot find anywhere:
> > -2147418113
> >
> > Very consistent. In this case, Exchange 2003, but was an issue on
> > Exchange
> > 2000
> > Server is Windows 2000.
> >
> > Any help?
> >
> > It is AS IF Exchange being installed somehow changes the meaning of how to
> > open the form. I even tried using the FormManager for a non-modal form,
> > but
> > no good.
> >
> > If you have a demo tool that opens a mail form, I would be glad to try it.
> > This is killing me.
> >
> > Thanks,
> >
> > Kirk Out
>
>
>
date: Thu, 20 Mar 2008 14:21:05 -0700
author: CaptainKirk
Re: Error trying ShowForm using MAPI on an Exchange Server...
How do you load the relevant mapi dlls and call the MAPI functions?
MAPI forms, in case of Outlook, are implemented by outlook.exe, which cannot
possibly be present when you have only the Sergver version of MAPI.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"CaptainKirk" wrote in message
news:AD511EEF-FC5A-4A7F-8AB2-77C091EFBA63@microsoft.com...
> Dmitry,
> I did not know this. But I do have Outlook installed and working on the
> server... And it shows its form just fine.
>
> Given the response I get, I am going to ASSUME that my code is actually
> calling the Exchange MAPI, which apparently does not have ShowForm().
>
> Is there a way to ShowForm() in ExchangeMapi()? If so, I could trap this
> error,
> and issue the other call.
>
> Would your RDO objects work around this?
>
> Is there a way to FORCE the MAPI to be the SAME one as OUTLOOK is using?
> Or again, is Outlook maybe not making the same call? Would your OutLook
> SPY,
> if installed on the Outlook thats on the server, shine any light as to how
> IT IS
> able to open the form?
>
> I have the feeling you are about to tell me not to swim with these
> sharks...
>
> Thanks in advance and thanks for this answer.
>
> Kirk Out!
>
>
>
> "Dmitry Streblechenko" wrote:
>
>> You cannot have both Outlook and Exchange installed on the same machine.
>> And besides, which version of MAPI does your app end up using?
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "CaptainKirk" wrote in message
>> news:8347A3C9-E76E-41DF-A970-4716B6BF8421@microsoft.com...
>> > Here is the short version.
>> > Using MAPI to address and attach documents in my Delphi Application.
>> > On a NORMAL CLIENT with Outlook 2000 (or 2003) installed, it works
>> > great.
>> > ShowForm() shows the normal Outlook form. (Form Manager Version works
>> > too).
>> >
>> > But if I run this client code on the Exchange Server itself. NO GO.
>> >
>> > The server HAS OUTLOOK 2000 available, and working.
>> >
>> > But creating the form WILL NOT WORK.
>> >
>> > If I create the message, put it in the outbox, it will be there.
>> > The line of code that calls ShowForm() throws an error.
>> >
>> > Any help?
>> >
>> > I am using 3rd Party components, RAPWare, but the result
>> > is VERY CONSISTENT. In fact, I tried on a different clients exchange
>> > server.
>> >
>> > I get an error number back that I cannot find anywhere:
>> > -2147418113
>> >
>> > Very consistent. In this case, Exchange 2003, but was an issue on
>> > Exchange
>> > 2000
>> > Server is Windows 2000.
>> >
>> > Any help?
>> >
>> > It is AS IF Exchange being installed somehow changes the meaning of how
>> > to
>> > open the form. I even tried using the FormManager for a non-modal
>> > form,
>> > but
>> > no good.
>> >
>> > If you have a demo tool that opens a mail form, I would be glad to try
>> > it.
>> > This is killing me.
>> >
>> > Thanks,
>> >
>> > Kirk Out
>>
>>
>>
date: Mon, 24 Mar 2008 11:19:07 -0700
author: Dmitry Streblechenko
|
|