Microsoft Office Forums word 2019 is trying to open files.doc and microsoft.doc

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2019, 01:18 PM
kmagnani kmagnani is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2019
Novice
word 2019 is trying to open files.doc and microsoft.doc
 
Join Date: May 2019
Posts: 3
kmagnani is on a distinguished road
Default word 2019 is trying to open files.doc and microsoft.doc

We are launching word 2019 using CreateProcess to open a document. When word begins it throws two errors stating it cannot find Files.Doc and Microsoft.doc. I cannot find any reference to these in the software options or any template. If we use the same process to launch word 2010 or word 2016 it works correctly.
Reply With Quote
  #2  
Old 05-02-2019, 01:39 PM
Charles Kenyon Charles Kenyon is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 5,941
Charles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to all
Default

Could you please expand on "createprocess." I am not familiar with this.
Reply With Quote
  #3  
Old 05-02-2019, 01:46 PM
kmagnani kmagnani is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2019
Novice
word 2019 is trying to open files.doc and microsoft.doc
 
Join Date: May 2019
Posts: 3
kmagnani is on a distinguished road
Default

its an API call to launch an executable https://stackoverflow.com/questions/...utable/5862370
Reply With Quote
  #4  
Old 05-02-2019, 02:04 PM
Charles Kenyon Charles Kenyon is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 5,941
Charles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to all
Default

OK. I know vba enough to get into trouble. Not so with other programming languages.
It looks as if your code is expecting some legacy files. They may be references for your code rather than any part of Word.
Reply With Quote
  #5  
Old 05-05-2019, 03:17 PM
Lugh's Avatar
Lugh Lugh is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2016
Competent Performer
 
Join Date: May 2019
Location: USA
Posts: 137
Lugh is on a distinguished road
Default

Quote:
Originally Posted by kmagnani View Post
it cannot find Files.Doc and Microsoft.doc
As Charles suggests, look in your code. Those two are almost definitely example filenames which need to be removed from your code.
Reply With Quote
  #6  
Old 05-06-2019, 08:37 AM
kmagnani kmagnani is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2019
Novice
word 2019 is trying to open files.doc and microsoft.doc
 
Join Date: May 2019
Posts: 3
kmagnani is on a distinguished road
Default

Thank you for your response. I've checked the document I'm testing with and it has no macro's and has no vba code. The only items that are referenced (from the VBA window) are Visual Basic For Applications, Microsoft Word 16.0 Object Library, OLE Automation, Normal and Microsoft Office 16.0 Object Library.
Reply With Quote
  #7  
Old 05-06-2019, 12:04 PM
Charles Kenyon Charles Kenyon is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 5,941
Charles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to all
Default

The code is somewhere other than in your test document.

Given that the .doc extension refers to legacy files, that code is likely ten or more years old.

There are no files that come with Word with those names; haven't been since Word 97, at least.
Reply With Quote
  #8  
Old 05-06-2019, 04:06 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline word 2019 is trying to open files.doc and microsoft.doc Windows 10 word 2019 is trying to open files.doc and microsoft.doc Office 2019
Expert
 
Join Date: Aug 2011
Posts: 3,224
Stefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of light
Default

Have you looked in the Normal template? You should also check the Startup folder for any add-ins.
__________________
Stefan Blom
Microsoft Word MVP
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to always open microsoft word with full text justification ArchanRC Word 2 06-01-2018 03:51 PM
word 2019 is trying to open files.doc and microsoft.doc Microsoft Word VBA to save Word doc to separate PDF files using a Mail Merge field as File name meghanquint4 Word VBA 2 02-28-2018 07:12 AM
word 2019 is trying to open files.doc and microsoft.doc can't open certain doc files (word 97-03) Eekie64 Word 3 01-24-2018 02:05 PM
word 2019 is trying to open files.doc and microsoft.doc microsoft word doc downloads will not open blabla20 Word 2 12-23-2014 07:50 AM
word 2019 is trying to open files.doc and microsoft.doc VBA to open files in Word Lu_Argentina Word VBA 3 07-26-2011 05:47 PM


All times are GMT -7. The time now is 12:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft