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 Chriss Miller 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. Steve Meyerson

    COPY FILE in an Exe

    Chris, True & true. I guess I had never experienced before a need to copy or manipulate a disk file with the same name as one in the exe either in my own or in my distributed apps. Probably won't do it again. :( BTW years ago I wrote a backup program in FP for almost all files in many...
  2. Steve Meyerson

    COPY FILE in an Exe

    As I said, it was a quick, simple way of saving files. Maybe not the best. If I were distributing this particular program, I would back up differently (if at all) as I have in other apps, but no one else will be running this one. Ok? Steve
  3. Steve Meyerson

    COPY FILE in an Exe

    It really doesn't. The only reason I did it that way was to write a simple, quick method to back up immediately after a change in the project and continue working on the project without delay. I guess I might be saving only a click or 2 if I had another app of some kind handy. Steve
  4. Steve Meyerson

    COPY FILE in an Exe

    Woody, Thanks, but it doesn't work because, as Chris said (in effect), that file is open in the exe no matter where it is physically located. Steve
  5. Steve Meyerson

    COPY FILE in an Exe

    Ok. I give up. I was just looking for an easy workaround. Several others available (as you suggested). Again, thanks Chris for yout time & help. Steve
  6. Steve Meyerson

    COPY FILE in an Exe

    I use Acronis True Image which has several optional backup schemes which can be scheduled, including differential and/or incremental versions and full backup after every X versions. It has a cloud option. Once-a-day backups may not give history of all changes so it would have to be done more...
  7. Steve Meyerson

    COPY FILE in an Exe

    Even if I preceded the ..TO file name with the file's original path? Since exe would contain only its stem (or maybe some other path). Just a thought.
  8. Steve Meyerson

    COPY FILE in an Exe

    I figured if I put the exe in different folder (other than the project's folder) it could then copy ALL the files in the project folder. I might do that. Used to do that back in the DOS days :devilish: Usually costs, but I just don't like my stuff on the "cloud" (i.e. some unknown server.)...
  9. Steve Meyerson

    COPY FILE in an Exe

    Ein, Tried it in exe with all else closed. First line gives "File is in use." message. Just realized you were probably addressing Igors post. Steve
  10. Steve Meyerson

    COPY FILE in an Exe

    Chris - FYI The project files (pjx/pjt) copied fine in the exe! Steve
  11. Steve Meyerson

    COPY FILE in an Exe

    That explains it! I guess the file itself is actually inside the exe (or at least VFP treats it as such). The example you created duplicates nearly exactly what I actually have, i.e. I have another scx (not the Main) which is not active during backup. It copies fine in the exe. I suppose if it...
  12. Steve Meyerson

    COPY FILE in an Exe

    Igor, .scx is the extension of a form's file name. It's normally accompanied by a .sct file which has the same stem of the form's file name, but having .sct as its extension. I think the .sct file is like a 'memo' file. Both are really same structure as dbf/dbt files. Clear? (as mud?:confused:)
  13. Steve Meyerson

    COPY FILE in an Exe

    Yes. I even checked Process & Services in the Task Manager for "Stocks.." or "MicrosoftVisua..". Nothing. I even copy/pasted Stocks.scx to my backup folder while the exe was running. It copied ok. So that indicates it was not open. I put it in a TRY/CATCH/ENDTRY. Still wouldnt copy but at...
  14. Steve Meyerson

    COPY FILE in an Exe

    I created a backup method using COPY FILE within the main form (Stock.scx/sct) of the project. It will not copy Stock.scx because it is open of course. But when I build the exe, close the project, quit VFP, and run the exe, it copies other files, but still will not copy Stock.scx. Msg: "File...
  15. Steve Meyerson

    Reading MySQL 8 encoded data into VFP9

    dylim, Yes, I see your point. But even if Chris has some of that negative "hubris" you mentioned, my only point was in his case, the plusses far exceed the minuses and the value outweighs any names we might be called. I've been called worse (not by him). Regarding this forum and the ageing of...
  16. Steve Meyerson

    Reading MySQL 8 encoded data into VFP9

    dylim & gguerra, I feel your frustration on the subject. I think you're referring to some of Chris's comments. Please don't take it out on him. He has answered probably over a thousand posts on this forum. Had I done that, I think I (and most people) would have often lost at least some...
  17. Steve Meyerson

    Report not receiving data properly

    BlueSharp, One more thing. Chris is not only correct, but points out, in my opinion, the most important principle to develop reports for a specific task. You might want a report containing data from multiple files, but you know it scans only a single table. Many many times in my experience I...
  18. Steve Meyerson

    Report not receiving data properly

    ...the general principle of working on the currently selected workarea when it comes to data....
  19. Steve Meyerson

    numeric equivalent of space() in select

    I also think Doug's solution is best. I rarely use CAST. 00.00 will produce a N(5,2) field in the result. Incidentally, 000.000 will produce a N(7,3) field, 000 will produce a N(3) field, etc., etc. Steve
  20. Steve Meyerson

    PDF to text converter for batch folder processing

    Karen, Another possibility might be Adobe Acrobat Pro DC (64-bit). Using the Scan & OCR feature, it will convert a pdf to several formats including plain text. You would of course need to rearrange the text to fit your form. My sample test showed it to be pretty accurate. Not sure how much, if...

Part and Inventory Search

Back
Top