×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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.

RE: Word Mail Merge from Visual Foxpro 5 on Windows 95 client 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 "Returned From MS Word, Press Any Key To Continue" Reopen the files after you return from Word. This will stop the Error.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close