Paradox Community

Items in pnews.paradox-programming

Subject:Re: sendDlg
Date:Mon, 30 Nov 2020 13:22:09 -0500
From:"Steven Green" <greens@diamondsg.com>
Newsgroups:pnews.paradox-programming
and the mail works otherwise, of course

--

Steven Green
Myrtle Beach, South Carolina, USA

http://www.OasisTradingPost.com

Collectibles and Memorabilia
Vintage Lego Sets and Parts
- and Paradox support, too
"Kevin Zawicki"  wrote in message 
news:5fc40b88$1@pnews.thedbcommunity.com...



agree


can't seem to find what it is...

Outlook 2019 is the default mail client in control panel.

"Steven Green" <greens@diamondsg.com> wrote:
>something is different on that machine.. I have my network on all Win10
and
>the standard Outlook 365 client, and the central mail proc in my app just

>uses the regular "mail" functions.. the only time I get that "MAIN" thing
is
>when the outlook client isn't open before you open paradox.. I get it on
the
>mail.login() or mail.loginDlg()
>
>--
>
>Steven Green
>Myrtle Beach, South Carolina, USA
>
>http://www.OasisTradingPost.com
>
>Collectibles and Memorabilia
>Vintage Lego Sets and Parts
>- and Paradox support, too
>"Kevin Zawicki"  wrote in message
>news:5fc2f613$1@pnews.thedbcommunity.com...
>
>
>right.
>
>
>
>I just read some on this on Prestwood and google.
>
>(I think you posted there a while back!)
>
>
>But I do have Outlook open and get this error.
>
>Outlook is the default and 2019 is mapi compliant.
>
>
>I am looking at OLE or make my own, but this would be a quick fix.
>
>I wonder if I need to make outlook mapi compliant on the new machine.
>
>Works on win7 and other win10 machine.
>
>
>
>
>"Steven Green" <greens@diamondsg.com> wrote:
>>"MAIN" is the error you get when Outlook isn't already open
>>
>>--
>>
>>Steven Green
>>Myrtle Beach, South Carolina, USA
>>
>>http://www.OasisTradingPost.com
>>
>>Collectibles and Memorabilia
>>Vintage Lego Sets and Parts
>>- and Paradox support, too
>>"Kevin Zawicki"  wrote in message
>>news:5fc18626$1@pnews.thedbcommunity.com...
>>
>>
>>
>>
>>I have some legacy code looking for a quick fix.
>>
>>It uses sendDlg to build an email and open in Outlook.
>>(I long ago abandoned trying to get just email send to work, use other

>>tool,
>>so I open email in Outlook).
>>
>>
>>This system was moved to Win10,Outlook 2019.
>>
>>When the sendDlg is called, a paradox error appears, a dialog with one
word
>>"MAIN".
>>
>>When I close or debug error, paradox winks out.
>>
>>I have set default MAPI mail system provider to Outlook.
>>
>>
>>I am looking at OLE or alternatives for this now.
>>Anyone have a outlook OLE library or sample code?
>>
>>I already have tools to send and receive emails, but in this case we are
>>looking to open the email to review and send in Outlook.
>>
>>
>>
>>Anyone getting sendDlg  to work at all in Win10?
>>
>>
>>
>>script:
>>var
>>m mail
>>endvar
>>
>>m.sendDlg()
>>
>>-----
>>
>>Should at least open an outlook new mail.
>>
>>
>>
>>sendDlg ( ) Logical
>>
>>sendDlg sends a mail message with user interaction. The user will be shown
>>the message as it currently exists (using the user's default MAPI mail
>>system
>>provider). They can then modify it before sending it.
>>
> 


Copyright © 2004 thedbcommunity.com