Launch Microsoft Word macro with an applet

Hi,
I've got the following problem :
First, I'd like to generate a .txt file (from an applet) on the client PC with informations (name, address...)
Second, I'd like to lauch word macro from the applet and to merge informations from the .txt file with the .doc.
Is it possible to do that ?
Is it the best solution ? (the goal of the application is to generate letter to send to client)
Thank You
Sophie

You can do it via Applet Servlet Communication.

Similar Messages

  • Adding Company Knowledge with OpsMgr 2012 Console - "Failed to launch Microsoft Word"

    Hi everyone!
    I'm trying to add company knowledge using the OpsMgr 2012 console (32-bit) on Windows 7 Ultimate (32-bit) using the guidelines provided at the following link...
    http://technet.microsoft.com/en-us/library/hh212900.aspx
    I'm using Office 2010 Pro Plus SP1 (32-bit) with the .NET Programmability feature and the Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime installed, but I get the dreaded "failed to launch Microsoft Word" error...
    ...any help or guidance would be greatly apprecaited!
    Regards,
    JJ

    Thanks Andres!
    I have confirmed that the following instructions does allow you to use Word 2010 32-bit running on Windows 7 64-bit or Windows Server 2008 R2 to edit company
    knowledge...
    1. Go to the directory where the OpsMgr console is installed (example: C:\Program Files\System Center\Operations Manager 2012\Console )
    2. Make a copy of Microsoft.EnterpriseManagement.Monitoring.Console.exe.config
    3. Edit Microsoft.EnterpriseManagement.Monitoring.Console.exe.config using Administrator rights
    4. Search for “</dependentAssembly>” and remove the “<publisherPolicy apply="no" />” line immediately following the “</dependentAssembly>” line
    Hope this helps!
    Regards,
    JJ
    Well, firstly I have to agree with other people's comments along the lines of "It shouldn't be this hard!", but I can happily say that the solution above (by IM5FOOTNOTHIN)
    worked for me...once I noticed this crucial footnote: "Do this for
    ALL instances of the
    <publisherPolicy apply="no" /> line that immediately follow the </dependentAssembly> line"

  • Convert 1 single microsoft word document with section breaks to multiple pdf files

    I am a windows 7 users. I have a single microsoft word document which contain 1500 pages. These 1500 pages are seperated by sections breaks in the microsoft word. I am trying to convert this word document to multiple pdf files seperated by the section breaks in the Microsoft word. How can I convert the single microsoft word document with section breaks to multiple seperate pdf files?

    Acrobat (Adobe PDF Printer and PDFMaker ) doesn't recognize the Section breaks.  It never has as far as I am aware.  The easiest thing to do is to manually break up a copy of the MS Word Document into the Sections you need and then create the PDFs from those MS Word documents.

  • HELP!!!! I have spent hours trying to find out how to embed an image with a link or a Microsoft Word document with a hyperlink built within the document -- not as an attachment! Does ANYONE know the secret? Can it be done, or not! My PC clients do it.

    HELP!!!! I have spent hours trying to find out how to embed an image with a link, or embed a Microsoft Word document with a hyperlink built within the document -- not as an attachment into my email -- but where it shows as the email content when opened! Does ANYONE know the secret? Can it be done, or not? My PC clients do it all the time easily. Then I want to be able to send the embedded image/document (not as an attachment, but visable within the email when opened) to many email contacts at once, BUT the individuals receiveing them DO NOT SEE the other email contacts. Cannot seem to be able to find anything on being able to do these 2 tasks.PLEASE, SOMEONE, HELP!!!

    Don't know if this applies to Lion, but read here:
    http://www.makeuseof.com/tag/create-html-announcement-mail-iweb-mac/

  • Push Microsoft Word settings with ARD

    Can someone tell me how to push Microsoft Word settings with ARD?
    Basically I have been tasked with figuring out how to default save as .docx in Office 2008 and Office 2011.
    I have 50+ users and I'd like to be able to push this settings change using ARD.
    Any help is greatly appreciated.

    If anyone comes across this thread looking for an answer, here it is.
    Basically what I was told:
    That particular setting is stored in the following file:
    /Users/USER_NAME/Library/Preferences/com.microsoft.Word.plist [likewise for PowerPoint and Excel]
    However, be aware that you'd also be replacing several customizations that they may have, as well as other parameters (like last folder used). Perhaps it would be better to access each machine, load up Word and set whatever setting you want through the Screen Sharing feature.

  • I'm unable to open my Office Word for Mac. The message say's check with developer to make sure Microsoft Word works with this version of Mac OS X.

    I'm unable to open my Office Word for Mac. The message say's check with developer to make sure Microsoft Word works with this version of Mac OS X.
    Orginally I downloaded OFFICE from the Apple Store App, so unable to reinstall as it suggest.

    Which version of Office, 2004, 2008 or 2011
    and
    MS Office is not available from the App Store, so where did you get it?

  • On iPad can I open a Microsoft word file with apple pages app?

    On iPad, can I open a Microsoft word file with apple pages application?  If so how do I perform this activity?

    Yes you can open Word files. If it is an email attachment you can simply tap and hold down on the icon and select "open in" and then select Pages - as long as you have the Pages app on the iPad.
    Where is the file on your iPad or how do you want to move it to the iPad?

  • I'm running OSX 10.8.5 Mountain Lion.  What version of QuarkXpress and Microsoft Word run with this level?

    I'm running OSX 10.8.5 Mountain Lion.  What version of QuarkXpress and Microsoft Word run with this level? My older versions are no longer supported.

    Hi Jrehoboth,
    please see here: http://forums.quark.com/viewtopic.php?f=14&t=4608
    At the bottom of the post we summarized which version you can run on each version of OS X:
    So if your operating system is OS X Mountain Lion (10.8) then you can use QuarkXPress 9 & QuarkXPress 10 and soon QuarkXPress 2015.
    Thanks
    Matthias

  • Launch Microsoft word application inside AIR

    Hi Guys,
    I am stuck up somewhere not able to find the solution to my
    prolbem.Let me explain the problem in detail.
    I working on an Adobe AIR application and I need to launch
    the microsoft word application to open a particular document which
    a user can then modify.
    This word document are some defined documents stored some
    where in system. The user can then modify the document and can
    store that locally in the database.My concern is to launch the
    microsoft word document in my AIR application and then let user do
    the changes to the document and then i will save the document in my
    database as BLOB.
    Is there any good way of doing this.I hope Adobe has taken
    care of such scenarios and there must be some API's or component in
    Flex builder 3 so that i can use that.
    I am hoping with the finger crossed and waiting for a good
    response from Flex people.
    ~ Hstrong

    I am importing Word documents ( in xml format ) into an Air
    application and storing them in a blob in SQLite. When a user
    selects a document, I export it to a file and submit a URLRequest
    to open it. It launches in IE initially (asking if you want to open
    the document), but when IE sees the xml declares it a Word
    document, IE opens Word.
    To load the file to the database:
    //set up and open the database
    var sqlConnection:SQLConnection;
    sqlConnection = new SQLConnection();
    var dbFile:File =
    File.applicationDirectory.resolvePath("cASM_db.db");
    sqlConnection.open(dbFile);
    //open the file, read, and close (note reading bytes with
    readBytes)
    var fileStream : FileStream = new FileStream();
    fileStream.open(asmModel.newTemplate, FileMode.READ);
    var myBlob:ByteArray = new ByteArray();
    fileStream.readBytes(myBlob); //read the object
    fileStream.close();
    //insert the blob into the database (note use of QUOTE
    function to format blob into hex)
    myStmt.sqlConnection = sqlConnection;
    myStmt.text = "Insert into doctype (" +
    "docname_ch, document_bl) " +
    "values (?, QUOTE(?))";
    myStmt.parameters[0] = asmModel.newTemplate.name;
    //docname_ch
    myStmt.parameters[1] = myBlob; //template_bl
    myStmt.execute();
    To unload the file from the database and open:
    //identify the file to be populated and delete if already
    there (note use of File type and resolvePath function)
    curFile = File.applicationStorageDirectory;
    curFile = curFile.resolvePath("view/version_" +
    asmModel.selectedDocument.VERSION_NU + "_" +
    asmModel.selectedDocument.DOCNAME_CH);
    //if it is there, delete it
    if (curFile.exists)
    curFile.deleteFile();
    //open the database connection
    var sqlConnection:SQLConnection;
    sqlConnection = new SQLConnection();
    var dbFile:File =
    File.applicationDirectory.resolvePath("cASM_db.db");
    sqlConnection.open(dbFile);
    //get the document (now in hex string format)
    myStmt.sqlConnection = sqlConnection;
    myStmt.clearParameters();
    myStmt.text = "Select docname_ch, document_bl " +
    "from doctype " +
    "where docname_ch = ?";
    myStmt.parameters[1] = asmModel.selectedDocument.DOCNAME_CH;
    myStmt.execute();
    myResult = myStmt.getResult();
    //now convert the hex string back to a byteArray (note the
    use of a custom toArray function)
    var myBlob:ByteArray = new ByteArray();
    myBlob = toArray(myResult.data[0].DOCUMENT_BL);
    //now write the document to the file
    var fileStream:FileStream = new FileStream();
    fileStream.open(curFile, FileMode.WRITE);
    fileStream.writeBytes(myBlob);
    fileStream.close();
    //now set up the URLRequest
    var request:URLRequest = new
    URLRequest("app-storage:/view/version_" +
    asmModel.selectedDocument.VERSION_NU + "_" +
    asmModel.selectedDocument.DOCNAME_CH);
    var docType:String = request.url.substr(request.url.length -
    4, 3);
    if ((docType != "pdf") ||
    (HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK))
    navigateToURL(request);
    else
    Alert.show ("You need to upgrade Adobe Reader.", "Error");
    trace("PDF cannot be displayed. Error code:",
    HTMLLoader.pdfCapability);
    Here's the custom function toArray:
    public static function toArray(hex:String):ByteArray {
    hex = hex.substring(hex.search("3C3F786D6C"),hex.length - 3);
    var a:ByteArray = new ByteArray;
    //make sure the string has an even number of characters
    if (hex.length&1==1) hex="0"+hex;
    //change each hex pair to a single int (ascii char code)
    // and place the int in the byte array
    for (var i:uint=0;i<hex.length;i+=2) {
    a[i/2] = parseInt(hex.substr(i,2),16);
    //return the byte array
    return a;
    Hope this helps!
    Steve

  • Can I sign a Microsoft Word Document with the digital signature from a MIlitary issued CAC card?

    Is it possible to sign a MS Word doc with the digital signature froma  Military issued CAC card? It is easily done in Adobe but, I cannot find any guidance for MS Word docs.

    According to this thread in Microsoft's forums:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/can-i-how-do- i-add-a-digital-signature-to-a/eb2c2787-b13f-4388-b20f-4580515eec95
    this is not possible with Word for Mac.
    Regards.

  • Integrating Microsoft Word documents with ADF BC and JClient technologies

    Hi,
    We are developing a Police Management System in JAVA with the Oracle Jdeveloper 10.1.2.0.0. We are using for the access to the data, in the businesses tier, the ADF Business Component Technology and for the User Interface, in the client tier, the JClient for ADF Technology. The used Database is Oracle Enterprise Edition 10.1.0.3.0. with the intermedia option.
    We were looking for ways to upload and insert Microsoft Word Documents into a view object using JClient on the client tier. We have found the following options:
    1) Oracle Intermedia database datatype ORDSYS.ORDDOC and their corresponding ADF Business Compomnents domains -> The problem is using Jclient on the client tier. In Oracle JDeveloper 10g, developers will not be able to create new applications using JClient interMedia controls. JUImage (limited to images only) is the JClient control available to access multimedia in the database.
    2) Oracle COM Automation Feature -> We were studying the possibility to built a solution with Oracle and Microsoft Word using Oracle COM Automation Feature for Java. The problem is Oracle COM Automation Feature requires Windows NT, Windows XP, Windows 2000, or Windows Server 2003. We are using a database on linux, therefore this option is not valid.
    3) CLOBs in database and theirs corresponding ADF Business Components domains -> But I don't know how to use ADF BC objects in JClient tier.
    Can someone please help?
    Thanks,
    Patri

    Hi,
    I have worked with BLOBS or CLOBS and their corresponidng ADF Business Components domains, but I don't know how to use ADF BC objects in JClient tier.
    To sum up, I want to upload, insert and view microsoft word documents by using a JClient application using ADF/BC4J components.
    Thanks,
    Patri

  • MS-Word Macros with paramers via OLE

    Hi,
    This is probably more of an MS-Word question than a Forte question,
    but somebody out there might have done this before...
    I have some MS Word macros (Originally WordBasic, but recently they
    underwent automatic conversion to become Visual Basic) which take
    parameters.
    I used to call these macros from Forte using DDE.
    These days, it's a lot more fashionable to use OLE automation than
    DDE so I thought I'd give that a go.
    But I can't.
    Word.Applicaiton has a Run() method to run macros, but not macros
    with parameters. Is there a neat way of getting macro parameters
    across to Word?
    - Ed.
    Eduard E Havelaar | For the foolishness of God is wiser
    Information Services Section | than man's wisdom, and the weakness
    University of Canterbury | of God stronger than man's strength
    Christchurch, New Zealand | - I Cor 1:25

    have a look at this here article:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Just moved from microsoft word, struggling with one thing . . the view

    I've just recently started using pages rather then microsoft word.
    It seems great, but there is one thing that I'm struggling with, the page view
    No Matter what I do I can't seem to show the pages left border (from the perspective of looking at the computer screen)
    In word you can see the entire page, then there is space where it finished and around the sides.
    I can't seem to get the view to show the space around the top of the first page and the left border of all the pages.
    Any help is greatly appreciated!
    Thanks in advance

    What about the view - one up option? I see it in the help but I don't see it in my document. When I click on View, I don't see one up as an option.
    Anyone know if there's a way to see one page above/below the other, rather than spread out side by side?
    It's not in the View menu. One-up & two-up is in the percentage box at the bottom left of the document.

  • Microsoft Word crashes with snow leopard. need help! this is aweful

    I installed snow leopard and since then every time i open a word document on my Microsoft word (mac 2008), it crashes and does not open. i can open word and start typing a new doc, save it and then open that one and it works. but if i try to open a document that i created before snow leopard (regular leopard), it crashes right away. please help because i am a college student and i need to access my docs!!!

    Hi all--this worked for me:
    1. Uninstall Office using the Remove Office program.
    2. Remove (trash) the microsoft folder from the fonts folder. Then delete the word plist from your user library preferences folder.
    3. Run disk utility to repair permissions and restart.
    4. Run Snow Leopard cache cleaner and do a deep clean on the cache of your system.
    5. Run Easy Find to find "fontcachetool" (it's an invisiable file, so make sure you enable easyfind to locate invisible files. Trash the fontcachetool file once it's located. Note: I actually had two of these files, and I trashed them both.
    6. Restart.
    7. Run disk utility to repair permissions again, and restart.
    8. Install Office 2008.
    9. Do NOT open any Office programs, and restart.
    10. Install SP 1 (note: I installed this from a disk image. My previous attempts to use the automatic check for updates "feature" in Office to download and install the program did not work--believe me, I uninstalled and reinstalled Office three times before performing the tasks I am listing here. You can download the disk images of the SP here:
    SP 1 (12.1.0): http://www.microsoft.com/downloads/details.aspx?familyid=395D1487-A3A6-4106-A0F8 -4D6E1D6D89D2&displaylang=en
    SP 2 (12.2.0): http://support.microsoft.com/kb/973254
    Update 3 (12.2.1): http://www.microsoft.com/mac/downloads.mspx?pid=Mactopia_Office2008&fid=9730452B -E6AD-4330-93E4-57F66293BF1C#viewer
    11. Restart
    12. Install 12.2.0. Restart.
    13. Install 12.2.1. Restart
    14. Repair permissions.
    15. Restart.
    So far so good. I hope this helps.
    Antonio

  • Microsoft Word problem with PDF Mac OS

    Using Word from Office 2011 under Snow Leopard, if I use the normal 'Print>Save as PDF' the resulting PDF makes my Acrobat Pro 9 hang and I have to force quit it. Saving the files a .doc format makes no difference. I did not have this problem with Office 2004 and Snow Leopard.
    If instead I open the resulting PDF in Preview and then run 'Print>Save as Adobe PDF' the file will work in Acrobat 9.
    Excel does produce a working PDF via the  'Print>Save as PDF' route as does Mail.
    Thanks in advance for any thoughts?

    I, too unexpectedly ran into this problem yesterday while doing my [usually] routine client billing. I have an invoice template in MS Word (now version 2011), and I create PDF copies and email them to my clients.
    I spent half the day yesterday trying to get to the bottom of this issue, and it was certainly comforting to see in the forum that at least a few other people are experiencing the same symptoms. I have now verified everything that others have reported in this thread:
    1. The problem occurs when saving a text document (MS Word 2011 or Apple Text Edit in Rich Text mode) to PDF using the PDF conversion tools in the Mac OS Print dialog (Save as PDF or Save as Adobe PDF).
    2. The problem only occurs when your document contains OpenType PostScript fonts (e.g Adobe's Myriad Pro, Minion Pro, etc.) The problem does not occur when you're document contains only Adobe PostScript Type 1 fonts, TrueType fonts, or OpenType True Type fonts from Microsoft (e.g. Calibri or Cambria)
    3. Apple's Preview application is impervious to this problem, but Adobe Acrobat 9 (Mac or PC) chokes on files generated this way.
    4. If you generate the PDF using the simple "Save as PDF" in the Mac OS Print dialog, the file will seemingly save ok, but Acrobat 9 will hang when it tries to open the file.
    5. If you generate the PDF using the "Save as Adobe PDF" option in the Mac OS Print dialog, the PDF exporter will hang, and the file will not get generated.
    6. If you generate the PDF by saving the PDF Preview from Word or by opening the "simply" generated PDF in Apple Preview and then re-save the PDF, Acrobat 9 will open the file but display alphabet soup wherever the OpenType PostScript font was used.
    7. For some reason, neither Excel and PowerPoint 2011 seem to exhibit this problem when using OpenType PostScript fonts and exporting to PDF from the Mac OS Print dialog.
    Now, here's the clincher: This problem DOES NOT OCCUR if your Mac is running the previous version of Snow Leopard (OS X 10.6.6).
    I purchased a new MacBook Pro laptop a couple months ago, and about two weeks ago, Apple pushed out what they called the Mac OS X 10.6.7 update for "early 2011 MacBookPro computers." Naturally, I installed the updgrade back then, and this is the first time I've exercised the PDF export from Word since then.
    I also have a MacPro tower, which is still running OS 10.6.6, and I can export PDF documents contaiing OpenType PostScript fonts with no problem in Acrobat from that machine.
    Bottom Line: Apple's latest Snow Leopard upgrade to OS 10.6.7 is causing this problem, but getting it fixed is going to require cooperation between Apple, Adobe and Microsoft...
    In the mean time, if you're using Apple's Time Machine and you want to revert your Mac OS to version 10.6.6, here's a link to an Apple Tech Note about how to do that: http://docs.info.apple.com/article.html?path=Mac/10.6/en/15216.html
    I've contacted Tech Support at all three companies, and of course, each one thinks that it's the other comany's problem...but perhaps since this essentially an Adobe Acrobat issue, Adobe can take the lead in troubleshooting it.
    Bob K

Maybe you are looking for

  • Problem in importing data from shape file to Oracle Spatial

    The following error is being displayed symbol : constructor ShapefileReaderJGeom(java.lang.String) location: class oracle.spatial.util.ShapefileReaderJGeom Though i have downloaded latest Spatial Java class library (sdo_java_040319.zip) file and prop

  • How to ignore the DTD in an XML file

    I am using XMLReader as XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser"); to parse an xml document. The XML has a <!DOCTYPE ....> in it which specifies a dtd file. If I do not have the dtd file on my local ma

  • Rounding Up Difference between Billing and FICA

    Hi All,  We currently have an issue with Billing and FICA in that the way figures are rounded up are different such that there's always a difference of u20AC0.01 between individual line items . However this does not happen for all cases. Does anyone

  • Keywords with more than one word

    When searching by keyword, do I need to use the full keyword if it's 2 or more words?  For instance, if my keyword is niagra falls, will those photos come up if I just search "falls"?  Or do I need to use keywords Niagra Falls and falls? Thank you!

  • Filter in RSPLSE not working.

    Hi, I have made the Lock setting for one of the IP query in RSPLSE EXPERT mode. It is working fine in Dev environment. But I have transported settings to Test and it is not working there. Please elt me know what I could be missing out. Thanks in adva