Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General field by the use of the marker
Message
From
11/12/2009 17:25:29
 
 
To
11/12/2009 12:14:45
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01438561
Message ID:
01438722
Views:
65
Two things to check:
1. This marker is for Word 2003 documents. Were the documents created with that version of Word?
Docs from different versions of word have different identifiers.
2. Some software write file structure at the end of the file too.
The identifier of the end of Word 2003 documents is:
chr(244) + chr(57)+chr(178)+chr(113)
there is a lot of chr(0) after this identifier but they don't interfere in the file.
See if you are getting something after that.

>
>I have never used general field.I have to clean up something based on a client's request.
>
>From Sergey's message, I was able to save as is a PDF file. That works. However, when I used the same approach for a Word file, using the marker:
>
>
>   lnLocation=AT(Chr(208) + Chr(207) + Chr(17) + Chr(224) + ;
>    Chr(161) + Chr(177) + Chr(26) + Chr(225),lcFile)
>
>
>This creats a file that cannot be opened in Word.
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform