This is the code being used. There is no SET STEP. It used to open a "New Email" window and all I had to do was drag the attachment and click "Send".
lcMail = "mailto:"+ email + ;
'?Subject= '+ emSubject + ;
'&Body=Dear Customer,%0A%0A' + ;
'The attached PDF file is your renewal...
I have been using ShellExecute to automate outlook emails from within a FoxPro app. Everything was fine until we upgraded to Windows 11 and had to switch to OutLookNew. Now we gat a message that this feature is not supported.
Any ideas will be greatly appreciated.
Sam
Chriss,
I don't do any mapping. It is done by the user's IT dept., using GPO (Group Policy Objects).
I didn't mean only one user has this issue. I meant only one customer installation is experiencing it.
I have asked the user to see if this issue occurs if the app is installed on a...
Koen,
This is the code
CurrDir = SYS(5) + SYS(2003)
IF RIGHT(CurrDir,1) == "\"
* DO NOTHING
ELSE
CurrDir = CurrDir + '\'
ENDIF
File_1 = LoggedPath(CurrDir + "CLDATA" + RIGHT(ALLTRIM(STR(xYear)),2) + ".DBF")
The files are not on the desktop. The app just seems to be looking there...
Mike,
The app can print to a PDF driver, but the program never gets that far. The error occurs after about 60 lines of pure simple code, except for 1 ADIR() function call: mostly setting SETs and other assignments.
Sam
Koen Pillar,
The directory is set with SYS(5) + SYS(2003). Remember the issue only arises when they exit the app and immediately re-invoke.
It occurs in the main prg module. Sometimes my error handler is not invoked, and it displays an OS error/message. Sometimes it gets a little further and...
I have an app that seems to be working fine, till the user exits. The folder becomes temporarily unavailable. If they try to run the app again, they get a message that "x:\folder\xxx\desktop\file.dbf does not exist". This happens when they run it from a desktop shortcut. The folder actually...
I use a code in a prg file to send multiple forms (frx's) to print, using NOPAGEEJECT on all but the last page.
The quote form the help file gives me an idea about what i'm up against.
Xfrx sounds interesting. I'll look into it.
Thanks,
Sam
I searched some of the past threads and did not get an answer. I did learn that combining portrait and landscape in troublesome.
I would like to print several different pages at once. One of which is in landscape mode.
I hack the FRx's
REPLACE TAG WITH cEmptyStr, Tag2 WITH cEmptyStr...
To clear things up.
The application prints several pages of data for submission to various agencies.
Every few years somebody decides to changes the information required. The table has a limit of the number of fields, so we do it this way.
AS it turns out, a colleague at another office had...
Thanks for all your replies.
By reading your replies and trying alternate solutions, I uncovered a damaged file header. When i restored the file from a backup, it works fine.
Sorry for all the trouble. You were really helpful.
Appreciatively,
Sam
Tore,
It doesn't make these changes every time. After the first time, if it worked properly, the field name that ASCAN searches for would be found and the rest of the IF statement would be ignored
Mike,
MCDATA is open , but NOT exclusively, which I thought was necessary to alter it.
The...
Using FREE TABLES (not in a DBC), I have to drop 150 Columns and then add 110 Columns.
The code in processed each time the app is invoked. Sometime it works fine.
Occasionally, it comes back with the message:
Alias: CLDATA
Error number: 12
Error message: Variable 'Cash_1' not found
Line...
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.