Paradox Community

Items in pnews.paradox-programming

Subject:Re: sendDlg - After further review
Date:Fri, 4 Dec 2020 11:41:20 -0500
From:"Steven Green" <greens@diamondsg.com>
Newsgroups:pnews.paradox-programming
agree with your diagnosis.. somebody did post the same logic here, in ole 
calls.. my app uses that to seed the outlook calendar, but again it's the 
32bit outlook


--

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:5fc99290$1@pnews.thedbcommunity.com...


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.
>>>>
>>>
>>
> 


Copyright © 2004 thedbcommunity.com