On Thursday, September 8, 2022 at 11:23:24 PM UTC+5:30, dlzc wrote:
On Thursday, September 8, 2022 at 1:50:28 AM UTC-7, timec...@gmail.com wrote:
taxfile='Z:\TAX\EINVOICE\010922_080922.XXX' // (text file)
from inside my app, how to open it in a browser:
SHELLEXECUTE( 0, 0, taxfile, 0, 0, 1 ) opens the file in notepad.
I think you need to pass "chrome @taxfile", or whatever browser is installed. A different kettle of fish.
David A. Smith
thank you.
nope, did not open the taxfile. ('chrome@taxfile')
so, i just copied the .json(text) file to temp.HTML.
now, shellexecute(...temp.html...) opens in the browser for viewing.
(after exit, delete temp.html)
but some lines are 350+ char long, chrome doesn't wrap/scroll that line. the user can view only that fits the screen).
-if i open as shellexecute(...taxfile...), it opens in notepad, which the user can inadvertently edit.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)