cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Built In View HTM function

SarahPrice
10-Marble

Built In View HTM function

I'm trying to add a new item under the Help menu that will open an HTM file.


I know that Arbortext has a built in view_pdf function and when I call it it does open the .htm file that I need within the web browser. However, I was wondering if there was a built-in view_htm or view_html function?


Thanks in advance for your response.

4 REPLIES 4

Hi, Sarah...

Try compose::compose_viewhtml(yourHTMfile, 1).

-Brandon 🙂


Alternately, if you're using Java and want to call the default
browser, you can use:

String yourUrl = "file:///c:/somedir/somefile.html";
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + yourUrl);



On Tue, Apr 5, 2011 at 11:59 AM, Brandon Ibach
<brandon.ibach@single-sourcing.com> wrote:
> Hi, Sarah...
>
> Try compose::compose_viewhtml(yourHTMfile, 1).
>
> -Brandon 🙂
>
>
>

We use:
browse_url($url)

Thanks so much Brandon this did the trick perfectly.

Sarah
Announcements

Top Tags