PARALLEL WORK IN AN OPENED WORD DOCUMENT AND FORMS 9i

Hello,
Our customer want to have an enhanced integration of the Forms application and
MS Word. Currently, he opens an existing Word-file from a Forms form, MS Word
opens, he edits the Word file, closes it, and goes back to the Forms
application.
The point is, that while the Word file is being opened, he wants to be able to
go back to the Forms application do some necessary things, and then go back to
MS Word where his word file is "waiting". Actually, he needs the possibility to
switch between Forms 9i application and MS Word.
The integration with MS Word is being done using WebUtil 1.0.6. The call to MS
Word is done using WEBUTIL_HOST.blocking. I also tried to call MS Word using
CLIENT_OLE2-Procedures but again I'm not able to go back to the Forms
application.
Is it somehow possible or is there any workaround how to enable the "parallel"
work in Forms application and MS Word?
Thank,
Dimce

Hi Dimce,
Okay. approach in the right direction. In order to get forms to wait executing the trigger code while in non-blocking mode, create a callback scenario. This is out-of-the-box webutil functionality (please read the webutil manual for details).
In short,
1) create a callback trigger at forms level
2) move all code that fires after you call MS Word to the call back trigger. This code is then executed whenever MS Word is calling back to forms.
3) use webutil_host.nonblocking_with_callback instead.
Regards,
Harm

Similar Messages

  • Open word document in forms version 6

    Does anyone have a code snippet to open an existing word document through forms. I have a user document which I would like to open from my forms menu.

    hello,
    Try use HOST command to open Words and your document. It works fine for me on Excel.
    sample :
    declare
    Path varchar2(100);
    file varchar2(50);
    begin
    path:='c:\program files\microsoft office\office\excel.exe ';
    file := 'o:\ssd\tools\albook.xls';
    path:= path | | file;
    host(path);
    END;
    null

  • Problem with open Word Documents and Quark Documents

    Hi,
    I am getting a strange problem with OS X Server 10.4.6, running on a G4 Xserve 1Ghz.
    When working on files in Microsoft Word X and 2004 after having the file open for a few minutes if you try and save we get an error "Word failed reading from this file", or "Bad network connection".
    Also in Quark 6.52 and Quark 6.1 when trying to save a file to the server we get "File not found [-43]". It is possible to open files, and it is also possible to move files onto the share using finder without any problems. To work on documents we are having to work on them locally on the desktop then copy across once done.
    The only thing that i can think has changed is the power went off last night, which casued the Xserve to restart. These problems are occuring across all client computers so i am assuming it can only be a problem with the server.
    Does anyone have any idea what this could be, or any tests that i can do to detmine what is up with it
    Many Thanks
    Tim Pearson

    Hi David,
    I have just tried power-cycling the switches, still getting the same problem.
    I will run disk utility on the shares at lunch. I don't think this will help as it is happening on both data drives.
    I have now also updated the OS X server to 10.4.7, and have turned the access log and error log on, it is showing no errors in the error log, and i can't see anything in the access log that looks out of the ordinary.
    With Quark i can replicate the same problem every time by creating a new project, saving it, altering it and saving it again (this works), then if i alter it again and try and save it comes up with "Duplicate File Name [-48]". It is also not deleting the temporary files, for example "QXP-1055966280.qxp".
    Regards
    Tim Pearson
    Grafika Ltd

  • Error message when I open Word document and try to convert it?

    I keep getting a message stating that it is not a fully supported file or was damaged, e.g. it was sent as an email attachment and was not correctly decoded. Even when I start a new Word document, I get this same error message. Please help.

    If I remember correctly, it wasn't a conscious decission, but a (perhaps voluntary?) mistake. Somebody pressed a wrong button somewhere, and all the FAQs were gone for ever, without any chance of recovery to the best of my knowledge.

  • Word Documents and Forms 6

    Hi.
    I have spent the past three weeks reading forums and doco's from
    anywhere and everywhere on the web, and am battling to come up
    with a proper solution to my problem.
    I am currently storing office documents in a BLOB field in an 8i
    database. I use an OLE container bound to the BLOB field in the
    database to insert these documents from the client into the
    database using a forms 6 form, and this seems to be fine. Where
    the problem comes in is being able to retrieve these documents
    from the database and display them as an icon on a form so that
    users of my system will be able to edit and download these
    documents which are stored in the database. I want to allow them
    to click on the icon (which is a link to the document in the
    database) which will then launch the appropriate office product
    and allow them to do whatever they have to from there.
    Are there any suggestions as to how I can acheive this? I am
    really stumped here, and any help here would be greatly
    appreciated.
    Thanks.
    Craig.

    Is there proper ole documentation oracle provides for such types
    of problems , we are also suffering from the same(OLE & WORD
    INTEGRATION) problem and are not getting the proper soln.
    Calling oracle support for help as many peoples are suffering
    with the same problem
    ...Waiting ...

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

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

  • I downloaded office Mac and i try to open a document and it doesn't work. it tell me "to create and edit, please activate Word" so i press activate and then it i try to fix it by reinstalling it but it doesn't work

    so what do i do

    If you don't have the 'product key' you won't be able to activate the software. If you are in a pinch you can try downloading directly from Microsoft and using a free trial of office 365. Or you can use any number of free software options such as 'open office' or 'libre office', or 'google docs'; I think they can open word documents.  I would probably go to Outlook.com and make a free email account. You will have access to the free online version of Office (word, powerpoint, excel, and onenote). Good Luck.

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

  • So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    Workarounds:
    1.  Restore the OS X that you formerly used to run Word 2004;
    2.  Partition your hard drive or attach an external hard drive and install Snow Leopard (and Rosetta) so that you can "dual-boot" into Microsoft Word 2004;
    3.  Upgrade to Word 2011 or use an alternative program; or
    4.  The solution I use: Install Snow Leopard (and Rosetta) into Parallels 7 or 8:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

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

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

  • I've become increasingly frustrated with the ipad adobe app. I've subscribed to be able to convert my pdf files into word documents and it has yet to work I've paid for a service that does not work which in turn makes me a disgruntled customer to say the

    I've become increasingly frustrated with the ipad adobe app. I've subscribed to be able to convert my pdf files into word documents and it has yet to work I've paid for a service that does not work which in turn makes me a disgruntled customer to say the least very disappointed with such horrible service

    Which service did you subscribe to?  Adobe PDF Pack?
    Once I know the service that you subscribed to, I can move this post to the right forum so that you can get in touch with the folks who can assist you.

  • I was working on a word document  and the computer shut down suddenly.

    I was working on a word document  and the computer shut down suddenly. I got a grey screen with a message that your computer shut down because of a proble. It was written in various languages. It asked me to press any key to restart. I tried to restart it but the wheel just kept going on and on. So I shut it down and I tried to restart it. But I still keepgetting the wheel under the apple symbol and nothing else.

    See
    About kernel panics,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics,
    How to troubleshoot a kernel panic, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • Working on word document and being able to save to external hard drive

    working on word document and being able to save to external hard drive

    Within Word, you have to point to the external drive using the "Save..." or "Save as..." dialog box. In this example, the drive named "ALLAN"  in the sidebar is a USB thumb drive, so you'd choose it before proceeding:
    If you originally saved the document to the hard drive, and then need to move it to an external without leaving Word, use the "Save As..." commend and you will be able to change the locations. Simply using the "Save" command always does a quick write to the original location without allowing you to select another destination. Word's "Save as..." function is the tool of choice.

Maybe you are looking for