Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2013, 02:37 AM
KIM SOLIS KIM SOLIS is offline How to deactivate File Save dialog box Windows XP How to deactivate File Save dialog box Office 97
Novice
How to deactivate File Save dialog box
 
Join Date: Sep 2011
Posts: 29
KIM SOLIS is on a distinguished road
Default How to deactivate File Save dialog box

Hi everyone,

We have an executable program developed in Visual Foxpro. In the program we can export the report output to a templated MS Word file. We run the program in Win7 and WinXP and running the MS Office 2007 version. There is no problem and the report is exported and generated in MS Word without any problem.



But when we install the .exe program in Windows 8 with an MS Office 2007 version (and later we use MS Office 2010), the program can still run EXCEPT that the report can not be exported in MS Word anymore as the File Save dialog box of MS Word automatically displays even if we did not activate it. The export of data to the MS Word file is then aborted and the report can not display.

How do we DEACTIVATE the automatic display of this File Save dialog box when running the program in Windows 8 and using either the 2007 or 2010 versions.

Thanks for the advice,

Kim
Reply With Quote
  #2  
Old 12-14-2013, 08:51 AM
fumei fumei is offline How to deactivate File Save dialog box Windows 7 64bit How to deactivate File Save dialog box Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

It is impossible to say without knowing what exactly the .exe is doing. I have no idea what is happening that would cause the FileSave dialog to display, but for sure it will not do so on its own. Further I have a hard time understanding why such a display would abort ANY import of text or data.
Reply With Quote
  #3  
Old 12-14-2013, 06:03 PM
KIM SOLIS KIM SOLIS is offline How to deactivate File Save dialog box Windows XP How to deactivate File Save dialog box Office 97
Novice
How to deactivate File Save dialog box
 
Join Date: Sep 2011
Posts: 29
KIM SOLIS is on a distinguished road
Default

Hi fumei,

...have finally figured it out. Activated File ->Option->Trust Center->Trust Center Setting->File Block Setting and checked Save boxes for Word 2007 Template and Open Doc Text File and also checked Open Selected File Type.

With this setting the File Save dialog box still appears but no longer aborts the display of reports as exported in MS Word. Whether it's the right setting or otherwise it gets the result we finally wanted.

Good day!

Kim
Reply With Quote
  #4  
Old 12-15-2013, 12:30 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline How to deactivate File Save dialog box Windows 7 64bit How to deactivate File Save dialog box Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,902
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

For what it's worth, an alternative approach in the Word object model would be to check if a document is displayed in Protected view or not. Under the Application object, there is a ProtectedViewWindows collection (whose members are Window objects).
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to deactivate File Save dialog box An error occured while opening the file dialog Warmwinds PowerPoint 7 11-14-2013 03:46 AM
Save as and Open dialog boxes blank stuartmush Word 1 09-20-2013 03:04 PM
How to deactivate File Save dialog box How to "deactivate" the Excel's SAVE function KIM SOLIS Excel 1 11-05-2011 01:57 AM
Can Save As dialog be suppressed? dug_down_deep PowerPoint 0 10-05-2010 09:46 AM
How to deactivate File Save dialog box Word crashes when using file dialog jievie_2000@hotmail.com Word 5 07-27-2009 09:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:37 AM.


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