converting a word file to a txt file

Results 1 to 2 of 2

Thread: converting a word file to a txt file

  1. #1
    Join Date
    Dec 1969

    Default converting a word file to a txt file

    Hi All,<BR><BR> I am trying to convert a word document to a text file through a VB DLL. This DLL is called by an ASP program that freezes. When I copied the code and executed it as a VB EXE, during the conversion I get the following pop-up message box.<BR><BR>File in Use..<BR><BR>File.doc is locked for editing by another user.Click notify to open a read only copy of the document and receive notification when the document is no longer in use.<BR><BR>If I try to delete the directory that hosts the word document, I get a sharing violation and the file is currently used, while I don&#039;t see the file being accessed.<BR><BR>Any help would be appreciated.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Have you got the VB code?

    If you have then you can debug it and/or post the relevant bit here. If not then I think you&#039;re probably stuck - can&#039;t fix a program without the code. The sharing violation is probably because the component doesn&#039;t close the document/end Word automation properly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts