RE: something wrong with Ed's mailing system

2013-06-06 Thread Allen
Do you mean it has big brother built in? Lol
BTW outlook express has gone
Al

-Original Message-


Not saying Thunderbird doesn't have its share of problems, but at this point
Thunderbird is to Outlook Express as 1994 is to 1979.

Paul



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000901ce6280$07d68bc0$1783a340$@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Email from foxpro

2013-06-06 Thread Alan Bourke
If you don't want to automate Outlook, then Blat is a good option as
other folk have said. I would also consider creating a COM component in
.NET 4.5, which uses the strong functionality there for SMTP and/or
Exchange Web Services emailing, and then use that component from VFP.

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1370504977.28638.140661240546909.090be...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Email from foxpro

2013-06-06 Thread Ted Roche
On Wed, Jun 5, 2013 at 10:30 PM, José Olavo Cerávolo
jocerav...@yahoo.comwrote:


 I was trying to find information about emailing from foxpro.


http://www.tedroche.com/papers.php has a couple papers and sample code on
using SMTP to send email. You DO NOT want to depend on Microsoft-provided
services (Outlook, MAPI, CDO) to send mail, as each major revision breaks
previously working code.

Also, visit http://fox.wikis.com and search for email and you'll find
lots of good information.

-- 
Ted SMTP Good, MAPI Baad! Roche
Ted Roche  Associates, LLC
http://www.tedroche.com


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CACW6n4s5YUi0VRv=ycLPkuQqS8q32EruHqdM2Ay69KYQ6J8C=a...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Checkbox in a grid

2013-06-06 Thread Paul Newton
Hi all

I have a checkbox in a container in a grid column so that the checkbox appears 
centred in the column.  I have done this several times before but on this 
occasion clicking one checkbox changes every other checkbox in the grid (i.e. 
on every row).  It is probably something stupid but I can't seem to work out  
what I am doing wrong.

Any ideas would be much appreciated

Thanks

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9a8106afb0ef9b44b69045c4448935a2b11...@ukfawexmbx1.infor.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Checkbox in a grid

2013-06-06 Thread Jean Laeremans
Sparce = .T. in Collumn ?

A+
jml

On Thu, Jun 6, 2013 at 2:04 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Hi all

 I have a checkbox in a container in a grid column so that the checkbox 
 appears centred in the column.  I have done this several times before but on 
 this occasion clicking one checkbox changes every other checkbox in the grid 
 (i.e. on every row).  It is probably something stupid but I can't seem to 
 work out  what I am doing wrong.

 Any ideas would be much appreciated

 Thanks

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/capqlobxs0yj4n3xkf4ft9k76-hk7nqnc1d+_eo74a0javpt...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Checkbox in a grid

2013-06-06 Thread Paul Newton
Jean

No the setting of Sparse doesn't seem to be the culprit because I have tried 
both .T. and .F.

Paul

-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean 
Laeremans
Sent: 06 June 2013 13:09
To: profoxt...@leafe.com
Subject: Re: Checkbox in a grid

Sparce = .T. in Collumn ?

A+
jml

On Thu, Jun 6, 2013 at 2:04 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Hi all

 I have a checkbox in a container in a grid column so that the checkbox 
 appears centred in the column.  I have done this several times before but on 
 this occasion clicking one checkbox changes every other checkbox in the grid 
 (i.e. on every row).  It is probably something stupid but I can't seem to 
 work out  what I am doing wrong.

 Any ideas would be much appreciated

 Thanks

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9a8106afb0ef9b44b69045c4448935a2b11...@ukfawexmbx1.infor.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Checkbox in a grid

2013-06-06 Thread Jean Laeremans
ControlSource checkbox ?

A+
jml

On Thu, Jun 6, 2013 at 2:52 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Jean

 No the setting of Sparse doesn't seem to be the culprit because I have tried 
 both .T. and .F.

 Paul

 -Original Message-
 From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean 
 Laeremans
 Sent: 06 June 2013 13:09
 To: profoxt...@leafe.com
 Subject: Re: Checkbox in a grid

 Sparce = .T. in Collumn ?

 A+
 jml

 On Thu, Jun 6, 2013 at 2:04 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Hi all

 I have a checkbox in a container in a grid column so that the checkbox 
 appears centred in the column.  I have done this several times before but on 
 this occasion clicking one checkbox changes every other checkbox in the grid 
 (i.e. on every row).  It is probably something stupid but I can't seem to 
 work out  what I am doing wrong.

 Any ideas would be much appreciated

 Thanks

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAPqLOBxE4-pOJR=vgVdC7BgK93oXsBczM=b-_h85d8lzery...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Checkbox in a grid

2013-06-06 Thread Paul Newton
Jean

Have tried with and without a setting for the ControlSource

Paul

-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean 
Laeremans
Sent: 06 June 2013 13:59
To: profoxt...@leafe.com
Subject: Re: Checkbox in a grid

ControlSource checkbox ?

A+
jml

On Thu, Jun 6, 2013 at 2:52 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Jean

 No the setting of Sparse doesn't seem to be the culprit because I have tried 
 both .T. and .F.

 Paul

 -Original Message-
 From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean 
 Laeremans
 Sent: 06 June 2013 13:09
 To: profoxt...@leafe.com
 Subject: Re: Checkbox in a grid

 Sparce = .T. in Collumn ?

 A+
 jml

 On Thu, Jun 6, 2013 at 2:04 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Hi all

 I have a checkbox in a container in a grid column so that the checkbox 
 appears centred in the column.  I have done this several times before but on 
 this occasion clicking one checkbox changes every other checkbox in the grid 
 (i.e. on every row).  It is probably something stupid but I can't seem to 
 work out  what I am doing wrong.

 Any ideas would be much appreciated

 Thanks

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9a8106afb0ef9b44b69045c4448935a2b11...@ukfawexmbx1.infor.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Checkbox in a grid

2013-06-06 Thread Paul Newton
Jean

Sorted - with ControlSource set for the checkbox and not set for the column

Thanks for your help

Paul

-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean 
Laeremans
Sent: 06 June 2013 13:59
To: profoxt...@leafe.com
Subject: Re: Checkbox in a grid

ControlSource checkbox ?

A+
jml

On Thu, Jun 6, 2013 at 2:52 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Jean

 No the setting of Sparse doesn't seem to be the culprit because I have tried 
 both .T. and .F.

 Paul

 -Original Message-
 From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean 
 Laeremans
 Sent: 06 June 2013 13:09
 To: profoxt...@leafe.com
 Subject: Re: Checkbox in a grid

 Sparce = .T. in Collumn ?

 A+
 jml

 On Thu, Jun 6, 2013 at 2:04 PM, Paul Newton paul.new...@pegasus.co.uk wrote:
 Hi all

 I have a checkbox in a container in a grid column so that the checkbox 
 appears centred in the column.  I have done this several times before but on 
 this occasion clicking one checkbox changes every other checkbox in the grid 
 (i.e. on every row).  It is probably something stupid but I can't seem to 
 work out  what I am doing wrong.

 Any ideas would be much appreciated

 Thanks

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9a8106afb0ef9b44b69045c4448935a2b11...@ukfawexmbx1.infor.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Client--Server via Internet

2013-06-06 Thread MB Software Solutions, LLC

On 6/5/2013 5:46 PM, Stephen Russell wrote:

Do you ever destroy the connection?  Leave the form could be a reason or
kill the app.



Oh yes...I do a SQLDISCONNECT(0) on the exit of the program.


--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/51b09c60.1010...@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Client--Server via Internet

2013-06-06 Thread MB Software Solutions, LLC

On 6/5/2013 5:54 PM, Stephen Russell wrote:

Can you search your exe and find your connection string in raw text?



Nope...encrypted.


--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/51b09c82.1050...@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Dot Matrix Printing from VFP

2013-06-06 Thread Jeff Johnson
Thanks Dan!  It works great.  I am now printing invoices with no blank 
pages.  Only one little problem left; a blank page prints on the default 
printer.


I have tried many things but can't see why it is happening.  It happens 
when I start the second invoice job and when it exits the application.


It must be in the way I am printing to a file.  Something to do with the 
set device to printer or set printer on or set printer to.



Jeff

---

Jeff Johnson
j...@san-dc.com
(623) 582-0323

www.san-dc.com
www.arelationshipmanager.com

On 06/04/2013 04:27 PM, Dan Covill wrote:

On 06/04/13 02:33 PM, Jeff Johnson wrote:

Dan:  The whole problem is because these invoices print letter quality
bold and wide in the heading. Can your print class do that by sending
the print codes before the text?

Jeff


Apparently, yes.  Here's a snippet:

procedure PrintBody
   * Print a single invoice to (TempFile)

set memowidth to 255
if PtrName = LPT1 or PtrName = \\
   *-- It's an OKIDATA, add the control codes
   @ 02, 00 say chr(27)+chr(103) Esc g = 15 cpi
   @ 02,103 say chr(27)+chr(80)  Esc P = 10 cpi
   @ 02,106 say INVNO
   @ 02,114 say iif(PRINTED,*,)
   @ 02,116 say chr(27)+chr(103) back to 15 cpi
else
   *-- A Windows printer, no codes
   @ 02,106 say INVNO
   @ 02,114 say iif(PRINTED,*,)
endif
-

This code is from FPW 2.5!

Dan


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/51b0e086.2040...@san-dc.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Dot Matrix Printing from VFP - Solved!

2013-06-06 Thread Jeff Johnson

SET PRINTER TO (p_file)
SET DEVICE TO printer
SET CONSOLE off
SET PRINTER ON

IF print_ok
  IF PCOUNT()  2
DO (printprog)
  ELSE
DO (printprog) with tuparm
  ENDIF
ENDIF

print_ok = pr_eject()

SET DEVICE TO SCREEN
SET PRINT off
SET CONSOLE on
SET PRINTER TO

Then I do rawprint

This works.

Thanks,

Jeff

---

Jeff Johnson
j...@san-dc.com
(623) 582-0323

www.san-dc.com
www.arelationshipmanager.com

On 06/06/2013 12:18 PM, Jeff Johnson wrote:
Thanks Dan!  It works great.  I am now printing invoices with no blank 
pages.  Only one little problem left; a blank page prints on the 
default printer.


I have tried many things but can't see why it is happening.  It 
happens when I start the second invoice job and when it exits the 
application.


It must be in the way I am printing to a file.  Something to do with 
the set device to printer or set printer on or set printer to.



Jeff

---

Jeff Johnson
j...@san-dc.com
(623) 582-0323

www.san-dc.com
www.arelationshipmanager.com

On 06/04/2013 04:27 PM, Dan Covill wrote:

On 06/04/13 02:33 PM, Jeff Johnson wrote:

Dan:  The whole problem is because these invoices print letter quality
bold and wide in the heading. Can your print class do that by sending
the print codes before the text?

Jeff


Apparently, yes.  Here's a snippet:

procedure PrintBody
   * Print a single invoice to (TempFile)

set memowidth to 255
if PtrName = LPT1 or PtrName = \\
   *-- It's an OKIDATA, add the control codes
   @ 02, 00 say chr(27)+chr(103) Esc g = 15 cpi
   @ 02,103 say chr(27)+chr(80)  Esc P = 10 cpi
   @ 02,106 say INVNO
   @ 02,114 say iif(PRINTED,*,)
   @ 02,116 say chr(27)+chr(103) back to 15 cpi
else
   *-- A Windows printer, no codes
   @ 02,106 say INVNO
   @ 02,114 say iif(PRINTED,*,)
endif
-

This code is from FPW 2.5!

Dan


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/51b0e687.6070...@san-dc.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Email from foxpro

2013-06-06 Thread Gene Wirchenko

At 19:30 2013-06-05, José Olavo Cerávolo jocerav...@yahoo.com wrote:

Hi All,

I was trying to find information about emailing from foxpro.
A customer requested a confirmation email to be 
sent to their clients when they enroll for an event.

I tried searching the archives but I did not get any hits.
I don't want to be locked into using Outlook.


 I would not worry much about that.  My app 
does use Outlook via Automation, but it is only 
one method to change should I want to switch away.


Sincerely,

Gene Wirchenko


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Dot Matrix Printing from VFP - Solved!

2013-06-06 Thread Dan Covill

I knew I put those SET CONSOLE commands in there for some reason!
(IOW, I had the same problem(s), and kind of lost track of just which 
command in which sequence solved which problem!)


Glad you have success, Jeff

Dan


On 06/06/13 12:44 PM, Jeff Johnson wrote:

 SET PRINTER TO (p_file)
 SET DEVICE TO printer
 SET CONSOLE off
 SET PRINTER ON

IF print_ok
   IF PCOUNT()  2
 DO (printprog)
   ELSE
 DO (printprog) with tuparm
   ENDIF
ENDIF

print_ok = pr_eject()

SET DEVICE TO SCREEN
SET PRINT off
SET CONSOLE on
SET PRINTER TO

Then I do rawprint

This works.

Thanks,

Jeff




___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/51b1295f.2080...@san.rr.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Dot Matrix Printing from VFP - Solved!

2013-06-06 Thread Dan Covill

One more thing on this:

I was looking for a document I wrote several years ago on this topic - 
i.e., printing to a DOS (parallel) printer from Windows.


The important part of making this work is to make absolutely sure that 
Windows doesn't get its filthy hands on the output.  The Okidatas will 
happily print whatever comes over the cable, whether you programmed it 
or the Windows drivers added it afterward.  That's why RawPrint is such 
a great tool.


Dan Covill

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/51b12bfb.10...@san.rr.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.