🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19464

Re: How to call Help file from application?

#19464
From: Rich Wilkman
Date: Wed, 04 Feb 1998 00:00
77 lines
3156 bytes
Rekha:

I'm pretty sure that the native OS won't let you kill the process and
close the app.  The best you'll get is detaching yourself from the
process.

You could always convert the hlp file to HTML and use an HTML bean to
display the info from your application.  Far more portable that way.

-Rich

Rekha Venkatesh wrote:
> 
> Thanks Rich
>         It worked. Problem now is I don't have any control over that process. I
> cannot close it before exiting. I tried to destroy the process before my
> application exits by calling  Process.Destroy (), but it does not close the
> application.
> 
> Rekha
> 
> Rich Wilkman <rwilkman@corp.borland.com> wrote in article
> <34D8AC96.DBE7366F@corp.borland.com>...
> > Rekha:
> >
> > You'll need to include the calling application in your exec string to
> > have a chance at this working.  Windows knows what to use on .hlp
> > files because it can read the registry.  Java doesn't have access to
> > that.  Try something like:  "c:\windows\winhelp.exe help.hlp" at a DOS
> > box.  If that works, then use that string in your Runtime.exec() call.
> >
> > -Rich
> >
> > Rekha Venkatesh wrote:
> > >
> > > Hi
> > >         We have a help.hlp excutable file. I would like to invoke it as
> an action
> > > for choosing a menu item. I tried to "exec" this file but it does not
> > > invoke the file. It gives me an "IOException error 193". Does anybody
> know
> > > how to do this?. I have an html vesion of the help file also.
> > >
> > > Thanks
> > > Rekha
> >
> > --
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Rich Wilkman
> > Senior Quality Assurance Engineer
> > Borland JBuilder Team
> >
> > If you see something that looks like an opinion up there,
> > it's mine and mine alone.
> >
> > Mail sent to me from the newsgroups won't bounce but will
> > be ignored.  If I have time, I'll respond, but you  have
> > a better chance if you confine your posts to the newsgroups
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <34D90039.7D1654E9@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd317e$b66ae120$18d812c7@rvenkatesh> <34D8AC96.DBE7366F@corp.borland.com> <01bd31ac$9ae644c0$18d812c7@rvenkatesh>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,64238dedfa924b3
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: How to call Help file from application?
Date: 1998/02/04
Message-ID: <34D90039.7D1654E9@corp.borland.com>
X-Deja-AN: 322145811
Content-Transfer-Encoding: 7bit
References: <01bd317e$b66ae120$18d812c7@rvenkatesh> <34D8AC96.DBE7366F@corp.borland.com> <01bd31ac$9ae644c0$18d812c7@rvenkatesh>
Content-Type: text/plain; charset=us-ascii
Organization: None
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language