Calling a word document on click of a tab

Hi All,
         I need to call a word document which has some layout , on click of a button in bsp and populate some values into it. Where should i define the layout of this word document? In the layout itself ? but that will open in a browser right?
Please give some inputs on it.
Regards,
Ruby.

Hi,
Since Word understands HTML, you can generate HTML in a BSP page (preferable with .doc as extension. Add the end of the layout, you put
       runtime->server->response->set_header_field( name = 'Content-Type'
                                                 value = 'application/msword' ).
You can also have a look at web components of MS. Check
/people/thomas.jung3/blog/2005/02/14/bsp-and-microsoft-excel--learning-to-live-together
/people/thomas.jung3/blog/2005/02/23/bsp-and-microsoft-excel--learning-to-live-together-part-2
for details
Eddy
PS. Which type of S(D)N Ubergeek are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>?

Similar Messages

  • Open a Word 2010 document by clicking hyperlink but the "Display for review" cannot change to "Final"

    I use this Macros to open a Word document by Windows explorer.  The "Display for review" can be changed to "Final" automatically.  But I found when I open a Word document by hyperlink.  It doesn't work.
    E.g. I have a Word document named ABC.doc and a hyperlink to call another Word document like c:\temp\xxx.doc
    When I click c:\temp\xxx.doc
    xxx.doc was opened but the "Display for review" is still "Final:ShowMarkup". 
    Please help.
    Alt+F11 -> Normal -> Document -> Selected "Document" & "Open"
    Private Sub Document_Open()
          On Error Resume Next
          With ActiveDocument.ActiveWindow.View
                 .ShowRevisionsAndComments = False
                 .RevisionsView = wdRevisionsViewFinal
          End With
          On Error GoTo 0
    End Sub

    Hi,
    As your question is about Word developing, please note we don't provide related suggestions in this forum. The correct forum should be Word for Developers forum:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • External Link to Word document question

    Hello, fellow RoboHelpers!
    I have a quick question that I am hoping someone can answer
    for me. :-)
    I am using RoboHelp X5 and use Microsoft HTML Help (.CHM) as
    my file output. I would like to link a Word document to one of my
    topics, so when a user clicks the link, they will be prompted to
    open/save the Word document.
    The following are the steps I use to do this:
    1) I type the text that I want the to use for the hyperlink,
    highlight it, and select the Hyperlink tool (or press CTRL+K).
    2) In the Hyperlink dialog box, I select "File" from the
    "Link To:" section and select my Word document.
    3) I select "Yes" to add the Word document to my project
    folder.
    4) In the Hyperlink diaglog box, I select OK, and the link
    has been created.
    5) I generate my Help project and test the link.
    6) When I click the hyperlink, I receive a "File Download -
    Security Warning" box asking me if I want to Open or Save the Word
    document.
    Problem #1 -- it appears that I can save the Word document by
    clicking "Save" without any problems, but clicking "Open" does not
    open the Word document in Microsoft Word. Why?
    Problem #2 -- The warning box displays three criteria: the
    file name, what type of file it is, and "From". I have issues with
    the "From" line. While the .CHM file is attempting to call the Word
    document from within the .CHM file, which is what I expected it to
    do ... the path is, well, ugly looking :-P
    mk:@MSITStore:C:\Program%20Files\RoboHelp%20Office\
    RoboHTML\HTMLMicrosoftHTML\VRHelp.chm::/ICBA.doc
    Is there any way that I can clean up this path? If I could at
    least get rid of that mk:@MSITStore, that would be a good start.
    If anyone has some suggestions, I am all for it!
    Thank you very much,
    --Jessica

    quote:
    Originally posted by:
    johnmccallum
    Jessica,
    The "mk:@MSITStore:" is the protocol for extracting from a
    .chm file, much like an "http:" precedes a web address. I'm afraid
    that just is part of the path if the Word document is embedded in
    the help file.
    Ahh, I am sorry to hear that that is the case. Thanks for the
    information!
    quote:
    Originally posted by:
    johnmccallum
    I don't know why your "Open" doesn't work. Does it open the
    document within the browser window, or just not open it at all? Are
    you adding the Word document as a baggage file? I don't know if
    RHX5 does this automatically with your steps as I use an older
    version.
    John
    Yes, the Word document is added as a baggage file. If I click
    "Open", the Security Warning box disappears and nothing happens
    (unfortunately).
    In the Hyperlink properties, I realized that I had the link
    opening in the "same window", so I changed it to display in a "New
    Window". Now, when I generate/click the link, the Word document
    tries to open in Internet Explorer (path and all). I get the same
    message box as before asking me if I want to Open or Save the
    document. Still, clicking "Open" will not open the Word document in
    Microsoft Word. When I press Open, the box simply disappears and
    the path remains in the Internet Explorer address bar. If I select
    the path in the message bar and press Enter to bring up the
    Open/Save prompt again, I can save the document ... but I cannot
    Open it.
    A thought just occurred to me while I was typing this: Would
    the fact that I am using Microsoft Word 2007 have anything to do
    with why the file will not open? I remember hearing that Office
    2007 is not compatible with RoboHelpX5, so perhaps that is why the
    document is not opening. Still, RoboHelpX5 doesn't seem to have a
    problem saving the file to your harddrive regardless of the
    filetype, and the Word document I am working with is a .doc file
    anyway, compatible with Word 97-2003, not a .docx.
    quote:
    Originally posted by:
    Peter Grainge
    The opening of Word documents is described on my site under
    Snippets.
    I took a look at your site, which says:
    Opening a Word document
    From time to time people ask how to open a Word document from
    the help.
    COMPILED CHM HELP - Rick advises that you can use an HTML
    Help Shortcut control to accomplish the goal.
    You simply specify the file name where you would normally
    specify the application.
    I tried to create a HTML Help shortcut by doing the
    following:
    1. I click the Insert Navigation Control button, then HTML
    Help Controls > Shortcut
    2. In the Button options box, I enter a text description for
    the button and click Next.
    3. In the Shortcut Selection, the first prompt says, "Program
    to run when shortcut is activated." I search for my Word document
    from within my Project Folder, select it, and press Next.
    4. I leave the Font options the way they are.
    5. I click Finish, and the button is created.
    When I generate the project and test the button, nothing
    happens when I click it. If I do specify the application (ex.
    WINWORD.EXE), Word
    does open when I click the button. How can I get it to call
    a specific Word document?
    Thanks for your time, guys!
    --Jessica

  • Need to open word document from flash projector on Windows and Mac

    Hello,
    I'm creating a flash program that will be put on a dvd. And the dvd should function well on both windows and mac.
    I'm trying to open a word document on click of a button. I used geturl but it works only on windows but on mac it only opens a blank browser.
    This is urgent and would be really grateful if I get any help to resolve this problem
    Thanks,
    Sunira

    I kind of doubt you could get Safari to open MS Office files. Short of actually getting MS Office for the Mac, the most workable option might be to get NeoOffice/J (a Mac-friendly version of OpenOffice from http://www.planamesa.com/neojava/en/index.php. It won't display some Office files 100% correctly (depending on how complex they are) but it can open and save them.

  • "An Unexpected Error occured" While opening links from office 2010 Word document on windows 8.1

    Remove
    alert
    |
    Edit
    |
    Change
    type
    0
    We are on windows environment as below - 
    Server -
    - Win2k8 Std R2,
    - SQL 2008,
    - SP 2010 Foundation SP2
    Client -
    - Win 8.1 64 Bit OS,
    - Browser - IE 11
    - MS Office - 2010  - 14.0.4763.1000
    Problem - 
    While Opening links from word document(Ctrl+Click) , get error message "An Unexpected
    Error had occured". And link is not opened.
    We are using this client using remote desktop.
    Any ideas on this?
    Does Microsoft provided any fixes for this?
    shwetank

    Hi,
    Have you tried the hyperlinks in other Office programs like Outlook and PowerPoint? Do they work well?
    You may need to run the Fix it in this kb below:
    http://support.microsoft.com/kb/310049/en-us
    You can also try the steps in the section "Let me fix it myself". Although this kb is written for Outlook, it may help in your scenario as well.
    I hope this is useful.
    Regards,
    Melon Chen
    TechNet Community Support

  • Need help with converting PDF files to word document.

    When attempting to convert PDF files to word document, after clicking on "convert" a message "error occurred while signing in" displays. Don't know why??? I'm logged into my account and haven't been able to convert documents.

    Assuming that you try to use the ExportPDF service, I am moving your topic to the ExportPDF forum.
    Just for completeness, can you post your operating system, browser, and Adobe Reader version?

  • How do I change PDF file to word document?

    How do I change a pdf file to a word document?

    Hi Irene,
    Using Adobe Acrobat:
    How to convert a PDF file to Word:
    Open a file in Acrobat XI.
    Choose Tools > Content Editing > Export File to Microsoft Word Document.
    Click Settings to turn on optical character recognition (OCR) if your PDF contains scanned text.
    Name the Word file and save it in a desired location.
    Using Export PDF subscription:
    Sign in to: https://cloud.acrobat.com/exportpdf
    Click on the blue button that says 'Select PDF Files to Export' and you will see the following window:
    You can either navigate to the location of the pdf file you want to convert or simply drag the files on to this window.
    After selecting the file,select the 'Export Format' like Word or Excel etc. and then click on the Blue 'Export to Word' button to convert the pdf into the desired format.
    Regards,
    Rave

  • How to add  word document

    Hi ..
    Our aim is to see word document after clicking  context menu(rigt click of mouse) at ANALYZER..
    To see this document,what procedur we have to follow? HOw can we add this word document..?

    Hi,
    As of 7.0 we can upload or main tain documents in deocument are but from 7.3 we can create and maintain in Bex QD it self
    check the below link...
    http://help.sap.com/saphelp_nw73/helpdata/en/43/4e3a1c430e324ee10000000a422035/content.htm
    Regards,
    Satya

  • Calling WebHelp topics when source is one large MS-Word document

    I imported a large MS-Word document into RoboHelp 9 and then generated it in WebHelp format. If I want to point a user to the exact spot that will answer their question, is there any way I can call a specific part of this help project? The information I have seen online only pertains to calling individual help topics, only.
    Thanks for any help you can provide. I appreciate it.
    nankinnankin

    Cross-references should also work.  Mine do.
    You have to remember when importing a Word document to check the Convert References to hyperlinks check box.
    Import Word - On Import window, click Word Document Edit Conversion settings for Word documents Edit button.
    Then on the Conversion Settings window, select Other Settings and check the Convert References to hyperlinks check box.
    Everything should be referenced properly.  Cross-references may not show hyperlink colors or underlines unless you have them set to do that in Robohelp. But if you click the reference it should take you right to the item.  I have sets of documents and I have all my documents using this technique and it works.

  • How to click a label and pop up a Word Document

    hi!
    i know this question has been asked many times...i did a search...but got alot of stuff that were either too much for me to read...or too tough for me...
    i hope i can GEt some help here!
    i am in a rush..thats why i opted to post it here instead.
    question is:
    i have a JLABel. hwo to create a link that once i click on it... a MS word DOC will open??
    i already have the doc. file made...but need to link it to the label..such that once its clicked, the doc is opened...
    thanks alot!!!

    A very important message about problem solving: Divide and conquer.
    Stop thinking "clicking a label and open a word document".
    Think
    - "Clicking a label, and do something"
    - "open a word document from a java program".
    Go on, and think
    - "How do I make my program notice when a specific label gets clicked"
    - "What external command will open a word document?"
    - "How do I run an external command from a java application?"
    Look at the hints you've got. Read the documentation for the classes and methods you've been pointed towards. Look them up in the index in a good book. Read the tutorial. Write code. Experiment. Maybe come back here if you get stuck on something specific.

  • Calling Word document from Oracle Forms 10g

    Hi all,
    I would like to call a Microsoft Word document from my Oracle Forms 10g.
    What would be the best way to do this?
    Thank you in advance.

    Have you tried something like
    WEB.SHOW_DOCUMENT('file:///<documentpath>','_blank');

  • When trying to look at pix on a cd, it comes up as word document and have to right click on preview to see picture. Why

    On my desktop, when wanting to see pictures on a CD, if I click on the picture icon it open as a word document. I must right click on the icon then click on preview and can then see all pictures on the CD. This just started after the last Firebos update. What needs to be done to correct. I have no problem seeing the pictures on my laptop which doen not have Firefox.

    Firefox is a web browser, and your problem is associated with how Windows handles image files. Firefox doesn't even need to be running, so I don't see how it could be associated with your problem. If the problem started around the same time as a Firefox update, I'm willing to bet that it was just a coincidence.
    Try asking in a Windows forum. http://windows.microsoft.com/en-US/windows/help/community

  • A word document was emailed to me.  I can open the document without a problem.  Is there a way for me to type on the document.... to fill out the form?  When I click the fields, the virtual keyboard does not appear.

    A word document was emailed to me.  I can open the document without a problem on my iPad 2.   Is there a way for me to type on the document.... to fill out the form?  When I click the fields, the virtual keyboard does not appear.

    If you want to edit a word document then you will need an app on your iPad that supports word so that you can copy them to it via 'open in' e.g. Apple's Pages app or a third-party app such as Documents To Go or QuickOffice HD

  • Unable to link click box to Word document

    I am using Captivate 2 to create a click box. On success the
    click box should open a Word document in a new window. I have saved
    the Word document in the same folder with my swf. After testing the
    click box, I get an error message IE was unable to link to the Web
    page you requested. The page might be temporarily unavailable.
    What is weird that the Open URL or File on success works fine
    if I set the Word document to open in the current window. This
    option is not possible, because I do not want users leaving the
    course. Am I doing something wrong? Please advise.

    I'm facing this problem since Captivate 2
    but I just skip the link file part....
    But now i doing my personal portfolio
    which got huge link pdf and mpeg link file...
    so I've tried Captiv8r method
    but after publish into .exe
    when i click the clickbox
    i will appear ERROR sign and won't open the link pdf file
    I've followed all the steps:
    1. From Captivate, click File > Create a MenuBuilder
    project...
    2. Choose the "Blank Project" type and click OK.
    3. Click Options > Project Options...
    4. Change the Width to 320 and the Height to 200 (These are
    the minimum settings)
    5. Click OK to dismiss the Project options.
    6. Click Insert > Clickbox...
    7. You should see a "New Clickbox" dialog. There should be an
    empty field labeled "Link".
    8. Type only your document file name into the Link field.
    9. Place a check mark in the "Save file with project" check
    box, and click OK to dismiss the dialog.
    10. You may see a warning dialog where MenuBuilder is
    quibbling about the document not being present. Don't let this fool
    you. Just click NO to advise you don't wish to browse for the file.
    11. At this point you should see a small object on your
    MenuBuilder. It should say "Clickbox" and be positioned in the
    middle of the project.
    12. Drag the sizing handles until it totally covers the area.
    It should totally cover the whole area.
    13. Now click the Export toolbar button.
    14. MenuBuilder will then prompt you to save the project. Go
    ahead and give it a name to appease it and click the Save button.
    15. Select "Flash Movie" from the Export Options dialog and
    click Next >.
    16. Type a file name, choose a location to store the movie,
    make sure the "View project after export" option is NOT selected,
    then click the Finish button.
    17. Now you may close MenuBuilder. You are finished with it.
    We go back to Captivate.
    18. In Captivate, open the slide with the link you wish to
    use to open the document. The goal here is to click Insert >
    Animation... and suck in the .SWF you created using MenuBuilder.
    19.Then position that over an image or something that will
    clue your user to click it.
    I've follow all the step
    but in NO.8 & No.9
    If I just type the file name (and no link)
    I can't place a check mark in the "Save file with project"
    check box
    and when I import the swf into Captivate
    It will show a message:
    "Adobe Captivate - Captivate link test.cp
    The Adobe Flash file contains action script that reference
    "root". This might cause the adobe captivate project to work
    incorrectly or to stop working. do u want to continue to add this
    file?"
    and After burning in to CD
    I can't open the PDF link file!
    and it will jump out a ERROR:F sign! (actually what is the
    "F" means? FXXK? haha~)
    After several times try and error
    I've slightly make some changes at NO.8 procedure:
    8. Type only your document file name into the Link field.
    (I've choose and place the file with whole link & file
    name,
    which is: C:\Unzipped\Captivate testing\D herbal tea
    Leaflet(C).pdf
    and then now I can check the "save file with project"
    checkbox)
    after output to a swf and insert animation in captivate
    although captivate also show the "Adobe Captivate - Captivate
    link test.cp
    The Adobe Flash file contains action script that reference
    "root". This might cause the adobe captivate project to work
    incorrectly or to stop working. do u want to continue to add this
    file?" message
    but now i can open the link file (in same folder with .exe
    publish file)
    in any other computer!
    I've checked the action script inside the link.swf which i've
    created, and get the result:
    // Action script...
    on (release)
    var szArg = "D herbal tea Leaflet(C).pdf";
    var szWindow = "_blank";
    if (_root.FlashPlayer == "1")
    getURL("FSCommand:execfile", szArg);
    else
    getURL(szArg, szWindow);
    } // end if
    it shows the file name only!
    Now it's no problem!
    PS: U cannot open the link file under preview mode
    it won't open
    but after publish into .exe
    u can open the link file!
    Sorry my english is very poor
    anyone don't understand can download my testing project from
    here:
    http://rapidshare.com/files/71506514/Captivate_testing.zip
    Thanks Captiv8r again for helping us!
    Lulu
    Malaysia, Kuala Lumpur

  • When I click on link it opens a word document instead of a web page. How do I make it open browser window instead.

    Please give detailed instruction on hat settings I hav to change I make it open to a website instead of a word document file when i click on a link

    Do you mean that you see the HTML code instead of a rendered page?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for