Originally posted by Frank Rogers
View Post
"\SHELL\PRINT\command" to " "\SHELL\OPEN\command"
I use the "opener" function quite often in document management systems to check that the user has a default application configured for a selected file type.
It's better than ShellExecute("Open"...) failing because they don't have something configured for a file they select.
It also lets you play tricks with the the operating system like opening ".dat" or .csv files with the default ".txt" application to get round MS's horrible habit of configuring Excel as the default application for .csv files.
It also identifies the default browser for .html etc files.
.
Leave a comment: