Once I open Visio from web with local file from the file system with the following command:
window.location.href = "ms-visio:ofv|u|file://C:/mpsEmptyVisi