Re: Displaying HTML
- Posted by isaac-topica at blueapples.org Feb 05, 2004
- 486 views
Actually, this should work just fine. The result will be that the HTML file is displayed in the default browser, just as if it where double clicked in your favorite file manager. This is exactly how those programs open files when you ask them to. ~ Isaac Quoting Juergen Luethje <j.lue at gmx.de>: > > > Hayden McKay wrote: > > > One way is to use 'system_exec()' with the filename. > > and let the users defualt browser open the the file. > > > > ex: > > integer code > > code = system_exec("ReadMe.html",2) > > > > Under WINDOWS the above should open a browser window with the readme in > it. > > What Windows version and what Euphoria version are you using? > On my system -- Windows 98, Euphoria 2.4 (tested by using "exw.exe") -- > this does not work. I actually can't imagine, that the suggested method > would work as expected on any other Windows version. > > However, "good old" ShellExecute does the job. > > Regards, > Juergen > > > > ----- Original Message ----- > > From: "Philip Deets" > > Sent: Tuesday, February 03, 2004 12:22 PM > > > > > >> Hi, I want to add a View ReadMe Menu Item to the Help Menu in my > >> program. The readme is in HTML. I've looked through the platform SDK > >> but can't find any answers. Can you help me? > >> > >> Windows XP SP1 > >> win32lib 0.59.1 (the latest, I think) > >> > >> Thanks, > >> Phil > > > > TOPICA - Start your own email discussion group. FREE! > >