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!

Search results for query: *

  1. nemosys

    Trying to Insert ActiveDocument.Content into a SQL BLOB

    I have Word Script that is trying to insert the contents of a document into a SQL/2000 database field. It keeps failing with an error code of "Multiple-step operation generated errors. Check each status value." Here is a piece of the code: Set cn =...
  2. nemosys

    SaveAs causes a file to be locked until window is closed

    Hi, This code is in a macro contained in a word template. When a user uses this template the macro is run when the document is opened. If I use Word.ActiveDocument.Close the macro does not finish executing. Is there another way to close the file instead of using the SaveAs command? Thanks.
  3. nemosys

    SaveAs causes a file to be locked until window is closed

    I am opening a HTML file in Word and using the SaveAS command to save it to a different name. Next I try to load the file to a ADODB.Stream and get an error stating that the file is locked. Here is part of the code: Word.ActiveDocument.SaveAs wfileName Set cn =...
  4. nemosys

    Opening Word from VB only runs in background

    I appreciate your reply. I tried your code suggestion and I get the same results. Word starts up in the background and cannot be terminated via the task manager. I have to reboot the machine in order to remove Word from running in the background. If I run the program in debug mode it works...
  5. nemosys

    Opening Word from VB only runs in background

    I cannot get Word to become visible when opening it from VB. I am running on W2K and VB 6.0 sp4. I am also using OfficeXP. I can see Word starting in the task manager when I execute my program. However I cannot kill the task and must reboot to clear Word from the system. If I run my program in...

Part and Inventory Search

Back
Top