D
DapperDanH
Hello,
Is there a way to open up a office file and disable macros from running,
independent of the current security settings?
Here is a quick description of the application:
1. User lists a series of msproject file paths.
2. User hits Publish
3. Using COM, the application loads each file one at a time, querying
information contained in the file.
The problem is files that contain macros and the enable/disable dialog that
automatically pops up. The dialog will lock the server. Typcially, I am
running the application as a server with visible=false, so the user never
sees this dialog.
For this application, I do not need the macros within the files. Is there a
way to load the file without macros so the dialog does not show? Is there a
way to query the office application to see what security setting it is set at?
Thanks,
Dan
Is there a way to open up a office file and disable macros from running,
independent of the current security settings?
Here is a quick description of the application:
1. User lists a series of msproject file paths.
2. User hits Publish
3. Using COM, the application loads each file one at a time, querying
information contained in the file.
The problem is files that contain macros and the enable/disable dialog that
automatically pops up. The dialog will lock the server. Typcially, I am
running the application as a server with visible=false, so the user never
sees this dialog.
For this application, I do not need the macros within the files. Is there a
way to load the file without macros so the dialog does not show? Is there a
way to query the office application to see what security setting it is set at?
Thanks,
Dan