S
Scott
I need to use code to change the default program that will open a file.
Can someone help me with a starting point for how to do this?
Here's the situation... I am dynamically creating PowerPoint files out
of Access. To do this, I create the files in PowerPoint .mht format.
The .mht is a PowerPoint format for a, "Single File Web Page." (The
users need the reports in PowerPoint, which is why I've gone to the
trouble of outputting the files to this format.)
Here's the problem....
When a user clicks on an .mht file, Windows opens it with a Web
browser.
I already have Access open the file in PowerPoint immediately after
creation. The problem occurs when the user accesses the file later,
clicking directly on the file.
As a result, I need to change the default program for these .mht files,
setting them to open with PowerPoint instead of Internet Explorer. I
would like to have Access check if the user has an "incorrect" default
setting in the registry, then make the change when needed.
Can someone offer me a starting point?
Thanks in advance!
Can someone help me with a starting point for how to do this?
Here's the situation... I am dynamically creating PowerPoint files out
of Access. To do this, I create the files in PowerPoint .mht format.
The .mht is a PowerPoint format for a, "Single File Web Page." (The
users need the reports in PowerPoint, which is why I've gone to the
trouble of outputting the files to this format.)
Here's the problem....
When a user clicks on an .mht file, Windows opens it with a Web
browser.
I already have Access open the file in PowerPoint immediately after
creation. The problem occurs when the user accesses the file later,
clicking directly on the file.
As a result, I need to change the default program for these .mht files,
setting them to open with PowerPoint instead of Internet Explorer. I
would like to have Access check if the user has an "incorrect" default
setting in the registry, then make the change when needed.
Can someone offer me a starting point?
Thanks in advance!