Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Winhelp with Java application with context sensitive ness.

Posted on 2004-09-08
17
Medium Priority
?
554 Views
Last Modified: 2008-03-03
Hi all,

  I had a application which is written in Java and its standalone application using swings internally. I need to have a help system other than Java Help system. In that concern I am planning to provide winhelp(Html Help) with context sensitive ness.

 Can anybody help me how to achieve this using Java.

 Thanks a lot in advance.

With Regards,
Venkat.
0
Comment
Question by:developer007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 4
  • +2
17 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 12004511
Why would you want to provide a platform-independent program with a platform-dependent help system?
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12004546
You must find some tool to do this (or build you one).
Do you look at sourceforge?
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12004566
search here:
http://sourceforge.net/search/

and good luck!
0
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 
LVL 18

Expert Comment

by:armoghan
ID: 12004569
You may need to use JNI to accomplish it
0
 
LVL 92

Expert Comment

by:objects
ID: 12004586
0
 
LVL 1

Author Comment

by:developer007
ID: 12004960
Hi all,

 Thanks for the inputs.

  Actually, I have a .chm file, which is generated using roboHELP by converting HTML Help to winhelp(.chm) format.

  my problems are like

  1) How can I call it from my java application.
0
 
LVL 1

Author Comment

by:developer007
ID: 12004969
Hi all,

 Thanks for the inputs.

  Actually, I have a .chm file, which is generated using roboHELP by converting HTML Help to winhelp(.chm) format.

  my problems are like

  1) How can I call it from my java application.
  2) I have many dialog boxes in my Java application and each have a help button. At present the context based Java Help system is working fine. But I want to do same operation with winhelp(.chm) also.
 
  Can anybody help me how to achieve the above same.

 With Thousends of Thanks and million lot of hopes.

deve.
0
 
LVL 92

Expert Comment

by:objects
ID: 12004985
you could use runtime.exec()
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12005170
to call the chmfile from command line:
hh TheChmFile
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12005175
see here for details:
http://www.helpcommunity.ehelp.com/robohelp/kb/RoboHTML/X3_and_Previous/2578.htm


Hope this help you.
Bye, Giant.
0
 
LVL 1

Author Comment

by:developer007
ID: 12005806
Hi all,

 Thanks for the inputs and I have yet to try them.  once I get result I will let you know all of u.

 Can you clarify one thing please.

 1) Is it not possible with out using runtime.execute().
 2) Like JavaHelp can't we use winHelp with context support in Swing Applications.
 
 Thanks a million.

Lam/
0
 
LVL 1

Author Comment

by:developer007
ID: 12013101
Hi all,

  Can you please let me know the answer.

 Thanks.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 150 total points
ID: 12013143
> 1) Is it not possible with out using runtime.execute().

you'd need to write something to read and display cfm file.
or using jni is possibly another option

> 2) Like JavaHelp can't we use winHelp with context support in Swing Applications.

WinHelp is a native application so you need some way to interact with it
0
 
LVL 1

Author Comment

by:developer007
ID: 12013413
Oh..

 Thanks Mr.Objects for the answers. Did u do this kind of thing before. I have searched in the whole internet but I could not get any API for reading the CHM file or else invoking the CHM file with context string.

  Do you know any API which invokes with context string and displays the .CHM file.

  Thanks a lot ..
0
 
LVL 92

Expert Comment

by:objects
ID: 12013432
No I haven't sorry, and am not aware of anything.
0
 
LVL 12

Accepted Solution

by:
Giant2 earned 225 total points
ID: 12013453
Interact with WinHelp (like objects says) you need to invoke it from native code.
So now you have 2 ways:
1) search for an API (that use native to access to hh) [nothing on sourceforge?]
2) write your own an API that use native to access to hh

In both situation, you are nesting to the specific environment (Windows) and this is not the main stone for java (java is platform independent).
0
 
LVL 1

Author Comment

by:developer007
ID: 12023795
Hello,

 Thanks a lot for Mr.Giant and Mr.Objects for your inputs.

 I am trying both of the possibilities and I am sure that they will work. I will tell the result soon and exchange the points soon :)..

 Regards,
Lam.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question