Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
How to launch a help file or .chm or .exe from Java

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
dude
Power User
Power User


Joined: 10 Mar 2004
Posts: 376
Location: Savar, Dhaka

Post Post subject: How to launch a help file or .chm or .exe from Java Reply with quote

Hi Mr. Belal,

DK says that you are god(oops...sorry good) in java. So please help me by telling me how to launch a help file from a java application?
Sun Apr 18, 04 9:09 am
Back to top
dude View user's profile Send private message Visit poster's website
Shamim
Just In
Just In


Joined: 07 Apr 2004
Posts: 1

Post Post subject: Reply with quote

from java any executable file can be launched

use getRuntime().exec() method

pass any executable file as parameter

there are quite a few overloaded exec() method in the Runtime class

try out one which is suitable for u

thanx
shamim
Thu Apr 22, 04 12:36 am
Back to top
Shamim View user's profile Send private message
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Thanks dude for ur question.

yes, u have to use the getRuntime().exec() method.
but if u like to execute and executable file (.exe) file then if u just right the file name with its path in the exec() method as string parameter, it will execute the file. to run a help file u have to write --

getRuntime().exec("hh.exe myhelpfile.chm");

here, myhelpfile.chm is the file name of ur help file. u can replace it with ur help file name.

hope it will b WYAWYG (what u asked what u get :shock: )
thanks
belal
Fri Apr 23, 04 10:57 am
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
Lish
Expert User
Expert User


Joined: 16 May 2004
Posts: 174
Location: Middle of Nowhere!

Post Post subject: Reply with quote

i dont have a clue wat u guys are talkin abt...
Mon May 17, 04 7:09 am
Back to top
Lish View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mastermind
Expert User
Expert User


Joined: 23 Apr 2004
Posts: 181
Location: Birmingham,UK

Post Post subject: Reply with quote

Lish wrote:
i dont have a clue wat u guys are talkin abt...


Then you don't need worry about this thread dear....(and...edited as per quantum's request )
_________________
Keep your own dignity, both online and offline throughout your life !!!
Mon May 17, 04 8:47 am
Back to top
Mastermind View user's profile Send private message
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Lish i don't understand what is making u confused. this thread is about to run a help file from a java coded application. if still have any ques, pls ask us..............
Mon May 17, 04 1:30 pm
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
Lish
Expert User
Expert User


Joined: 16 May 2004
Posts: 174
Location: Middle of Nowhere!

Post Post subject: Reply with quote

Mastermind wrote:
Lish wrote:
i dont have a clue wat u guys are talkin abt...


Then you don't need worry about this thread dear....(and...edited as per quantum's request )



i know i dont need too..but i still want to..
stop me if u can.
Tue May 18, 04 8:54 am
Back to top
Lish View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Lish
Expert User
Expert User


Joined: 16 May 2004
Posts: 174
Location: Middle of Nowhere!

Post Post subject: Reply with quote

Belal wrote:
Lish i don't understand what is making u confused. this thread is about to run a help file from a java coded application. if still have any ques, pls ask us..............



java again..is dat all u ever do...?
Tue May 18, 04 8:55 am
Back to top
Lish View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

lish u wrote:
Quote:
java again..is dat all u ever do...?


then i should write:
i dont have a clue wat u are talkin abt... (following u)
Tue May 18, 04 1:05 pm
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
Lish
Expert User
Expert User


Joined: 16 May 2004
Posts: 174
Location: Middle of Nowhere!

Post Post subject: Reply with quote

Belal wrote:
lish u wrote:
Quote:
java again..is dat all u ever do...?


then i should write:
i dont have a clue wat u are talkin abt... (following u)




ic...a taste of my own medicine.
Tue May 18, 04 9:25 pm
Back to top
Lish View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
dude
Power User
Power User


Joined: 10 Mar 2004
Posts: 376
Location: Savar, Dhaka

Post Post subject: Reply with quote

Who knew, my simple question could attract such attention from a pretty girl.

Belal,

I forgot to let you know, your solution is the one that worked for me. Shamim's answer was unclear to me.
Wed May 19, 04 11:31 pm
Back to top
dude View user's profile Send private message Visit poster's website
Lish
Expert User
Expert User


Joined: 16 May 2004
Posts: 174
Location: Middle of Nowhere!

Post Post subject: Reply with quote

dude wrote:
Who knew, my simple question could attract such attention from a pretty girl.


talk abt sweet talking...
_________________

"In three words I can sum up everything I've learned about life:
It Goes On..."
Wed May 19, 04 11:47 pm
Back to top
Lish View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group