How to open word document in labview

Hi,
I want to open word document in labview,well i have done that.
I want to display only the page part,don't want any editions,formatting to be done.
please suggest me solution if any.

How are you displaying your Word document, have you achieved that already?
As far as I know, there is only one way to display Word documents and that's through the browser ActiveX interface:
Using the Microsoft Web Browser control to embed a Word Document in LabVIEW
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Similar Messages

  • 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 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;

  • 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 open Word Document using java?

    Respected Sir/ Madam,
    I am doing my project in Network Security using java. I have to transfer the files from server to the client. Each transferred file should have some of the access privileges such as read, write and exeucte. If the transferred file is a word document means then automatically the client should open Microsoft word and if the file is having Read Permission alone then the save, Save As, cut,copy, paste options in the MS - Word should be disabled. This is similar for all the files that i have transferred. That is if the transferred file is excel, audio, video,txt file the corresponding application should be opened properly. How could I acheive this. If the file is having write permission then if the user clicks the save option then the contents of the file should be saved in the server machine not in the client machine, Could we achieve this???? Can anyone help me regarding this? Please give me your views about this query?

    Respected Sir / Madam,
    Thank you very much for your reply. Could we use Microsoft API inside java program to achieve my doubts?? Could U explain it more????

  • How to open word document from application server?

    hello ,
    I want to open a word document that is placed on the application server.
    the function module 'ws_execute' works fine for displaying documents placed on ur local file system. But if i want to open from application server, what needs to b done?
    i m referring to the following demo program 'SAPRDEMOOFFICEINTEGRATION'
    is this the correct reference or there is some other way to do the same?
    kindly help.
    Regards,
    Roshani

    Hi Roshani,
              The solution is like this.
    1> Execute - this is the solution to your program. The file is generated and put in the Application Server for the data to be sent by some means to the intended Place.
    2> To Display/View - This is for the person (who runs the program) to view if the output generated is correct or not.
             So to accomplish this use the same internal table for both Open Dataset and Gui download.
    Open dataset puts data onto the Application server and Gui_download puts the data onto the Desktop or Presentation server for the user to see the data thats fetched.
    So use them as directed to achieve the desired output.
    Reward Points.
    Thanks,
    Tej..

  • How to open word documents

    What app is best for opening a word document?

    The most usable app for opening Word docs is definitely Pages. It is made by Apple and is $10.
    If you simply need to view (and not edit) a Word doc, you can simply email it to yourself. Open the email on your iPhone and tap on the attachment and you will be able to see your document.

  • How to open "word" document

    I had some old Word documents on a Dell laptop that I wanted to view on my iMac.  Using a USB drive, I successfully transferred the files from the Dell to the iMac.  Some of the documents open up normally for viewing, etc.  Others do not.  A Pages box pops up and says the document can't be opened.  These are all Word documents, so I'm puzzled why some will open and others won't.  Is there a way to convert these "problem" documents to jpegs?

    These are old Word documents 1999-2000 mostly.  I only have Word on the laptop.  It's old and I'm planning on "decommissioning" it, if you catch my drift.  As I said, some of them open without any problem, while others do not.  What's a fella to do? :-)

  • How to open Word document in Forms Web Version

    In the Client-Server version of Forms 6i, we open a Word template by executing the Host command like below,
    host('WINWORD.EXE'||' '||ltrim(rtrim(v_new_filename)));
    How do I execute the same in Web version to open the Word template?
    Thanks in advance.

    Hi,
    I have gone thorugh the examples on OTN. Here's my requirements :
    In our case we are opening a Word template file from the server machine, making some changes, and saving it back to the server machine. The name of the template file, the location to be saved is all internally handled by forms. In the client-server version, allthe user does is hit the Save button and close the Word application.
    In the Web version, I can open the template file in the browser from the server. The user makes the changes & is then prompted to save it to his client machine. After that the user closes the browser & then has to click on a save button which moves the file from the client machine to the server.
    This extra process of saving the Word file to the client machine bothers me as the users can make changes/delete the file on their own before hitting the Save button on the form. BTW, I have borrowed the code mostly from the OTN website.
    So is there any way to avoid this step to saving to the client m/c and then moving it to the server. Thanks.
    I am running forms 6i on 9iAS on WIN 2000.

  • 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?

  • HT1338 My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    Hi ...
    Checked to see how much free space there is on the startup disk lately?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Freeing Up Hard Disk Space - Mac GuidesFreeing Up Hard Disk Space - Mac Guides
    If disk space is not the issue, booting in Safe Mode deletes system caches that may help.
    A Safe Mode boot takes longer then a normal boot so be patient.
    Once you see the Desktop, click the Apple menu icon top left corner of the screen.
    From the drop down menu click Restart.
    See if that makes a difference ...

  • 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.

  • 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

    Hello,
    I was trying to open word document from oracle 10g with below code.
    DECLARE
    AppID PLS_INTEGER;
    BEGIN
    AppID := DDE.App_Begin('d:\doc1.doc',
    DDE.App_Mode_Minimized);
    END;
    But it is showing me some error as below:
    ORA-06550: line 4, column 10:
    PLS-00201: identifier 'DDE.APP_BEGIN' must be declared
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
    2. AppID PLS_INTEGER;
    3. BEGIN
    4. AppID := DDE.App_Begin('d:\doc1.doc',
    5. DDE.App_Mode_Minimized);
    6. END;
    Could you please help me?
    Thanks

    HI Andreas,
    Thanks for your reply..
    Could you please provide me the code or the link and one more request that how can i use the code u have given below.means from where to run it?
    CLIENT_HOST('cmd /c rundll32.exe url.dll, FileProtocolHandler "d:\doc1.doc");
    Waiting fro your kind reply

  • How to upload word documents in iphone?

    Hello, I need to give a talk and I dont have printer... I should use the iphone, but I dont know how to read Word documents in the iphone... Someone can help me?

    Apple has a paid  app called Pages.  I have never used it but I guess it will open Word documents and might even allow you to store them on your phone maybe in ibooks or somewhere

Maybe you are looking for

  • Bug with swc folders and library projects?

    Hi guys, hope someone can help here. We are just in the process of starting a fairly large flex project and we were trying to work out a solution so that I as a designer can view and edit custom components with visual styles applied. Now I know that

  • Photoshop cc crashes when opening will a reinstall help?

    Photoshop cc crashes when opening will a reinstall help?

  • Showing page footer or showing page no. at every drilled level

    Hi Friends, Tool - Crystal Reports XI R2 I have 5 groups in reports which are perfect in drilling. Now the I am required to show page footer on every drilled level containing a thin line and a Page N of M. I tried and added line, page no. in group fo

  • Safari 2.0 problem with Siteminder

    We are having problem logging out from our site which usesg authentication tool called Siteminder. This may have to do with cookies. This problem is there for the following version. MacOS X 10.4.1 and Safari 2.0 build 412 This version is fine -> MacO

  • HDMI - DVI Adapter for AppleTV

    It is clear after speaking to Apple Support today that the new Apple TV will not work with conventional HDMI to DVI adapters. If anyone finds a workaround please post your solution to this thread. Thanks!