The usual way is with ShellExecute(Ex) : Launching Applications (ShellExecute, ShellExecuteEx, SHELLEXECUTEINFO)
Open any file
XUWANBIN
201
Reputation points
Which API to use? You can call the system to open the specified file. I tried to use the call browser to open the full path (with file://) but some files open in a non-standard way (e.g., MP3 files won't play in win11).
Accepted answer
1 additional answer
Sort by: Most helpful
-
David Lowndes 4,716 Reputation points
2023-01-13T11:46:27.13+00:00 Are you looking for ShellExecute(Ex)?