• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching Microsoft word from Java application

 
Ruchi Gupta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have built a banking application using java as frontend. Here we require to Export the data of one screen into a word template.
Manually when we store Word Template and the associated macro on to the Local machine we are able to sucessfully launch the word document from the application.
Is there a was by which the application automatically open sthe word document without prior configuration. If teh settings are not done it should load the word template and the macro on to the machine.
Any clues on it!! :roll: ruchi.gupta@db.com
 
David G Risner
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this an applet or an application? If it is an applet is it signed?
If it is an application or signed applet, you can use JConfig (http://www.tolstoy.com/samizdat/jconfig.html) to open the Word document.
If it is an unsigned applet, you could do a showDocument to have it open the Word document from your server. This might be able to open a local file, but I've never tried that. One would hope that it wouldn't for security reasons.
 
Ruchi Gupta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David,
This is an application evoked through an applet.
Thanks anyways I will check the link of JConfig.
Smiles,
Ruchi
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ruchi. Welcome to JavaRanch!
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name here:
here

You can also find the naming policy here:
http://www.javaranch.com/name.jsp
Thank You!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic