DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: MS Word 2013 or Windows 8.1 coerces SaveAs path to user's Documents directory

  1. #1
    Join Date
    Apr 2014

    MS Word 2013 or Windows 8.1 coerces SaveAs path to user's Documents directory

    I have a VB6 program that allows use of a created object instance of MS Word to produce letters and automatically save them in the appropriate directory as determined by my program, for example:

    objMSWordDocument.SaveAs C:\DISC\VER70\LOAN\DATA2\2\3\00049323.01\LETTERS\20140428124003.docx , wdFormatXMLDocument

    This works as designed on one machine running Windows 8.1 Professional 64-bit, but on another identical machine, instead of silently saving the document to the specified location, a Save Dialog opens that points to the Windows user's Documents directory.

    I assume this is a permissions issue, either in MS Word 2013, or Windows 8.1. My program is set to Run as Administrator.

  2. #2
    Join Date
    May 2014
    Are you sure that you have identical environment on both computers? Maybe MS Word is differently configured?

Similar Threads

  1. word .saveas method fails on Vista target
    By GaryAF in forum VB Classic
    Replies: 12
    Last Post: 03-19-2010, 07:38 AM
  2. short cut for path to My Documents in XP
    By jac in forum VB Classic
    Replies: 5
    Last Post: 01-01-2006, 06:51 AM
  3. Word-documents
    By anonymous in forum VB Classic
    Replies: 0
    Last Post: 02-06-2002, 03:49 PM
  4. Replies: 1
    Last Post: 09-13-2001, 09:20 AM
  5. Print all documents in current directory
    By James Calautti in forum VB Classic
    Replies: 1
    Last Post: 05-16-2001, 10:07 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center