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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JPG77

  1. JPG77

    Trim memo field

    Barbara & Marcia You are definitly right. I was wrong but the code was OK for me (I just use the Ctext var in a report and I had not any trailing carriage return. Sorry and thank you for your help. I'll use YOUR code. JPG
  2. JPG77

    Trim memo field

    Thanks Marcia, That's true and was exactly what I needed. JPG
  3. JPG77

    Zip an .exe

    Mike, I find the problem : The option "crypted" option was actived in the project. With this option, Winzip has nothing to do. Thank for your reply. JPG
  4. JPG77

    Trim memo field

    Hi Barbara Thank for your reply. This my code. Function TrimMemoEnd Parameters Pchamp && Memo field Private Nn,Nb_line Nb_Line=ALINES(MemoTableau, Pchamp) M.Ctext="" For Nn=1 To Nb_Lines Ctext=Ctext+MemoTableau(Nn)+Iif(Nb_line=Nn,"",chr(13)) Next Return Ctext
  5. JPG77

    Trim memo field

    Thanks Marcia but this will trim chr(13) at the end of the memo field AND INSIDE the memo field. I just want at the end, like TRIM(memo). I think I have to edit all the memo line and STRTRAN only on the last line. JPG
  6. JPG77

    Zip an .exe

    Thanks Mike, That's a good idea... JPG
  7. JPG77

    Zip an .exe

    Yes Mike. Same project, same environnement. No change in VFP parameters. No change in CONFIG.FPW No more .JPG or BMP in the project. No virus found My Winzip is "Ok" on any other file. JPG
  8. JPG77

    Trim memo field

    Hi, I want to trim all the leading chr(13) or chr(10) at the end of a memo field (before printing). Alltrim() or trim() has no effect on the chr(13). strtran() will be a solution but ONLY on the last line. Is there another function available ? Jean-Paul
  9. JPG77

    Zip an .exe

    Hi, My .exe (Vfp6 or Vfp8 application) size is 2.906 Ko. Last week, when I zip this exe, the size was 765 ko. But to-day, after a few changement in 2 or 3 .SCX, I can't zip the .exe. The packed size is now 2.865 Ko. How is it possible ? Any idea ??? I try on different machine with WINZIP...
  10. JPG77

    C00000005 Error and more

    Hi Fmoore0001, I had "similar" problem 2 month ago. Try to control the version of SPOOLSS.DLL on the system. Jean-Paul
  11. JPG77

    Save window as .BMP or .JPG

    Hi, I have a form 580x580 with a big picture (geographic plan) inside. The user scroll the picture with arrows key, until he gets the right position - and then he places icons where he wants. Then, I want to save this formated 580x580 picture on disk. From my VFP6 (or VFP7) application, is...
  12. JPG77

    VFP / Word publipostage

    For Mike, I resolve my problem with the VFP mailmerge class. Regards, JpG
  13. JPG77

    VFP / Word publipostage

    Yes Mike. We have a "formatted" ie MyLetter.DOT (Word) with text and fields that receive informations from VFP file (ie MyData.DBF) After the mail merge, Word save the name "MyData.dbf" and the path into the .DOT for an ulterior use. Now, in our VFP application, we execute a...
  14. JPG77

    VFP / Word publipostage

    Hi, Does somebody know how to change, from a VFP aplication, the name of the file (.DBF or .TXT) linked to a Word document. It seems that this name is "somewhere" in the .DOC Do you think the solution might be with low level instruction for making the changes ? Thanks by advance...
  15. JPG77

    MOUSE POINTER

    Aircon, Exactly what I needed. Where is it possible to learn about the User32 function ? Thanks for your prompt answer. Jean-Paul

Part and Inventory Search

Back
Top