OLE2 and Word 97

I'm trying to manipulate a word document via Forms. I'm using OLE2 and have been successfull in changing fonts sizes and font names.
The problem I'm having is that I want to set the Orientation to Landscape but just can't seem to do it.
I am using OLE2.INVOKE(word.hApp,'FilePageSetup,Args);
I have tried various different permutaions for the argument list but to no avail.
Please can you help. Thanks in advance.
Anjay
e-mail [email protected]

Hi XML Publisher allows you to call the reports from an URL. So you can use the forms built-in Web.show_document to call your report.
There is one catch. You will need to run SSO to address the reports defined in the folders different as the guest one. If you do not want or can not run using SSO you will need to post your reports in the guest folder which will make them accessible to everybody able of addressing the URL.
Marcos

Similar Messages

  • Forms6i - OLE2 and word (mailmerge)

    edit: never mind, my bad.

    Have you tried adding a call to the Word Application's "Activate" method?
    i.e. client_ole2.INVOKE( V_App, 'Activate');
    Also, you might need to call SYNCHRONIZE in your form just BEFORE opening MS-WORD to keep forms from taking the foreground and focus back immediately after the trigger concludes.
    Paul Sturgis

  • OLE2 and DDE package books

    Hi All,
    I need to fully understand OLE2 and DDE package. Pressing F1 provides very limited help for me. Anyone here have or know some links of any reading materials(e-books, documentation)?
    Please share... I'm drowned with my tasks here.
    Thanks!

    DDE is seriously outdated and should only be considered as a last resort. As for OLE2, concern yourself not with learning the OLE2 package, but instead, with understanding OLE automation. The OLE2 package is just a wrapper that makes it possible to manipulate OLE automation servers from PL/SQL. Once you understand OLE, using OLE2 should come easily.
    I learned OLE automation as a Visual Basic developer, before ever working with Oracle, and found it to be fairly straightforward. The easiest and cheapest way to learn OLE automation is by using Microsoft's Visual Basic for Applications IDE -- an Office component. Search this forum using keywords VBA and Tutorial, and you will find information that should hopefully prove helpful.
    As for Mark's assertion that XML provides a simpler solution, there are important differences between the XML and OLE approaches. The XML approach involves simply creating a document, whereas the OLE approach involves instructing the OLE server application to create a document. XML might be perfect, for example, if you wish to create Word documents on a *NIX server.  On the other hand, when your environment permits it, OLE makes it possible to leverage application functionality, like Excel's data analysis functions.
    Eric Adamson
    Lansing, Michigan

  • OLE2 Automation & Word 2000

    I am trying to figure out why the following does not work. The search and replace values are substituted but the replacement does not actually take place - its almost asif another method/event needs to be tirggered, but for the life of me I cannot figure out what it is
    Answers appreciated !!
    Andrew
    =================================
    procedure run_word (document varchar2) is
    lArgs OLE2.LIST_TYPE;
    findrepl OLE2.OBJ_TYPE;
    objword OLE2.OBJ_TYPE;
    BEGIN
    objWord := OLE2.CREATE_OBJ('WORD.Basic');
    lArgs := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(lArgs,document);
    OLE2.INVOKE(objWord, 'fileopen',lArgs);
    OLE2.Invoke(objWord, 'AppActivate');
    OLE2.Invoke(objWord, 'AppShow');
    OLE2.DESTROY_ARGLIST(lArgs);
    /* Original VB Code
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
    .Text = "CNAME"
    .Replacement.Text = "Andrew"
    .Forward = False
    .Wrap = wdFindAsk
    .Format = False
    .MatchCase = False
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
    End Sub
    lArgs := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(lArgs, 'CNAME');
    OLE2.ADD_ARG(lArgs, 'Andrew');
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    OLE2.ADD_ARG(lArgs, 0);
    findrepl := OLE2.INVOKE_OBJ(objWord, 'EditReplace',lArgs);
    OLE2.DESTROY_ARGLIST(lArgs);
    END;
    null

    I'm experiancing the same problem.
    I wonder if you have salved the problem in already
    With kind recards

  • Can I mix Pages page layout and word processing together in one document?

    Hello there ! I am quite new to Pages and I am desperate to learn as i want to get rid of everything being Microsoft
    As you all know when you open Pages you can choose between page layout and word processing !
    the thing is i thought that after using a page layout you could just go with word processing easily... well no, you can't, but i'm sure i'm missing something...
    For exemple i really like the catalogue brochure and it would be perfect for me to start a project... but after a few pages, i can just add blank pages and if i want to type text, i have to add text boxes... i don't want that, I want word processing... and another thing in this brochure i can't add table of content because it is not by default in the template...
    So my question is quite basic here, can we link Page layout and word processing without having to use text boxes and everything ?
    Thanks in advance !
    Have a good day

    Alexander,
    Welcome to Apple discussions.
    The simple answer is no. What differentiates page layout from word processing mode is that the PL mode has no text layer. So everything that goes on the page must be an object of some kind. And any pages you add to a PL document must also be PL. You can't mix the two modes. One way around it is to start with a blank page, insert a text box, then stretch the box so that it covers the entire page. You can the type in it as if it were a text layer in a WP file. You can even capture that page so that you can add it automatically when you need it, or save it as a template.
    As for building a Table of Contents, it appears that Pages only sees text styles that are on the text layer, which means it won't see styles that are in objects -- which means it won't work with a PL document. From being a long-time reader of this discussion group, I've noticed it's rare that someone wants to add a ToC to a PL document.
    If you find that you're going to be mixing text and graphics, start with a word processing template. If you really like the Catalog Brochure, you could always copy some or all of its elements over to a blank WP template.
    Hope this helps.
    -Dennis

  • Can I search for pdf and word documents at the same time in finder?

    I often want to search for more than one file type at a time - for instance pdfs and word docs in a directory, or Jpgs, GIFs, PNGs etc.
    Can I do this in the finder in one go (so I can save it as a folder I can then select when I want to)?
    I tried typing OR between the 'tokens' it creates, but then it just searches for OR - so not as intelligent as one would think?!
    Surely there must be a way to do something as simple as this?
    regards
    Rob

    Forget the whole "tokens" business (I think that is a pretty useless "improvement" to constructing Spotlight searches). Hit command-F to bring up the search window, and set your first criteria, in the example I changed it from the default Kind to Created Date, to keep the number of results manageable. Now hold down the Option key and click on the "+" at the end of the criteria line, it will change to "..." and you get a new criteria line. From the dropdown menu choose "Any" if necessary (this will give you the Boolean OR), then enter what you want in the first sub-head. To get a second sub-head OR criteria click the "+" at the end of the Any line.
    I don't generate many MS Word docs, so I just stopped in the example above after typing Microsoft, since that brought up all the MS anything I have from this year (a couple of Power Point thingies sent to me by friends).
    Francine

  • How can I download excel and word

    I need work in excel and word in my iPed - please guide

    You cannot download or install Word or Excel for the iPad. MS has not released an iOS version.
    There are MS Office compatible apps available in the app store like Quick Office Pro and Documents to Go. Take a look at those and see what you think. Apple also has their iWorks suite of apps, Pages, Numbers and Keynote that are compatible with the MS Office apps.

  • How can I use excel and word on the IPAD2

    How can I use excel and word documents on my Ipad 2

    There are apps such as Documents To Go which support reading/editting/creating those sorts of documents :
    standard version  -  http://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    premium version  -  http://itunes.apple.com/us/app/documents-to-go-premium-office/id317107309?mt=8

  • Can you have pages and word on the same computer

    can you have pages and word on the same computer

    Sure, I do (my Office is 2008 but I keep it around for some things I get from work).

  • Is there a small and lite portable, around 5 lbs or less, printer for my iPad to take on vacation for photos, more than 1 at a time, and words? I have both HP dj460 and ps 616A but they don't support iPad. Is there a device, work around or ePrinter air pr

    Is there a small and lite (5 lbs or under) portable air printer / ePrinter I can use to print contact sheets of photos and words with my iPads? I already have the HP dj460 and HP ps 616A but they don't support the iPads.

    Helper app -- /print n share
    Print directly to the widest range of network or WiFi printers available in any app. Alternatively print via your computer to ALL printers including USB & Bluetooth printers. View read and display large PDF, Office & iWork files. Easily transfer & store files from the Cloud or your computer.
    https://itunes.apple.com/us/app/print-n-share/id301656026?mt=8
    HP  ePrint Home & Biz
        http://itunes.apple.com/us/app/hp-eprint-home-biz/id299531647?mt=8
    http://h10025.www1.hp.com/ewfrf/wc/searchResults?tmp_product=HP+Photosmart+5515+ e-All-in-One+Printer+-+B111a&product=5063608&tmp_qt=eprint&cc=us&dlc=en&lc=en&su bmit
    Mobile printing.
    This blogger found one solution.
    http://genuinely-original.blogspot.com/search/label/iPad%20Printing
    Make Portable Printing Easier with Print n Share and the Brother RJ-4040
    http://prmac.com/release-id-44494.htm
    Use an airprinter with a power inverter
    http://genuinely-original.blogspot.com/search/label/iPad%20Printing
    see makethisstuffwork post in:
    https://discussions.apple.com/thread/4987217?tstart=0
    Brother PocketJet® 673
    -- Prints on a variety of 8.5" wide thermal media.
    -- Print PDF files from your iPhone and iPad with the PJ-673 Print app
    http://www.brother-usa.com/Mobile/ModelDetail.aspx?ProductID=pj673-k&PG=26#.UeX0 Z18pDDJ
    List of supported AirPrinters.
       http://support.apple.com/kb/HT4356

  • After hours of back-up, downloading and uploading...I am now updated with all the latest Mac software. However, I no longer have access to Excel and Word. Is there a way I can access my documents in either of those? Help, please.

    After hours of back-up, downloading and uploading...I am now updated with all the latest Mac software. However, I no longer have access to Excel and Word. Is there a way I can access my documents in either of those? Help, please.

    If you have older versions of excel and word that previously ran under the Rosetta emulator (allows PowerPC code to run on Intel system), they will no longer work with Lion.
    You can use the Apple programs Pages and Numbers to access the files. They can be bought and downloaded from the App store. NeoOffice is available at http://www.neooffice.org/neojava/en/index.php which has Lion support. OpenOffice doesn't talk to Lion support, it's at http://www.openoffice.org/

  • Hp officejet pro 8610 prints solid black on scanned pdf and word doc pictures

    -HP Officejet Pro 8610
    -problem printing scanned pdf document and word doc. photos
    -My new HP Officejet Pro 8610 printed a newly scanned pdf document as an all black picture. I then printed a saved word documtent from my iMac which included a small picture. The document print was acceptable, but the picture was solid black. There were no error messages. These were, my initial tests, to check this new printer.

    Hey there @TM-10 
    Welcome to the Community
    I read through your post about your new Officejet 8610 scanning a document to your computer and printing out all black. I have a couple ideas for you to try.
    Try the steps in this guide: Unexpected Scan Output Using HP Scan Application for HP Multifunction Printers When Using OS X v10.9...
    Press the Power button to turn on the product.
    With the product turned on, disconnect the power cord from the rear of the product.
    Unplug the power cord from the wall outlet.
    Wait at least 15 seconds.
    Plug the power cord back into the wall outlet.
    Reconnect the power cord to the rear of the product.
    If the product does not turn on by itself, press the Power button to turn it on.
    Ensure the printer is plugged in directly to the wall outlet, avoiding power bars and surge protectors. This ensures the printer is receiving full power and may help.
    Good luck
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • Not enough memory or disk space in excel and word office 365

    I have windows 8.1 and am having huge issues with excel and word in office 365.
    When i download a document i am unable to open as message reads cannot open as not enough memory or disk space.
    I have plenty of disk space and memory however have searched this and the following has been answered BUT I CANNOT UNDERSTAND This and need HELP  with step by step instructions on how to do please;
    To resolve the issue, refer to the methods below:
    Go to this key on Registry Editor (Run | Regedit)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
    Shell Folders
    change key Cache to something like C:\Windows\Temp
    You might also right click on the file with file explorer, choose Properties, then General tab and click on the Unblock button.
    Some of our customers found it sometimes a permission problem.
    cmd  => dcomcnfg
    Click >Component services >Computes >My Computer>Dcom config> and select micro soft Excel Application>
    Right Click on microsoft Excel Application>Properties>Give Asp.net Permissions
    Select Identity table >Select interactive user >select ok
    However i do not understand a word of the above or how to do PLEASE HELP this is extremly frustrating as i am doing correspondence and I am unable to access any files.
    Thanks

    Hi,
    You must have read this thread:
    http://social.technet.microsoft.com/Forums/en-US/9773a7c4-29a8-48ff-9d16-e1ca4c478610/excel-2013-microsoft-excel-can-not-open-or-save-anymore-documents-because-there-is-not-enough?forum=officesetupdeploy
    To detail the steps, please do as I describe:
    Important
    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the
    registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
    To open the Registry Editor, please press Win + R, type regedit in the blank box, press
    Enter. / Or we can type regedit.exe in Windows 8.1 Search, you'll find it easily.
    Now the Registry Editor is open.
    Then we see the pane on left, expand the following path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    Then we can see a list on right, find Cache, right click on it, click
    Modify..., under Value data, change the value to something like
    C:\Windows\Temp, click OK.
    Exit Registry Editor.
    As for "You might also right click on the file with file explorer, choose Properties, then General tab and click on the Unblock button." Just find the file, right click on it, choose
    Properties, under General tab, if you see a
    Unblock button, click on it.
    "Some of our customers found it sometimes a permission problem.
    cmd  => dcomcnfg" Do the following:
    Press Win + R, type in cmd in the blank box, press
    Enter.
    In the new black-background window, type in dcomcnfg, press
    Enter.
    Then the Component Services window will pop up, on the left pane, expand
    Component services -> Computes ->
    My Computer -> Dcom config -> and select
    Microsoft Excel Application, right click on it -> Properties ->
    Identity tab -> Select The interactive user ->
    OK.
    I hope I've explained the steps clearly.
    Good luck.
    Regards,
    Melon Chen
    TechNet Community Support

  • I have an iMac with Mavericks that is experiencing a lot of "spinning balls" from particularly Mail, Google Chrome, and Word. I took it to the Apple store and it was fast there, at home slow. I have been having internet speed issues, could it be that?

    I have a pretty new iMac with LOTS of storage (about 4TB with externals) that is experiencing a lot of "spinning balls of death" from time to time in almost any program that I might have open, but particularly MacMail, Google Chrome browsers, and Word. I took it to the Apple store to be checked out and it was really fast with no issues there. I brought it home and it was better at first but then it started happening again.
    I have been having a lot of issues with Time Warner where my download speeds will dip really low, and all I can think of is that MacMail goes and tries to check for email and can't get out to the internet and it locks all the other resources up while it is doing it. It will also take a REALLY long time to even let you look at mail. The folder size is over 13GB (down from 22GB that I just cleared out from - I have a lot of MP3s etc in there) and I will try to get this down to under 10GB which might help, and the mail is on an external drive. I have been told that Verizon is not a shared network but a direct connection to their server, and if I can't fix this then I will try switching to them. If anyone has any direct knowledge on this stuff, I am all ears.

    We need to know more about your system, please download EtreCheck and run the report and please post it on your next reply. Then we can see how your system is configured, what apps are on it and look for anything obvious. We will look forward to seeing your report.

Maybe you are looking for

  • Running JDeveloper 10g 10.1.3.3 side by side with JDeveloper 11g 11.1.1.0.0

    Anybody running both versions? Is this possible? I found some information about migrating from a previous version in the release notes/install guide but did not see anything about running side by side. Thanks.

  • How do I open a PDF file (created in Illustrator) that suddenly refuses to open in Illustrator?

    Hello everyone. I'm having a strange issue that seems to have happened out of nowhere. I use a variety of Adobe Products for work and have been using Illustrator for a few basic brochures (I know InDesign is probably recommended more for brochures, b

  • Using Word templates

    Hi, I want to export my Robohelp 7 HTML help to a Word document. I want the output to look exactly like the main help file, but want to add some headers and footers using a Word template, Here's what I've tried: In the Single Source Layouts> Printed

  • Burning in iDVD

    I have created a movie in iDVD bu when it comes to burning it goes through the set up but when it gets to the burn point it says 'burning lead in' then just spits out the DVD and tells me a different problems each time I try it. One is 'multiplexing

  • Link between Employee and Cost center and TCode CAT2

    hi all, can anybody tell me where is the link b/w a PERNR and Cost center (which infotype) ? if anybody has played with Tcode CAT2, please revert back !!!!!!!!! Any help will be rewarded !!!!!! Thnx, Preeti