Re: Displaying HTML

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu