Re: Displaying HTML

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

Juergen Luethje wrote:

>
>
>isaac-topica wrote:
>
>  
>>Actually, this should work just fine.
>>    
>>
>What do you mean by "should"?
>I tested it, and it did *not* work on my system.
>Did you actually test it? If you did so, on what system?
>Which Windows version, and which Euphoria version?
>What *exactly* did you do? Facts please ...
>
>  
I have called this API from C++ and Visual Basic. It works. If it didn't 
work for you, then there is most likely something misconfigured in your 
registry.

>>The result will be that the HTML file is
>>displayed in the default browser,
>>    
>>
>As I previously wrote, that was *not* the result, that I got.
>When I called
>   integer code
>   code = system_exec("ReadMe.html", 2)
>actually nothing happend on my system. The file "ReadMe.html" was in the
>same directory as the regarding Euphoria program.
>
>  
>>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
>>    
>>
>Regards,
>   Juergen
>
>
>>Quoting Juergen Luethje:
>>
>>    
>>>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!
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu