I'm building an HTML Editor and have created a function that uses CreateProcess
to open the browser. Is there any way to make the browser automatically open
whatever file is open in the editor?
Printable View
I'm building an HTML Editor and have created a function that uses CreateProcess
to open the browser. Is there any way to make the browser automatically open
whatever file is open in the editor?
I suggest you use ShellExecute instead of CreateProcess. This requires a file, so you may have to save the current document as a temporary HTML file.