Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sdocker

    Email automation with OUTLOOKNEW

    Thanks everyone. I will read and digest all the info. Im sure something will work. Sam
  2. sdocker

    Email automation with OUTLOOKNEW

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

    Email automation with OUTLOOKNEW

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

    directory name is invalid.

    I believe it was something with the GPO refreshing/updating. Using a timer seems to help. Thanks everyone. Sam
  5. sdocker

    directory name is invalid.

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

    directory name is invalid.

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

    directory name is invalid.

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

    directory name is invalid.

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

    directory name is invalid.

    Tom Borgmann, Both your suggestions make sense, but I think they would be issues for their IT department. I will mention it and see they say. Sam
  10. sdocker

    directory name is invalid.

    Chriss, No mapping at all. User selects an existing drive for app and/or data location. Sam
  11. sdocker

    directory name is invalid.

    Thanks for all the replies. Ill follow up and get back. Sam
  12. sdocker

    directory name is invalid.

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

    Portrait & Landscape combines

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

    Portrait & Landscape combines

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

    ALTER TABLE not completing the process

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

    ALTER TABLE not completing the process

    Thanks again. Good advice. I'll learn about Table Validation. Sam
  17. sdocker

    ALTER TABLE not completing the process

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

    ALTER TABLE not completing the process

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

    ALTER TABLE not completing the process

    Also, The OPEN FILES statement opens 3 tables. But since each ALTER COMMAND includes the table name, so why is the alias significant?
  20. sdocker

    ALTER TABLE not completing the process

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

Part and Inventory Search

Back
Top