How to Open a MS-Word doc thru Java...??

Hi,
I have a requirement of providing a JButton in my app, upon clicking of which, i need to create a Word-Doc ( say xyz.doc & open it ( probably thru Word itself...??!!)
Does anyone have a clue/idea as to how we could do this ??
Thanks,
fritz

Try JACOB.
http://sourceforge.net/projects/jacob-project

Similar Messages

  • How to open pdf or word doc or notpad file in flex

    hai friends,
           how to open pdf or word doc or notpad file in flex. i am doing flexcoldfusion project. now i reterive data(notpad or worddoc or pdf file path) from database using coldfusion.now i want to open that file content .if i reterive notpad file .that will show in notpad. if it is possible. give example.
    regards,
    welcomecanv

    Hi WelcomeCan,
    Try this...
    var urlRequest:URLRequest = new URLRequest();
        urlRequest.url = "http://www.yourdomain.com/notepad.txt";
        //urlRequest.url = "http://www.yourdomain.com/FlexComp.pdf";
        navigateToURL(urlRequest,_blank);
    Thanks,
    Bhasker Chari

  • How to open an emailed Word doc in Pages

    I emailed myself a Word doc from my MacBook Pro. Need to work on the doc in pages. How can I open and edit the Word doc in Pages?

    On your iPad 2 when you receive your email tap and HOLD on the attachment to reveal an Open In dialogue - select Pages and your attached Word document should open.

  • How to open PDF or Word Doc or JPEG in a browser using JSF

    On submit action, I read the byte array data. Along with byte array, I do get the property information like what the bytearray stands for like PDF or Word or JPG etc. How can I display or open this data in the browser accordingly. An action in JSF is causing me to read the bytearray data. Now I want to navigate to a new page to display or open the byte array content.

    You can access the raw servlet response object via the ExternalContext by way of the FacesContext. Then write the bytes directly to the response after setting the proper HTTP headers. Do not forget to call FacesContext.responseComplete().

  • How can I use Automator to open and save Word docs with links?

    Hi-
    I'm having trouble building a Workflow to open and save Word docs with links.
    My Workflow so far:
    1. Get Finder items
    2. Copy Finder items (to new folder)
    3. Rename selected items
    4. Open selected items (Word docs)
    Three problems occur.
    The first is a Word 2004 problem -- I can't get the warning "This document has links in it; do you want to open it with/without updating the links" to go away (Unilke the Macro warning toggle capability, there is nothing in the Preferences for Word 2004 that addresses the links warning, as far as I can tell; any insight you can shed on this would be terrific.)
    The second problem happens with Automator: if I manually accept the update of the first document's links, Automator opens that document but then halts completely, even though I've instructed it to open multiple documents.
    The third problem I have is that there's no Finder action in Automator that allows me to save the document that's now open (as far as I can see).
    Any suggestions for how to fix? If I can get this to work, and scheduled in iCal, it will be an unbelievable time saver.
    Thanks,
    Jeremy
    PowerPC G5   Mac OS X (10.4.6)  

    Hi there Jeremy,
    to do this you are going to have to add in some Run AppleScript steps...
    These will rely on GUI Scripting. So first you need to activate GUI Scripting.
    Now we need to add in a Run AppleScript action to the end of your workflow...
    This will replace your current number 4 in the workflow (Open Selected...)
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">on run {input, parameters}
    set allItems to every item of input
    repeat with currItem in allItems
    tell application "TextWrangler"
    open currItem
    end tell
    activate application "TextWrangler"
    tell application "System Events"
    tell process "TextWrangler"
    delay 2
    --when the Word document is opened I have told it to press okay !
    --I don't know what key you want it to press in the dialog box
    keystroke return
    delay 2
    --save the doc
    keystroke "s" using command down
    delay 5
    --close the doc
    keystroke "w" using command down
    end tell
    end tell
    end repeat
    return input
    end run</pre>
    The above script should open each Word Document, press a button in the dialog box then do a save and then close the doc...then loop through the rest of them.
    You need to replace the name Text Wrangler with Microsoft Word (or whatever it is called!), I don't have it on my Mac.
    You will have to let me know what button needs pressing in the first dialog, if it isn't the 'highlighted ' one then we will have to amend the script...
    regards
    Ric

  • Will I be able to open my 2004 word docs in Lion using Pages?  How about Powerpoint using Keynote?

    Will I be able to open my 2004 word docs in Lion using Pages?  How about 2004 Powerpoint using Keynote?

    KT35 wrote:
    My word 2004 won't open, it says you can't open the aplication Microsoft Word because power PC applications are no longer supported". How can I get it to work?
    You can't.
    The components of MS Office 2004 (which includes Word 2004) are PowerPC apps. In order to run PowerPC apps in Snow Leopard and earlier on an Intel Mac required the assistance of Rosetta software. Lion does not support Rosettta, so such apps can not be used in Lion.
    In order to use your documents in Lion, you will need to -
    • update the apps to a current version, ones which do work in Lion
    • migrate the docs to other compatible apps which do run in Lion, such as Pages.

  • HT204394 how do i put microsoft word docs onto icloud

    how do i put microsoft word docs onto icloud so that i can transfer to my mac book

    Not really.
    You can sign into iCloud.com from a web browser on your PC.
    Open Pages and drag the Word document in or click the Gear on the top right and upload.
    This will convert it to a Pages document. It will be accessible to you through iCloud and the Pages app on your iOS devices. You can always redownload the file from iCloud as a Word document.
    As with any document conversion, this may alter the formatting.

  • How to switch from a word doc to another using a keyboard shortcut?

    how to switch from a word doc to another using a keyboard shortcut?

    Cmd+tilde to switch between open Word documents, or
    Cmd+tab to switch between open applications, if that's what you are after?

  • How to associate 1997-2003 Word doc files with Word 2010?

    Hi
    I am surprised not to be able to find out how to associate word 1997-2003 Word files with Wrod 2010. The object is to have Word 2010 open the document when I click on the document. Many of my Word 1997-2003 documents were created using Word 2010.
    When I try to use the associations function in Windows 7 I cannot find the Word program. Checking "Properties" on the Word Icon leads to a program called "CVH.EXE" which does nothing when I try to open doc files with it.
    Thank you.
    David
    lifeform23

    Hi,
    From your description , I understand that you want to open the prior Word doc files  in Word 2010.
    You can refer to the KB article that resolve this issue:
    How to open and save Word, Excel, and PowerPoint 2007 or 2010 files in earlier versions of Office programs
    http://support.microsoft.com/kb/924074
    Sincerely,
    Harry 

  • How can I edit a word doc received in my icloud mailbox on my ipad?

    how can I edit a word doc received in my icloud mailbox on my ipad?

    You need a compatible app in which to save it such as Pages or Documents to Go.
    Find an app that is compatible with Word that you want to purchase and then after you download that app - go to that email and you can select the "open In" option. Tap and hold down on the open document in the email and select "open In' and select the app that you purchased.

  • I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    Julian,
    Pages simply won't support a table with that many rows. If you need that many, you must use another application.
    Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
    There are probably other ways, but that's what comes to mind here.
    Jerry

  • How do I change a Word doc to a PDF doc?

    How do I change a Word doc to a PDF doc?

    See http://forums.adobe.com/docs/DOC-3582

  • How do I convert a WORD doc to pdf on my Mac

    How do I convert a WORD doc to pdf

    Easiest way if you have Word installed: from Word's File menu, do "Save as..." and you will find a pdf option in the "Format" pull-down:
    The example is from Office:Mac 2008; should be similar in Office 2011.

  • After having shut down after installing updates, when I restarted and tried to open a word file, it started opening ALL the word docs and the only way I could stop it was by"force quit"  arted  and tried to open

    After having shut down after installing updates, when I restarted and tried to open a word doc, it started opening ALL the word docs and the only way I could stop it was by"force quit"  . This is REALLY annoying!!

    May be it is the Resume feature.
    System Preference > General > Number of recent items
    Uncheck the box next to      "Restore windows when quitting and re-opening apps".
    Best.

  • How to concert pdf to word doc

    ?help, how to convert pdf to word doc?

    Please look at the responses to your other post about this issue.
    There is no need to post multiple times.
    This is a User 2 User forum and we are not paid like Adobe Customer Service. Please respect the volunteering of the responders time.

Maybe you are looking for

  • Questions on ALV report

    Hello, I have a report that is showing data by company code and vendor number. I have the file sorted by company code and vendor number. when I run the report for 1 company, the company code prints on the first line.all of the other lines have the co

  • Upload Manual bank statement with business area

    Hi Gurus, Business area is required field. While uploading manual bank statement through ff67, how can system identify the correct business area? Is there any option in which we dont have to enter business area manually while uploading? Please revert

  • Painting one root Application Module to rule them all

    hi The description below uses the same MyApplicationModuleListener approach as I describe in the forum thread "painting a picture of Application Module pooling". Another example review of Application Module pools behaviour is the blog post by Chris M

  • How to apply ICC profiles on all the photos in preset before printing.   and user preset

    Hi, hope someone can point me to the right direction..  I have 2 questions about ICC profiles and settings in lightroom. 1.)  I found that many photos that I have is a little two blue.  There are thousands of photos.  I would like to know if there is

  • Signature of Oracle forms apps

    How can I read the signature (version, checksum, size, last modified) of an Oracle forms application ?