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

Word Mail Merge from Visual Foxpro 5 on Windows 95 client machine

Status
Not open for further replies.

lona

Programmer
Mar 2, 2000
1
US
Running the VFP 5.0 application on a Windows 95 client (runtime dlls only - no VFP installed.) The application creates a text file for a mail merge with Word 97. It then executes a run command to create the mail merge, as "RUN /N C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\WINWORD.EXE c:\CONTRACT\contract.doc /mmergetofile". The merge works fine, but when I close out Word and return to the VFP 5.0 system, I get an error "Invalid seek offset" and have to end the task and sometimes the entire system freezes up. Some drive mappings to the network are lost. This machine is running Windows 95. I cannot duplicate the error on my development (Windows NT) machine.
 
I ran into this back in 2.6. Invalid Seek Offset is a Damaged Index Error Message. NTHPFS handles files differently then Win95 FAT16/32. Save Your enviroment and close your databases before the call into Word. Make sure you have a wait command directly before of after the Call to Word that saids something like &quot;Returned From MS Word, Press Any Key To Continue&quot; Reopen the files after you return from Word. This will stop the Error.<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top