RE: Validating email addresses

2017-07-14 Thread Frank Cazabon
These kind of services will/should let you send email programmatically from your application. I use Jango for one of my clients to send invoices and other individual emails. On 14 July 2017 19:46:04 GMT-04:00, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: >On 2017-07-14 16:29, Kevin J

RE: Scrollbar ghost effect

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-14 17:52, Tracy Pearson wrote: Mike, Yes, it does prevent the artifact from appearing. Reading what REFRESH does, makes me cringe a little to use it in this way. Every control will refresh its data, not just a redraw of the screen area. Tracy Well you don't change any data in

RE: Validating email addresses

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-14 16:29, Kevin J Cully wrote: If you want to check if an email address is in a valid format, there are many RegEx expressions that you can use. Easy and free. It's not a "valid format" she's talking about. She's talking about undeliverables. Things that are properly assembled

Re: Scrollbar ghost effect

2017-07-14 Thread Fred Taylor
Then how about the .Paint event? Better, Worse, Not at all? Fred On Fri, Jul 14, 2017 at 2:52 PM, Tracy Pearson wrote: > Mike, > > Yes, it does prevent the artifact from appearing. > Reading what REFRESH does, makes me cringe a little to use it in this way. > Every

RE: Scrollbar ghost effect

2017-07-14 Thread Tracy Pearson
Mike, Yes, it does prevent the artifact from appearing. Reading what REFRESH does, makes me cringe a little to use it in this way. Every control will refresh its data, not just a redraw of the screen area. Tracy -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com]

RE: Validating email addresses

2017-07-14 Thread Kevin J Cully
If you want to check if an email address is in a valid format, there are many RegEx expressions that you can use. Easy and free. If your client is sending out lots of emails and is worried about bounces and "Unsubscribe" functionality, then I'd use a mailing service such as Mandrill by

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-14 08:59, Ted Roche wrote: On Thu, Jul 13, 2017 at 9:40 AM, wrote: Don't you hate it when you have a super long one-time conversion program, This is another good justification for printouts. Every few months, we print out long listings,

RE: Scrollbar ghost effect

2017-07-14 Thread mbsoftwaresolutions
Just a WAG -- In the thisform.Resize event, does adding a this.refresh fix it? --Mike On 2017-07-14 10:33, Dave Crozier wrote: With your anchor settings still no problems seen. However my video card Is a high spec Nvidea with 11Gb on board it. I'll certainly try it on a lower spec machine

Validating email addresses

2017-07-14 Thread mbsoftwaresolutions
My client wants to weed out the bad emails she has in her database. I'm guessing however she's sending them out, she's either not getting the bounce backs or it's too manual a process. When I googled, I found this: https://www.emailhippo.com/en-us/verify-email-address/api/a I thought I'd

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Koen Piller
Does Beautify not do What you want? Koen Op vr 14 jul. 2017 om 17:17 schreef Richard Kaye > Thor comes with a bunch of utility PRGs that might help with this. And you > can create your own variations of pretty much all the Thor utilities if it > doesn't work precisely as

RE: [NF] Best Programming Books To Read & Become Better Programmers

2017-07-14 Thread Paul H. Tarver
FYI, Ted, I didn't mention "Hacker's Guide to Visual FoxPro 6.0" upfront because I didn't want anyone to think I was playing favorites! :) I guess what I'm interested in are those books that make you feel like you become a better "software craftsman" because you read it. Paul H. Tarver Tarver

Re: [NF] Best Programming Books To Read & Become Better Programmers

2017-07-14 Thread Ted Roche
On Fri, Jul 14, 2017 at 11:21 AM, Paul H. Tarver wrote: > Tech Republic just published a gallery of the 15 Books That Every Programmer > Should Read: > > Anyone want to weigh in on their thoughts about this list Halfway through the list I wondered if they cadged an article from

RE: [NF] Best Programming Books To Read & Become Better Programmers

2017-07-14 Thread Paul H. Tarver
Just realized that link was more complicated than I thought. Here's a shorter link to the same place: http://tek.io/2uhF0vP Sorry about that! Paul H. Tarver Tarver Program Consultants, Inc. Email: p...@tpcqpc.com -Original Message- From: ProfoxTech

[NF] Best Programming Books To Read & Become Better Programmers

2017-07-14 Thread Paul H. Tarver
Tech Republic just published a gallery of the 15 Books That Every Programmer Should Read: http://www.techrepublic.com/pictures/gallery-15-books-that-every-programmer- should-read/?ftag=TRE684d531

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Richard Kaye
Thor comes with a bunch of utility PRGs that might help with this. And you can create your own variations of pretty much all the Thor utilities if it doesn't work precisely as you want. -- rk -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Dave

Re: VFP OLEDB in M$SQL Linked Server

2017-07-14 Thread Stephen Russell
A heads up on calling code via a linked server. You may have to do a call via OpenQuery Select * from OpenQuery( VFPOLE, ' Select * from ' [SERVER_Name].VFPDatabase.Table where bla bla bla ' ) Or you may have to just use [ ] brackets around your server name and not do an OpenQuery() call. It

RE: Scrollbar ghost effect

2017-07-14 Thread Dave Crozier
With your anchor settings still no problems seen. However my video card Is a high spec Nvidea with 11Gb on board it. I'll certainly try it on a lower spec machine and report back Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Tracy Pearson Sent: 14

Re: VFP OLEDB in M$SQL Linked Server

2017-07-14 Thread Stephen Russell
I don't have any VFP to test on my side. I set up linked servers way too often. First guess is the 64bit-32bit issue. Second is SECURITY needing to be set. I am downing a db server this weekend and today is massive test day for the replacement being correctly set. Oh, the joys of vendor

RE: Scrollbar ghost effect

2017-07-14 Thread Tracy Pearson
Hi Dave, I did forget about mentioning the anchors. MyForm.pgf.Anchor = 15 MyForm.pgf.Page2.InnerPgf.Anchor = 14 It is set on the lower half of the page. MyForm.pgf.Page2.InnerPgf.edt.Anchor = 0 All the classes used are subclasses from the VFP. I found the artifact will appear when stretching

RE: VFP OLEDB in M$SQL Linked Server

2017-07-14 Thread Dave Crozier
Thanks Ted. >From a couple of posts I have found they recommend setting up a 32 bit server, >linking this to the VFP tables as a linked server then linking from the 64 bit >server back to the 32 bit linked VFP server Definitely not a job to do on >a Friday, it can wait until I feel

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Ted Roche
On Thu, Jul 13, 2017 at 9:40 AM, wrote: > Don't you hate it when you have a super long one-time conversion program, This is another good justification for printouts. Every few months, we print out long listings, break out the multi-colored

Re: VFP OLEDB in M$SQL Linked Server

2017-07-14 Thread Ted Roche
On Fri, Jul 14, 2017 at 8:34 AM, Dave Crozier wrote: [snip] > I am beginning to wonder if the 64bit SQL Server doesn't want to play nicely > with the VFP OLEDB 32 bit drivers but can't prove it. This sounds suspicious. I've run into issues before with 64-bitness not

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Dave Crozier
I feel your pain! I TRY and keep the rule that no tabbed programming structure (if... endif, do case.. endcase etc.) should span more than a page. but must admit I fail regularly!!! Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of

VFP OLEDB in M$SQL Linked Server

2017-07-14 Thread Dave Crozier
Gentlemen, Just a little tester for you at the end of the week. I am trying to import data from a live VFP databases into some software written in C# which has worked fine using the VFPOLEDB interface. Now, if possible, I want to set up a linked database in M$SQL Server so I can access the data

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-14 07:39, Laurie Alvey wrote: I was wondering if Intellisense would help (IFELSE). No. Intellisense doesn't prevent you from writing sloppy way-too-long code. lol ___ Post Messages to: ProFox@leafe.com Subscription Maintenance:

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Laurie Alvey
I was wondering if Intellisense would help (IFELSE). Laurie On 14 July 2017 at 12:32, wrote: > On 2017-07-13 16:34, Ted Roche wrote: > >> On Thu, Jul 13, 2017 at 9:40 AM, >> wrote: >> >>> >>> It pays to

RE: Disappearing (and later reappearing) data on Windows Server 2016 (WORKAROUND FOUND)

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-11 15:13, Tracy Pearson wrote: mbsoftwaresoluti...@mbsoftwaresolutions.com wrote on 2017-07-11: On 2017-06-08 13:57, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: UPDATE FROM CLIENT: "[Local IT guy] suggested trying to run the program in Windows 7 Compatibility mode. We

Re: Alternative to PROGRAM() and SYS(16,n)

2017-07-14 Thread Thierry Nivelet
In COM mode: Application.serverName https://msdn.microsoft.com/en-us/library/aa978311(v=vs.71).aspx Thierry Nivelet http://foxincloud.com/ Give your VFP app a second life in the cloud Thierry Nivelet http://foxincloud.com/ Give your VFP app a second life in the cloud > Le 14 juil. 2017 à

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-13 16:34, Ted Roche wrote: On Thu, Jul 13, 2017 at 9:40 AM, wrote: It pays to take the time and do good modular design instead of this way-too-long PRG run on crap. hahaha So, wait, you're saying that if you create

RE: Alternative to PROGRAM() and SYS(16,n)

2017-07-14 Thread Paul Newton
Thanks to Alan for pointing out the article using GetModuleFileName () and to Fernando for pointing out the ServerName property (*) - I am going with ServerName instead of the ASTACKINFO approach Paul Newton -Original Message- From: ProfoxTech

Re: Alternative to PROGRAM() and SYS(16,n)

2017-07-14 Thread Fernando D. Bozzo
Hi Paul: >From inside the COM component (exe in this case), you can obtain the exe name using sys(16,0 Another way can be using the class's ServerName property. El 14 jul. 2017 10:16, "Paul Newton" escribió: Hi all I want to find the path of the "master" EXE at

RE: Alternative to PROGRAM() and SYS(16,n)

2017-07-14 Thread Paul Newton
I will take a look - thanks Alan -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Alan Bourke Sent: 14 July 2017 09:59 To: profoxt...@leafe.com Subject: Re: Alternative to PROGRAM() and SYS(16,n) Seems as good an approach as any. Take a look at

Re: Alternative to PROGRAM() and SYS(16,n)

2017-07-14 Thread Alan Bourke
Seems as good an approach as any. Take a look at this article though: https://blogs.msdn.microsoft.com/calvin_hsia/2007/09/13/run-your-application-forms-on-the-web/ There is a function at the bottom there which uses the Windows API GetModuleFilename() function in the context of a VFP OLE

RE: Scrollbar ghost effect

2017-07-14 Thread Dave Crozier
I forgot to say, as per your brief all editbox, pageframes and form all subclassed dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Dave Crozier Sent: 14 July 2017 09:41 To: ProFox Email List Subject: RE: Scrollbar ghost effect

RE: Scrollbar ghost effect

2017-07-14 Thread Dave Crozier
Correction - Anchor 15 Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Dave Crozier Sent: 14 July 2017 09:40 To: ProFox Email List Subject: RE: Scrollbar ghost effect Tracy, Assuming you are anchoring both the pageframes and the

RE: Scrollbar ghost effect

2017-07-14 Thread Dave Crozier
Tracy, Assuming you are anchoring both the pageframes and the contained editbox (I have used Anchor=10) than on Windows 10 64Bit I don't get any problems at all. Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Tracy Pearson Sent: 13 July 2017 20:55

Alternative to PROGRAM() and SYS(16,n)

2017-07-14 Thread Paul Newton
Hi all I want to find the path of the "master" EXE at some arbitrary point in code - and I need it to work within a method of a class defined as OLEPUBLIC. PROGRAM() and SYS(16,n) do not give me just the fully qualified path/name of the master EXE. I have come up with the following but I