Forced open word document when value for merged field required in document is blank

Is there any way that I can make a word 2010 document open? The word document contains fields which are linked to a window form fields which have values input by users which then are saved to the database and also merged into the document's fields. In other
word, when the controls (per example a textbox) in the windows form have no value input into them, the word document will not open.
Thank you in advance

Hello Amy12,
Your requirement is still not so clear to me. So I assume you just want to load a Word Document inside WinForm application:
You can refer this article
http://www.codeproject.com/Articles/3582/Word-Control-for-NET
By the way, webbrowser control can also help you open a word document, see MSDN article here:
https://support.microsoft.com/kb/304662?wa=wsignin1.0
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I cannot simply open Word documents. I am forced to save them in order to view them.

    In firefox, IE, and chrome, I try to open Word documents and am forced to save them in order to view them. I do not get the box that asks whether I want to save or open (and yes, I have the option to always ask checked in my settings). When I find the document in my folders, it tells me I'm in protected view when viewing my documents. This has only started recently. The only thing new I've done to the computer recently is update firefox. However, this problem is occurring in all my browsers.
    (I do not have this problem opening other files, like PDF. I still get the option to open or save with files other than Word documents.)
    I have run my Sophos antivirus and have found nothing. I have suspected rookit, but hope it is less serious.
    I also do not wish to download any new programs in order to fix this problem.
    Thank you!

    Try upgrading to the most recent version of Firefox.
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.
    So you don't receive any popup window asking you to save or view the document? The download just begins all by itself.
    <b>NOTE: </b>Even if you select to only view the document, since Firefox has no built in Word viewer, you'll end up downloading it anyway. The only difference is that it will be downloaded into the temporary memory of your computer.

  • Got errors when trying to open word document with Office Web App Server and customized WOPI host

    I am configuring the Office Web App Server with our ASP.NET MVC WOPI host based on this example. https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6. While both the OWA server and WOPI server has been set up and I can use Excel and PowerPoint
    app to open and edit xls and ppt file now, there are problems opening word documents no matter I enable or disable the editing function of OWA server.
    When I open a word document while enabling editing I got this error:
    If I disable editing I got this message:
    I have tried several file so I thought it is not the files' problem. Also I didn't find any exception in the log of OWA server. 

    Hi Gary Jiang,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing issues about
    apps for Office.
    Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.
    Also if you have the question about WOPI, I suggest that you get more effective response from
    Office
    Protocols forum.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Opening Word documents with Appleworks

    I often receive Word documents as email attachments (though my hotmail account). I can download these Word documents to my desktop but when I click on them to open them I get an offer to purchase MS Word (which I do not have). I would like to be able to simply open the Word documents with Apple works--and I am hoping I can just click on them and have that happen automatically. But it doesn't. I have tried opening Appleworks and going into the wordprocessing program and then opening the Word document through that, but it only is successful part of the time. What can I do? I would like to have these Word douments open automatically in Appleworks but every time I click on them (i.e., their icon on my desktop) I get that advertisement from Microsoft asking me to buy Word. Is this ad blocking a normal function of Appleworks that would otherwise allow me to open Word documents with a click? And in any case, how can I proceed?

    The ad for Word is almost certainly being tacked on through or at Hotmail (taglines or adware from Hotmail? Hoodathunk .....) ; it sure isn't coming from AppleWorks or from anything on your own system, unless you have that demo copy of Office still lurking somewhere. I suppose it could come from that, somehow.
    Assuming you can get a clean attachment downloaded to your Desktop from Hotmail, the procedure for having what you want to happen automatically is fairly straightforward and, really, has nothing at all to do with Appleworks. Try the following:
    --> Select (highlight) one of those downloaded .doc files from Word, then
    --> use the Finder's Get Info command (⌘-I). In the window which appears,
    --> see the "Open with" section, and set it to AppleWorks.

  • Cannot open Word document files in a Portfolio

    I have set up a portfolio with multiple file types. I can open Excel and Power Point files within the portfolio without a problem. When I try to open Word documents it tells me that "Acrobat cannot open this file attachment because your pdf file attachment settings do not allow for this file type to be opened. I went into preferances and checked to see if the box was checked in "trust manager" to allow files other than pdf to opened. It is checked but I am still unable to open word documents in the portfolio for some reason.

    Acrobat cannot open Word files. Have you tried opening the files from within Word? If so, most probably you have a file association problem.

  • How to open word document directly using ole2 and ole containers

    Hello
    i am using ole conatiners....in forms 6i. i want o open word document directly when i click a button....
    i have tried host....ole but word opens .....i want the document to open at once.....
    what should i use /set
    plz tell by host command and ole2 as well
    its urgent.....
    thanks

    Try this code, Hope this will work.
    declare
    item_name varchar2(80) := 'letter';
    item_id item;
    verb_index_str VARCHAR(20);
    verb_index PLS_INTEGER;
    verb_cnt_str VARCHAR(20);
    verb_cnt NUMBER;
    verb_name VARCHAR(20);
    loop_cntr NUMBER;
    begin
    item_id := Find_Item(item_name);
    IF Id_Null(item_id)THEN
              message('No such item: '||item_name);
    ELSE
    verb_cnt_str := Forms_OLE.Get_Verb_Count(item_id);
    verb_cnt := TO_NUMBER(verb_cnt_str);
    FOR loop_cntr in 1..verb_cnt LOOP
    verb_name := Forms_OLE.Get_Verb_Name(item_id,loop_cntr);
    -- message(verb_name);
    -- message(loop_cntr|| ' '||verb_name);
    IF verb_name = 'Open' or Verb_name = '?E?'THEN
    EXEC_VERB(item_id,verb_name);
    END IF;
         end loop;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('Error: '||TO_CHAR(SQLCODE)||' '||SQLERRM);
    RAISE FORM_TRIGGER_FAILURE;
    end;

  • Setting Pages '08 as my default program to open word documents

    I need to figure out how to make Pages the default software for opening Word documents. Right now when I go to open them I have to move them from my email to my desktop and then open Pages and say open an existing document. Is there anyway to set it so that I can just click on the document and it automatically knows to open in Pages?
    Thanks

    Velmy,
    Welcome to Apple discussions.
    You can set .doc files to open in Pages, and it’'s surprisingly easy: just go to the Finder, single-click on any .doc file, then type command-I (Get Info). Click on the Open With... menu and select Pages (or navigate to Pages if it’’'s not in the menu). To make all .doc files open in Pages, click on the Change All button. Now, when you double-click on one of these files, it will open in Pages.
    -Dennis

  • Unable to Open Word Documents Since Mavericks 10.9.5 Update

    Since updating to Mavericks 10.9.5, I can no longer open Word documents that were created/edited between 8-27 and 9-18-14, and that I had opened 9-17 and earlier.  I receive the following message when I attempt to open a document:
    "Word cannot open this document.  The document might be in use, the document might not be a valid Word document,
    or the file name might contain invalid characters (for example, \ /)."
    I have Microsoft Word for Mac 2011, version 14.3.5., and a MacBook Air 1.8GHz, Intel Core i7, mid 2011.  Can you help?

    Anybody else experiencing this? No mention of effects on Quicktime in the 10.9.5 upgrade notes.
    Unable to duplicate your problem in random tests of my library. M4V (H.264/AAC/AC3/Chapter encoded) files continue to play normally in both QT 7 and QT X players. Anything special about your files or anything unusual happen during the system upgrade installation?

  • Credential Pop up while opening word document in SharePoint 2013

    Hi
    When I open office documents from SharePoint library, it is asking for credentials. Even if I put my credentials, pop up window will not go away. I have IE 11 and SharePoint 2013.
    I have put this site in trusted site zone. User Authentication  - Automatic logon with current user name and password.
    I have clicked on Remember my credentials. I can see my saved credentials in credential manager.
    The thing is, I was able to open word document without asking for password before. But recently, I have changed IE settings to be default level for some other reason, and since then it is asking me for credentials.
    I looked online so many articles, but nothing has helped me yet.
    Any help will be appreciated.
    Thanks

    Hi Cameron
    Thanks for your response. Yesterday night, when I tried to open documents from sharepoint site from my home, it didn't ask me for credentials. I was using same laptop which I used in the office.
    Again, today in the office, It started asking for credentials when I open office document.
    The only difference is internet connection is different between my home and the office.
    Not sure what could be the issue.
    Thanks

  • Cannot open Word document attachment in mail before sending.

    Cannot open Word document attachment in mail before sending.
    In Snow Leopard Mail 4, (Version 4.0 (1075/1075.2)) if I attach a word document to a message and, BEFORE sending the message, I double click the attached document to open it, to make sure it is the right one, I get the error "Mail was unable to save the attachment “Test.doc” to disk. Verify that your downloads folder exists and is writable."
    The attachment is mailed correctly and arrives at the destination, but the ability to verify an attached document before sending it is essential. This has worked fine in all previous editions of OS X.
    Any ideas?
    Thanks - Lawrence

    I have same problem. I've done the following testing to pinpoint where the problem lies and there are clues (see below):
    1. My machine had SnowLeopard installed "fresh" (i.e. disk reformat and installed cleanly)
    2. I have a comparison machine running Leopard (10.5.6) - essentially a mirror but with different OS
    3. Problem is triggered when creating new email, with a MS Word .doc attachment added. If you attempt to open the attached file in the mail (not yet sent) it produces the error message "unable to save file XXX.doc to disk. Verify that your downloads folder exists and is writeable"
    4.However, once the mail is sent, the recipient can open the attachment without problems.
    5. I have run Disk Utility and all permissions are correct. My downloads folder exists.
    6. The problem is not present in Leopard (mirror machine other than OS)
    7. I have uninstalled and reinstalled MS Office. Problem still present
    8. I have deleted and recreated the preference files for both MS Office and for Mail. Problem still present.
    And finally...
    9.The problem is confined to .doc files.It works fine for .pdf, .ods AND even for Microsoft .xls files.
    So it may be a MS Word problem triggered by Snow Leopard?
    Apple: if you can confirm this is a Microsoft problem it may be able to be reported to them as a compatibility issue?
    Hope this helps.

  • Opening word documents

    I was told when I purchased iWork last week that I would be able to open word documents that were sent to me via email. How can I do that?

    maralyala,
    Note that Dennis' solution will result in ALL Word files opening in Pages, as he says.
    If you only want to open the occasional Word files in Pages, right-click or command-click on the file and choose "Open With" from the contextual menu that pops up next to the document. Select Pages.app from the list. If Pages.app is not on the list, click on 'Other' and scroll to Pages.app in your Applications folder.
    You can do this on the icon of the Word file that appears in your email or after saving the Word file to your Mac.
    Good luck,
    Terry

  • How to open word document form html container url iam getting internal_error while opening file

    Hi all,
    By using below code i am able to download word document file from html container. But before downloading i need edit these document to add Macro.
    I am unable to open word document.
    CREATE OBJECT G_HTML_CONTAINER
          EXPORTING
            CONTAINER_NAME = 'PDF'.
       CREATE OBJECT G_HTML_CONTROL
          EXPORTING
            PARENT = G_HTML_CONTAINER.
    * Convert xstring to binary table to pass to the LOAD_DATA method
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            BUFFER     = LV_CONTENT
          TABLES
            BINARY_TAB = LT_DATA.
    data_tab = LT_DATA ).
    * Load the HTML
        CALL METHOD G_HTML_CONTROL->LOAD_DATA(
           EXPORTING
             TYPE         = 'application'
             SUBTYPE      = 'DOC'
           IMPORTING
             ASSIGNED_URL         = LV_URL
           CHANGING
             DATA_TABLE           = LT_DATA
           EXCEPTIONS
             DP_INVALID_PARAMETER = 1
             DP_ERROR_GENERAL     = 2
             CNTL_ERROR           = 3
             OTHERS               = 4 ).
    * Show it
        CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
          IN_PLACE = 'X' ).
    Before file download i want edit the file for that i am using below class.
    PROXY TYPE REF TO I_OI_DOCUMENT_PROXY.
    by using (get_document_proxy) method  getting proxy .
    call method control->get_document_proxy
    exporting
    document_format   = 'x'
    document_type      = 'Word.Document'
    register_container  = 'x'
    importing
    document_proxy     = proxy
    after these.
    call method proxy->open_document
    exporting
    document_url    = lv_url
    open_inplace    = 'x'
    hear i m getting retcode as INTERNAL ERROR
    can any one suggest me how to open document from html container.
    Thanks and reagards
    jogu yadav

    I got resolution
    Thanks and regards,
    Jogu yadav

  • HOW TO OPEN WORD DOCUMENT FROM JAVA???

    hi everyone! Can you please help me to come with this problem? Let me to set my main target I want to achieve:
    1) In my program user should first press a button;
    2) Then already created Word Document should be opened (I DO NOT NEED to open that Word Document in Java or something like JField). Just simply it should be opened as a Microsoft Word Document.
    I DO NEED YOUR HELP! PLEASE HELP ME....!

    Running cmd using the exec is also a windows only solution, there is no "more" or "less" it that solution compared to the rundll.
    Since word is a windows format its pretty obvious that the application is ran under windows platform.
    If you are running on a different platform (maybe using open office you can open word documents, i'm not sure) you might want to use the JDIC library (https://jdic.dev.java.net/) which enables you to open/edit/browse such files using the default viewer/editor/browser of the system you are working on.
    Look at the org.jdesktop.jdic.desktop.Desktop object for these methods.
    You can also find the Desktop object in J2SE6 but its still in beta.

  • How to restrict Firefox to open word document in browser window with href

    How to restrict firefox to open word document from a website link to open in the browser window, instead it should open in native program.
    1.I have tried other website, and have clicked on similar links they are opening word document correctly in native program
    2. MS word document from one specific site is opening in browser causing junk character in place of word document.
    Could you please help on this.

    Thanks for your response...
    But As i said, I have tried with other website on the same browser, there it is opening word document in native program. Also the above mentioned options have been tried earlier.
    I have some questions related to this?
    How is this href link is behaving differently opening in browser for mozilla only. Technically, Can we make it open it native program only? If so, then how?

  • Can't open word documents in Pages since updating to Yosemite

    Since updating my software to Yosemite I cannot open word documents in pages anymore. I can open these word documents in preview to at least look at them, but this is not very helpful.
    Also, is anyone else experiencing a serious slow down. My Macbook is choking, and I wonder if there is anything that can be done to improve the speed.
    Thanks in advance for any insight/ support you can offer!

    Be sure you are saving your Word documents on the PC for a Word version supported by Office 2004 X. The latest version of Office for the PC uses a file format that is no longer compatible with older versions of Office.
    PC attachments have icons that do not carry any information that Mac applications use to determine what application opens a document. Drag the document from the email application to the Desktop. Select the icon and press COMMAND-I to open the Get Info window. In the section labeled 'Open with' select Word from the drop down menu, then click on the Change All button. This should associate all similar documents to the Word application on the Mac. Word documents on the Mac also use the '.doc' extension. If the transferred file does not have the '.doc' extension then it doesn't hurt to add one.

Maybe you are looking for

  • Mandatory fields during PO creation - but optional in the customizing

    Hi all, If i create or change a PO, some fields are mandatory (ex: plant, account assignment category, purchasing group). However, in the customizing, theses fields are optional. I checked the customizing in tcode OMF4/field selection keys NBF, AKTA,

  • How to get BT sport on the television. You view or...

    I'm look at ordering phone, TV and infinity. The main attraction is that BT sport is free. I want to watch BT sport on the tele, not online using an app or otherwise. So this is where I get confused. If i enter my postcode and house number im told sp

  • What are dead locks in BW

    hI,    What are dead locks in BW

  • XML gate way send document erroring out

    Hi, We are using the "CLN_SHOW_SHIPMENT_OAG72_OUT.xgm" to map the ASN 856 XML gateway map. But this is getting error out in the Show shipment workflow (send document process). Error Name ECX_SENDDIRECT_ERROR_EMBD Error Message 6013: Error while proce

  • Time sheet posted in wrong period

    Hi Team, We posted time sheet for the june month but posting date has been selected july 1  insted of june 30th 2011 useing trnasaction code :CATT JOB can some body give me suggestion how to come up with problem like is there any possiblity to revere