Here is what I use:
LOCAL loRegExp
loRegExp = CreateObject("VBScript.RegExp")
loRegExp.IgnoreCase = .T.
loRegExp.Pattern = '^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$'
m.valid = loRegExp.Test(m.email)
RELEASE loRegExp
IF m.valid = .T.
...
I have a VFP app from which I want to launch some other VFP apps. The problem is when a CLEAR EVENTS is issued from the external app it closes down the Main app. Has anyone any ideas how to resolve this?
I am trying to run a Foxpro 2.5 Dos exe in Win Xp. This works fine in Win 2000. When I run it, I just get a black screen for a few seconds and it disappears. I have set the FILES = 150 and BUFFERS = 100 in config.nt. I can run the exe through Foxpro using the DO command. Anyone know how I can...
Hi,
I want to set the sender's name in an email but I am having problems. Heres the code I am using:
USE C:\EMAILS\EMAILS.DBF IN 0 ALIAS EMAILS
SELE EMAILS
loApp = CREATEOBJECT( "Outlook.Application" )
loMail = loapp.createitem( 0 )
WITH loMail
.recipients.ADD(...
I am trying to restore from a tape but I get the following error after about three to four minutes. I am using Veritas Backup Exec 8.0 build 3311. There is no problems backing up data to this drive, its just the restore. I have restored data before using this drive. Has anyone got any ideas as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.