Paradox Community

Items in pnews.paradox-programming

Subject:Re: sendDlg - After further review
Date:Tue, 8 Dec 2020 11:25:33 +1000
From:Leslie <"ViaThe List"@NOSPAM.com>
Newsgroups:pnews.paradox-programming
Hi Kevin,

To use 64bit Outlook from any 32bit application, mapi is no longer an 
option and instead you should be using COM.

This avoids a whole bunch of issues, some being as trivial as the user's 
compose email stationery not working.

It is a shame that Microsoft did not update mapi_stub for backwards 
compatibility as they have broken so many applications.

In fact, to me it seems that they no longer do any actual testing 
anymore and are a shadow of their former selves in terms of quality. 
Even a simple thing since 1990 - assigning the default file extension 
associations is now broken.

Leslie.

On 4/12/2020 10:36 AM, Kevin Zawicki wrote:
> After further review, I have Paradox 10 on both machines.
> On the Win7 machine I have Office 2010.
> On the Win10 machine I have Office 2019.
>
> BUT the main difference is the Office 2019 is 64bit.
>
> Since Paradox 10 is 32bit it cannot see “64bit applications” in this context.
>
> I have a text command line-based emailer built it to blind send. I will have
> to build my own “GUI” screen so the user can see the email and use that to
> send.
>
> The requirement here was the user needs to “OK” the email and it was easy
> to open in Outlook.
>
> Anyone using Outlook via OLE?
>
>
>
>
>
> "Steven Green" <greens@diamondsg.com> wrote:
>> mail.login(), no error
>> mail.loginDlg(), no error
>>
>> you've done the addresses, the message, the subject, etc? no errors?
>>
>> mail.send(), "MAIN"
>> mail.sendDlg(), "MAIN"
>>
>>
>> --
>>
>> 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:5fc5aec1$1@pnews.thedbcommunity.com...
>>
>>
>> yes
>>
>>
>> outlook works
>>
>>
>> smtp works
>>
>> "Steven Green" <greens@diamondsg.com> wrote:
>>> 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.
>>>>>
>>>>
>>>
>>
>

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Copyright © 2004 thedbcommunity.com