MS-OFFICE interface in FORMS6i

I would like to do the following :
1. Create a MS-Word document with certain field in the doc template filled up from database on Click of button in Forms6i web solution.
IS IT POSSIBLE to call MS_OFFICE Products
from FORMS6i web deployment?.
VERY URGENT!!
PLEASE HELP. - Rgds Ko
null

Hi
As far as I know, you cannot integarte your web deployed Forms 6i with any Microsoft Product (i.e using OLE2, ACTIVEx etc.,), simply because is running on a 3-tier application level, and the EXCEL or word document is never visible to the user !!.
Instead you should use Java Beans technology to implement simillar fuctionality offered by Microsoft WORD and EXCEL products.
Orcale forms has got a Java Bean item which intefaces with a third party or a user defined Java Bean product. That is how you can implement, but no MICROSOFT technology on the FORMS deployed on the web. Moreover the Form you actually see on the web is a Java applet running.
Mohammed R.Qurashi
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by dAK2KOR ():
I would like to do the following :
1. Create a MS-Word document with certain field in the doc template filled up from database on Click of button in Forms6i web solution.
IS IT POSSIBLE to call MS_OFFICE Products
from FORMS6i web deployment?.
VERY URGENT!!
PLEASE HELP. - Rgds Ko<HR></BLOCKQUOTE>
null

Similar Messages

  • Can I use API Interface in forms6.0.., How???

    Hello friends,
    Here I want to use a simple API interface in my forms6.0.
    Like PageMaker6.5 Interface in forms6.0
    Is there any way of using the application, Like Internet Explorer can show Word Documents or PDF files directly.
    In the same way Can I show PageMaker files in Forms6.0
    A good suggesstion is appreciated.
    regards,
    Praveenkumar Talla (Pune, India)

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Office 2013 Programs open up staticy, unresponsive

    Hello. My mother has recently purchased Office 2013 for school purposes. We installed Office 2013 on her PC, and it refuses to show the application. Instead, filling the screen with static like bars. Minimizing/killing Office from task manager removes the
    static.
    As you can imagine, this is very frustrating, as I cannot find any fix on google. I recently wiped her Hard drive, and freshly installed Windows 7 Professional.
    We have tried reinstalling Office, repairing, and using different setup files. None have worked. We really need a fix for this fast, as she starts classes this week. Any help is appreciated
    Screenshot of Static: prntscr.com/3n99qt
    Screenshot of Specs: prntscr.com/3n99rr
    Can't post links until my account is "Verified", so just copy paste those into your Browser's URL box
    Thanks in Advance!

    Hi,
    The issue might be caused by some hardware issues.
    I would first suggest you to update your graphics/motherboard
    drivers to the latest version. Manufacturers frequently release updates to their drivers to improve performance or to fix compatibility issues with new programs.
    Also, you can turn off hardware acceleration as a workaround. Since you are not able to do this in Office interface, please turn off it in Registry Editor:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Graphics
    DWORD: DisableHardwareAcceleration
    Value: 1 to disable, 0 to enable
    Hope this helps.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • OWA Interface

    I have installed exchange 2013 installed the pre-requistes
    Filteroack32Bit , Filterpacl64bits , Filterpack2010sp1-kb2460041-x64
    but when i try to access the email account through OWA it doesnot give me the new 2013 office interface it give me the same office 2010 interface. Is their any other service pack that i have to run or what i have to do .
    Urgent please help me 

    Hi,
    To install Microsoft Exchange Server 2013 you should have Operating Sysem 2008R2SP1.
    Microsoft Exchange 2013 Prerequisites: -
    •    Microsoft .NET Framework 4.5 RC
    •    Windows Management Framework 3.0
    •    Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
    •    Microsoft Office 2010 Filter Pack 64 bit
    •    Microsoft Office 2010 Filter Pack SP1 64 bit
    •    Microsoft KB 974405
    •    Microsoft KB 2619234
    •    Microsoft KB 2533623
    For Microsoft Exchange Server only two server roles are required: -
    •    Mailbox Servers, or combination Mailbox & Client Access Servers
    •    Client Access servers.
    I guess that the above information will be helpful for you. Please correct me if the information that I am having is wrong.
    Reply awaited.
    Thanks and regards
    Ashish@S  
    Ashish@V

  • Dynamin VPN/GRE can't ping other side of tunnel

    I am new at this VPN stuff and tryiong to setup a GRE Dynamic IP VPN between my offfice and home.  Here is what I ahve done thus far:
    OFFICE
    interface Tunnel0
    ip address 172.30.1.1 255.255.255.252
    no ip redirects
    ip mtu 1400
    ip nhrp map multicast dynamic
    ip nhrp network-id 1
    ip tcp adjust-mss 1360
    tunnel source FastEthernet0/0
    tunnel mode gre multipoint
    tunnel key 1
    interface FastEthernet0/0
    ip address 40.197.68.9 255.255.255.248
    ip nat outside
    ip virtual-reassembly
    duplex auto
    speed auto
    HOME
    interface Tunnel0
    ip address 172.30.1.2 255.255.255.252
    ip mtu 1400
    ip nhrp map multicast 40.197.68.9
    ip nhrp map 172.30.1.1 40.197.68.9
    ip nhrp network-id 1
    ip nhrp nhs 172.30.1.1
    ip tcp adjust-mss 1360
    tunnel source GigabitEthernet0/0
    tunnel destination 40.197.68.9
    tunnel key 1
    interface GigabitEthernet0/0
    description Router
    ip address 192.168.30.1 255.255.255.252
    duplex auto
    speed auto
    When I ping 172.30.1.1 from the HOME router, I get 0/5 success.  Not good!  I have not setup any IPSec yet.
    Results for HOME router
    show ip nhrp nhs detail
    Legend: E=Expecting replies, R=Responding, W=Waiting
    Tunnel0:
    172.30.1.1   E priority = 0 cluster = 0  req-sent 53  req-failed 0  repl-recv 0
    sh int t0
    Tunnel0 is up, line protocol is up
      Hardware is Tunnel
      Internet address is 172.30.1.2/30
      MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation TUNNEL, loopback not set
      Keepalive not set
      Tunnel source 192.168.30.1 (GigabitEthernet0/0), destination 40.197.68.9
       Tunnel Subblocks:
          src-track:
             Tunnel0 source tracking subblock associated with GigabitEthernet0/0
              Set of tunnels with source GigabitEthernet0/0, 1 member (includes iterators), on interface <OK>
      Tunnel protocol/transport GRE/IP
        Key 0x1, sequencing disabled
        Checksumming of packets disabled
      Tunnel TTL 255, Fast tunneling enabled
      Tunnel transport MTU 1472 bytes
      Tunnel transmit bandwidth 8000 (kbps)
      Tunnel receive bandwidth 8000 (kbps)
      Last input 00:40:28, output 00:00:25, output hang never
      Last clearing of "show interface" counters never
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/0 (size/max)
      5 minute input rate 0 bits/sec, 0 packets/sec
      5 minute output rate 0 bits/sec, 0 packets/sec
         0 packets input, 0 bytes, 0 no buffer
         Received 0 broadcasts (0 IP multicasts)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
         106 packets output, 12612 bytes, 0 underruns
         0 output errors, 0 collisions, 0 interface resets
         0 unknown protocol drops
         0 output buffer failures, 0 output buffers swapped out
    sh ip route
    Gateway of last resort is 192.168.30.2 to network 0.0.0.0
    S*    0.0.0.0/0 [1/0] via 192.168.30.2
          10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
    C        10.110.0.0/24 is directly connected, GigabitEthernet0/1.110
    L        10.110.0.1/32 is directly connected, GigabitEthernet0/1.110
    C        10.115.0.0/24 is directly connected, GigabitEthernet0/1.115
    L        10.115.0.1/32 is directly connected, GigabitEthernet0/1.115
          172.16.0.0/30 is subnetted, 1 subnets
    S        172.16.2.0 [1/0] via 192.168.30.6
          172.30.0.0/16 is variably subnetted, 2 subnets, 2 masks
    C        172.30.1.0/30 is directly connected, Tunnel0
    L        172.30.1.2/32 is directly connected, Tunnel0
    S     192.168.2.0/24 is directly connected, GigabitEthernet0/0
    S     192.168.10.0/24 is directly connected, GigabitEthernet0/0
          192.168.30.0/24 is variably subnetted, 4 subnets, 2 masks
    C        192.168.30.0/30 is directly connected, GigabitEthernet0/0
    L        192.168.30.1/32 is directly connected, GigabitEthernet0/0
    C        192.168.30.4/30 is directly connected, GigabitEthernet0/1.30
    L        192.168.30.5/32 is directly connected, GigabitEthernet0/1.30
    S     192.168.50.0/24 [1/0] via 192.168.30.6
          192.168.69.0/24 is variably subnetted, 2 subnets, 2 masks
    C        192.168.69.0/24 is directly connected, GigabitEthernet0/1.69
    L        192.168.69.3/32 is directly connected, GigabitEthernet0/1.69
    S     192.168.100.0/24 [1/0] via 192.168.30.6
    S     192.168.125.0/24 [1/0] via 192.168.30.6
    S     192.168.200.0/24 [1/0] via 192.168.30.6
    sh dmvpn
    Interface: Tunnel0, IPv4 NHRP Details
    Type:Spoke, NHRP Peers:1,
    # Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb
         1    50.197.68.90      172.30.1.1  NHRP 02:30:17     S
    Results for OFFICE router
    show ip nhrp nhs detail
    sh dmvpn
    sh int t0
    Tunnel0 is up, line protocol is up
      Hardware is Tunnel
      Internet address is 172.30.1.1/30
      MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation TUNNEL, loopback not set
      Keepalive not set
      Tunnel source 40.197.68.9 (FastEthernet0/0)
       Tunnel Subblocks:
          src-track:
             Tunnel0 source tracking subblock associated with FastEthernet0/0
              Set of tunnels with source FastEthernet0/0, 1 member (includes iterators), on interface <OK>
      Tunnel protocol/transport multi-GRE/IP
        Key 0x1, sequencing disabled
        Checksumming of packets disabled
      Tunnel TTL 255, Fast tunneling enabled
      Tunnel transport MTU 1472 bytes
      Tunnel transmit bandwidth 8000 (kbps)
      Tunnel receive bandwidth 8000 (kbps)
      Last input 00:43:56, output never, output hang never
      Last clearing of "show interface" counters never
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/0 (size/max)
      5 minute input rate 0 bits/sec, 0 packets/sec
      5 minute output rate 0 bits/sec, 0 packets/sec
         0 packets input, 0 bytes, 0 no buffer
         Received 0 broadcasts (0 IP multicasts)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
         0 packets output, 0 bytes, 0 underruns
         0 output errors, 0 collisions, 0 interface resets
         0 unknown protocol drops
         0 output buffer failures, 0 output buffers swapped out
    show ip route
    S*    0.0.0.0/0 [1/0] via 40.197.68.94
          40.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
    C        40.197.68.8/29 is directly connected, FastEthernet0/0
    L        40.197.68.9/32 is directly connected, FastEthernet0/0
          172.30.0.0/16 is variably subnetted, 2 subnets, 2 masks
    C        172.30.1.0/30 is directly connected, Tunnel0
    L        172.30.1.1/32 is directly connected, Tunnel0
    S     192.168.2.0/24 [1/0] via 192.168.10.5
          192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
    C        192.168.10.0/24 is directly connected, FastEthernet0/1
    L        192.168.10.1/32 is directly connected, FastEthernet0/1
    S     192.168.69.0/24 is directly connected, FastEthernet0/0
    Why can't Io ping from the HOME router to the OFFICE router?

    I fugured this problem out.  I needed to setup PKI/IKE and once that was done on both routers, my tunned now passes some data.

  • Resolution of 600 DPI and Illustrator

    Someone would like a small 1 inch by 1 inch logo for invoices at 600 DPI. However I understand that illustrator doesnt work in DPI or PPI since it's vector. Would I have to transfer the small image over to photoshop. I did try and save a 1 inch by 1 inch logo at 600 PPI, however when I saved the image it was no longer 1 inch by 1 inch. It had increased significantly in size regardless of what file format I saved the image as.
    I would really appreciate help in this matter as Im unsure how to proceed.
    Thanks

    Its confusing to say the least!
    Here's a universal truth that will help aleviate the confusion:
    Think about this term: Pixels Per Inch.
    Per Inch. You have some things (pixels). A given number of them occupy a given distance (an inch).
    How do you do that? By scaling the things (pixels) so that a desired number of them fit within a given distance (inch).
    Per Inch is just a scaling value. Understand and remember that universal truth, and it will clear up alot of the confusion.
    Once a  raster image is saved, it contains a fixed number of pixels. In order to draw a given number of the image's pixels within a measured distance, the raster image has to be scaled. Change the scale of the image, and you change the number of its pixels which occupy a measured distance.
    Now be aware of these universal truths (aka facts):
    Raster image file formats are different. Some formats record in the file the intended scaling value (if one is provided) that is in effect when the file is saved. Others don't.
    Programs which export raster images are different. Some programs write the scaling value into the raster image file (if the raster image format supports that). Others don't.
    Programs which import raster images are different. Some programs pay attention to the stored scaling value (if any). Others ignore it.
    Someone would like a small 1 inch by 1 inch logo...
    First issue: Is the logo square? Is the design's height equal to its width?
    ...for invoices...
    This suggests that "someone" intends to import the raster image into some program used for invoices. That could be any of a kazillion different programs, from Word to Excel, to FileMaker Pro, to QuickBooks, to....you name it (but you didn't). You always need to know your customers' intended usage and be at least somewhat familiar with the target software's capabilities regarding importing artwork.
    ...at 600 DPI....
    This suggests that "someone" wants a raster image with a color depth of 1-bit. That means a raster image in which each pixel can be either black or white, and nothing else. This is suggested because that is a commonly-used scale factor for 1-bit raster images that are intended for use in common programs like office applications which have very limited graphics import capability, and because it is the most common hardware resolution of most office laser printers. In other words, 1-bit raster images scaled to 600 PPI is a kind of "lowest common denominator" for commonplace office environments.
    But the above suggestion  is based on the assumption  that "someone" knows what he/she is talking about, which is never a safe assumption. If the image is of any color depth higher than 1-bit, then 600 PPI is ridiculous. In other words, if the image file contains any pixels of any color at all, then 600 PPI is absurd for use as an invoice imprint. This is because any higher color-depth image will have to be halftone screened by the printer in order to render it with any decent-looking fidelity. That means rendering the image as a grid of variable-size dots. But the printer cannot actually print variable-size dots. It only prints fixed-size printer spots. To render variable-size halftone dots, it "fakes it" by  "building them up" out of its fixed-size printer spots.
    Moreover, even if the logo (the actual design) contains nothing but black and white, but you save the raster image file at a higher color-depth anyway, then 600 PPI is still just as ridiculous. Grayscale, RGB, and CMYK raster images are saved with a color depth of 8 bits per pixel per channel. When the printing device receives an 8-bit image, it is going to try to screen it (print it as halftone dots). That means that the printer will not use one printer spot for each pixel, but several. So there is no reason to provide as many image pixels as printer spots that the printing device can physically print in one inch--unless the image is not going to be rendered by halftone (or stochastic) screening (i.e.; a 1-bit image).
    However I understand that illustrator doesnt work in DPI or PPI since it's vector.
    But Illustrator's raster export filters do indeed work in PPI, because they are exporting raster images, which are nothing but pixels. In order to export a raster-based rendering of the vector-based artwork (which is all a raster image is), Illustrator has to write some number  of pixels into the raster image file.
    Your vector-based path is a mathematical description of a curve. In order to render it as a raster image file, or even to print it on a printer, or even to display it on your computer monitor as you work in Illustrator, it has to be rendered as pixels. In effect, your vector-based paths are "overlaid" onto a grid of pixels. The pixels which land inside the path are turned on. The pixels ouside the path are turned off. This is basically what occurs when a vector path is printed, when a vector path is exported to a raster image, or even on-the-fly while you view your vector paths on your monitor.
    That's what vector-based paths are: Mathematical instructions to determine which squares of a raster grid  to turn on.
    In other words, all vector-based artwork is eventually  rasterized; it's just a question of when. The scaleability advantage of vector graphics does not derive from the myth that it does not involve raster-based imaging; it derives from the fact that the rasterization is postponed until output time.
    In still other words, all your vector-based artwork is going to be  overlaid onto a raster grid, the squares of that grid will be colored accordingly, and that finished raster image is all anyone is ever going to see of your vector-based formulae. It's just that which  grid is to be overlaid is left undetermined until the "overlay" is performed.
    So when you export your vector-based artwork to a rastter-based image format, that's what you're doing: You're telling Illustrator to overlay the vector paths onto a particular raster-based grid (so many rows, so many columns of pixels, at some scale).
    That's the difference between vector-based artwork and raster-based artwork: A raster image is a pre-determined  rectangular grid of a fixed number of color values. A vector graphic is a set of mathematically-described shapes which can be overlaid onto any rectangular grid, so that the number of color values is dependent upon the particular grid used, be it the grid of your monitor's pixels, the grid of a printer's spots, or the grid of a raster image file that you export.
    Would I have to transfer the small image over to photoshop.
    No, you can export directly from Illustrator to any of several common raster formats.
    I did try and save a 1 inch by 1 inch logo at 600 PPI, however when I saved the image it was no longer 1 inch by 1 inch. It had increased significantly in size regardless of what file format I saved the image as.
    It "had significantly increased in size" where? When viewed in what program?
    When this occurs, the raster image is simply not being scaled  so that its pixels measure 1/600th of an inch. As explained above, some raster image formats do not record the scaling value. Even if the raster image file does record the intended scaling value, some programs into which you import the raster image will ignore it.
    So since you can't really control whether the scaling factor is going to be ignored, to meet the stated requirements (600 PPI when scaled to  1 inch), you simply need to concern yourself with providing the correct number of pixels and it's up to the recipient's software to scale them to the desired measure.
    For example, if your vector-based artwork measures 1 inch according to Illustrator's rulers, then export the raster image at 600 PPI. If your vector-baed artwork measures 2 inches according to Illustrator's rulers, then export a raster image at 300 PPI, and you'll be exporting the same number of pixels. You can either do the math, or you can simply export a raster image by specifying the desired number of pixels directly.
    But do not forget to consider the question of color-depth. 600 PPI at final rendering scale is not necessary for anything other than a 1-bit image.
    If the logo in question consists of nothing but a single solid color:
    In Illustrator, scale it to 1 inch.
    Do not color it. Use only solid black and white fills and strokes. No grayscale. No graduated fills, strokes.
    Export it to a raster image format at 600 pixels (in the measured direction), with a color depth of 1-bit. You can do this by either specifying the nubmer of pixels, or by specifying the scale factor, 600 PPI. Understand, this means using a raster image format which supports 1-bit (for example, TIFF) and  which the recipient's program can import. (Most common office productivity programs can import TIFF.)
    When the recipient imports it into his invoice program, if it appears enlarged, it just means his program is ignoring the embedded scale factor. He can just scale it to 1" and it will then be 600 PPI.
    The above scenario is common. A typical 600 SPI (printer Spots Per Inch) laser printer will turn on one of its printer spots for each black pixel in the image, thereby rendering the image as accurately as it can.
    But even if the logo contains no graduated tones, and you apply some color to it (the recipient's logo spec color, for example), then you'll have to export it to a higher color depth in order to include that color. Even if you export it as grayscale, you will still be exporting 8-bit color values for each pixel. In that case, it may look fine on the recipient's monitor, but when he prints it, the printer will have to screen the image in order to render it using halftone dots which, again, are larger than actual printer spots.
    The same applies, even if you use only solid black in the design but still export it to a higher color depth (grayscale, RGB, or CMYK) raster image. The recipient's printer is going to recognize the incoming raster image as 8-bits of data per pixel and assume that it has to halftone it; so again, it will not be printing one printer spot for each image pixel.
    All this is why Illustrator's so-called "Save For Microsoft Office" feature is really nothing but another interface for its PNG export filter. Many AI users (mostly beginners) want to do the impossible: export their Illustrator drawings to something that ordinary office programs can import, display, and print with fidelity.
    But that's really a pipe-dream. Office applications don't understand the kind of vector-based curve math which Illustrator (and all similar programs) generate. So the Save For Office interface resorts to a raster image export.
    Office users don't understand the caveats and limitations of CMYK color mode, lossy JPEG compression, or color depth and don't want to have to muck with them. They just want something that they can plop into their word processing, spreadsheet, and presentation programs and have it "look good" on screen and when printed on their low-resolution office inkjets and laser printers.
    Too many Illustrator users also don't want to have to think about color depth.
    So the Save For Office interface defaults to RGB PNG, turns off transparency (even though PNG supports it) because some specific Microsoft Office apps before a particular version have a problem with it, and does not present the user with much in the way of other PNG-capable options (such as 1-bit grayscale).
    Why am I bringing this up? To point out that Adobe's own default and explicit  "recommended" export for office-type programs is an 8-bit RGB format which, again, obviates the appropriateness of 600 PPI. In RGB, 300 ppi provides more than enough pixels for the office-using recipient to scale the image to 400% without evident pixelation because even 150 PPI is higher than the screen ruling of most office printers.
    So 600 PPI at the actual final on-page scale is sensible for simple office uses like ploping a black logo onto a form like an invoice that is goingto be printed in one ink (or toner) assuming 1-bit color depth; but not otherwise.
    JET

  • Creating a document in pages for Lulu eBooks

    I've been trying desperately to get a document ready for Lulu to publish in eBook format. Nothing I do seems to work. Why is a conundrum since they do not communicate with you except by email. Then they always only direct you to documents. They do not tell you what is wrong.
    I think when pages 5 exports to WORD, a file format only accepted by Lulu, the styles are stripped out. I opened the WORD file I created in OpenOffice, and it was a mess.
    Does anyone have any suggestions?
    Maybe this is one more reason that people will abandon Pages. Only problem is, compared to the WORD or Open Office interface, its a depight.

    Why not kick OpenOffice into your Trash, and then download the current LibreOffice. More aggressive and frequent updates than OpenOffice, still supports any .odt documents that you may have created, and has competent MS Office compatibility. Others have found that documents that OpenOffice mangles are opened correctly in LibreOffice. Give it a shot.

  • Create graphic in MS-Excel with DOI

    Hi all,
    I'm begining using Desktop Office Interface (DOI).
    It's possible to create graphics with in the document because of DOI?
    Thanks
    enzo

    checking ABAP code sample generating graphs on excel using ole.
    (Note: this is not my code, i got it somewhere from sdn/internet and dont remember the source)
    report y_excel_chart
           no standard page heading.
    include ole2incl .
    data: gs_excel type ole2_object ,
    gs_wbooklist type ole2_object ,
    gs_application type ole2_object ,
    gs_wbook type ole2_object ,
    gs_activesheet type ole2_object ,
    gs_sheets type ole2_object ,
    gs_newsheet type ole2_object ,
    gs_cell1 type ole2_object ,
    gs_cell2 type ole2_object ,
    gs_cells type ole2_object ,
    gs_range type ole2_object ,
    gs_font type ole2_object ,
    gs_interior type ole2_object ,
    gs_columns type ole2_object ,
    gs_charts type ole2_object ,
    gs_chart type ole2_object ,
    gs_charttitle type ole2_object ,
    gs_charttitlechar type ole2_object ,
    gs_chartobjects type ole2_object .
    data gv_sheet_name(20) type c .
    data gv_outer_index like sy-index .
    data gv_intex(2) type c .
    data gv_line_cntr type i . "line counter
    data gv_linno type i . "line number
    data gv_colno type i . "column number
    data gv_value type i . "data
    parameters: p_sheets type i .
    start-of-selection .
      do p_sheets times .
    *--Forming sheet name
        gv_intex = sy-index .
        gv_outer_index = sy-index .
        concatenate 'Excel Sheet #' gv_intex into gv_sheet_name .
    *--For the first loop, Excel is initiated and one new sheet is added
        if sy-index = 1 .
          create object gs_excel 'EXCEL.APPLICATION' .
          set property of gs_excel 'Visible' = 1 .
          get property of gs_excel 'Workbooks' = gs_wbooklist .
          get property of gs_wbooklist 'Application' = gs_application .
          set property of gs_application 'SheetsInNewWorkbook' = 1 .
          call method of gs_wbooklist 'Add' = gs_wbook .
          get property of gs_application 'ActiveSheet' = gs_activesheet .
          set property of gs_activesheet 'Name' = gv_sheet_name .
    *--For the rest of loops, other sheets are added
        else .
          get property of gs_wbook 'Sheets' = gs_sheets .
          call method of gs_sheets 'Add' = gs_newsheet .
          set property of gs_newsheet 'Name' = gv_sheet_name .
        endif .
        gv_line_cntr = 1 . "line counter
    *--Title
    *--Selecting cell area to be merged.
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = 1
            #2 = 1.
        call method of gs_excel 'Cells' = gs_cell2
          exporting
            #1 = 1
            #2 = 4.
        call method of gs_excel 'Range' = gs_cells
          exporting
            #1 = gs_cell1
            #2 = gs_cell2.
        call method of gs_cells 'Select' .
    *--Merging
        call method of gs_cells 'Merge' .
    *--Setting title data
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_line_cntr
            #2 = 1.
        set property of gs_cell1 'Value' = 'KISHAN' .
    *--Formatting the title
        get property of gs_cell1 'Font' = gs_font .
        set property of gs_font 'Underline' = 2 .
        set property of gs_font 'Bold' = 1 .
        set property of gs_cell1 'HorizontalAlignment' = -4108 .
        get property of gs_cell1 'Interior' = gs_interior .
        set property of gs_interior 'ColorIndex' = 15 .
        set property of gs_interior 'Pattern' = -4124 .
        set property of gs_interior 'PatternColorIndex' = -4105 .
        gv_line_cntr = gv_line_cntr + 1 .
    *--Writing some additional data for the title
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_line_cntr
            #2 = 1.
        set property of gs_cell1 'Value' = 'Sheet No' .
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_line_cntr
            #2 = 5.
        set property of gs_cell1 'Value' = ':' .
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_line_cntr
            #2 = 6.
        set property of gs_cell1 'Value' = gv_intex .
    *--Formatting the area of additional data 1
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = 1
            #2 = 1.
        call method of gs_excel 'Cells' = gs_cell2
          exporting
            #1 = gv_line_cntr
            #2 = 5.
        call method of gs_excel 'Range' = gs_cells
          exporting
            #1 = gs_cell1
            #2 = gs_cell2.
        call method of gs_cells 'Select' .
        get property of gs_cells 'Font' = gs_font .
        set property of gs_font 'Bold' = 1 .
    *--Formatting the area of additional data 2
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = 1
            #2 = 5.
        call method of gs_excel 'Cells' = gs_cell2
          exporting
            #1 = gv_line_cntr
            #2 = 5.
        call method of gs_excel 'Range' = gs_cells
          exporting
            #1 = gs_cell1
            #2 = gs_cell2.
        call method of gs_cells 'Select' .
        get property of gs_cells 'Columns' = gs_columns .
        call method of gs_columns 'AutoFit' .
    *--Bordering title data area
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = 1
            #2 = 1.
        call method of gs_excel 'Cells' = gs_cell2
          exporting
            #1 = gv_line_cntr
            #2 = 6.
        call method of gs_excel 'Range' = gs_cells
          exporting
            #1 = gs_cell1
            #2 = gs_cell2.
        call method of gs_cells 'Select' .
        call method of gs_cells 'BorderAround'
          exporting
            #1 = 1 "continuous line
            #2 = 4. "thick
    *--Putting axis labels
        gv_colno = 2 .
        gv_line_cntr = gv_line_cntr + 5 .
        gv_linno = gv_line_cntr - 1 .
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_linno
            #2 = 1.
        set property of gs_cell1 'Value' = 'X' .
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_line_cntr
            #2 = 1.
        set property of gs_cell1 'Value' = 'Y' .
    *--Generating some data
        do 3 times .
          gv_value = gv_outer_index * sy-index * 10 .
          call method of gs_excel 'Cells' = gs_cell1
            exporting
              #1 = gv_linno
              #2 = gv_colno.
          set property of gs_cell1 'Value' = sy-index .
          call method of gs_excel 'Cells' = gs_cell1
            exporting
              #1 = gv_line_cntr
              #2 = gv_colno.
          set property of gs_cell1 'Value' = gv_value .
          gv_colno = gv_colno + 1 .
        enddo .
    *--Source data area
        gv_colno = gv_colno - 1 .
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_linno
            #2 = 1.
        call method of gs_excel 'Cells' = gs_cell2
          exporting
            #1 = gv_line_cntr
            #2 = gv_colno.
        call method of gs_excel 'Range' = gs_cells
          exporting
            #1 = gs_cell1
            #2 = gs_cell2.
        call method of gs_cells 'Select' .
        get property of gs_application 'Charts' = gs_charts .
        call method of gs_charts 'Add' = gs_chart .
        call method of gs_chart 'Activate' .
        set property of gs_chart 'ChartType' = '51' . "Vertical bar graph
        call method of gs_chart 'SetSourceData'
          exporting
            #1 = gs_cells
            #2 = 1.
        set property of gs_chart 'HasTitle' = 1 .
        get property of gs_chart 'ChartTitle' = gs_charttitle .
        get property of gs_charttitle 'Characters' = gs_charttitlechar .
        set property of gs_charttitlechar 'Text' = 'Sample Graph' .
    *--Locate the chart onto the current worksheet
    *--Activate current sheet
        call method of gs_excel 'WorkSheets' = gs_activesheet
          exporting
            #1 = gv_sheet_name.
        call method of gs_activesheet 'Activate' .
        call method of gs_chart 'Location'
          exporting
            #1 = 2
            #2 = gv_sheet_name.
    *--Reposition the chart on the worksheet (cut&paste)
        call method of gs_activesheet 'ChartObjects' = gs_chartobjects .
        call method of gs_chartobjects 'Select' .
        call method of gs_chartobjects 'Cut' .
    *--Select new area
        gv_line_cntr = gv_line_cntr + 2 .
        call method of gs_excel 'Cells' = gs_cell1
          exporting
            #1 = gv_line_cntr
            #2 = 1.
        call method of gs_excel 'Cells' = gs_cell2
          exporting
            #1 = gv_line_cntr
            #2 = 1.
        call method of gs_excel 'Range' = gs_cells
          exporting
            #1 = gs_cell1
            #2 = gs_cell2.
        call method of gs_cells 'Select' .
        call method of gs_activesheet 'Paste' .
      enddo.
    *--Deallocating memory
      free: gs_excel, gs_wbooklist, gs_application, gs_wbook,
      gs_activesheet,gs_sheets, gs_newsheet, gs_cell1,
      gs_cell2, gs_cells, gs_range, gs_font, gs_interior,
      gs_columns, gs_charts, gs_chart, gs_charttitle .

  • Import c++ dll from 6i

    hello,
    can i import a c ++ dll library from the "import OLE LIBRARY INTERFACE under the tab
    "Pogram" -> import OLE LIBRARY INTERFACE" in forms6i?
    and how to do it plz?
    or i have to Call it somewhere in a PLSQL trigger in my form AS External procedure (using th way of calling external procedure)
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg11rtn.htm#1656
    plz any help, thank you very muchhhhhhhhh.

    I'm using typedef struct {...} MyStruct; to make life easier in CVI world, so rather than changing that throughout my CVI code I think I'll just live with the fact that TestStand doesn't know what struct type it is.
    But typedef or not, is it ever possible for TestStand to import the struct definitions (ie so that it knows what fields and types exist within the struct)? Or do I have to make containers in TestStand that match the format of the structs I'm using in CVI, and pass those container pointers into my CVI function calls?
    Thanks!

  • Purpose of smart view

    Hi Experts,
    I am new to Smart view world so please let me know like I want a basic purpose of smart view of product's and customer's enterprises [If you have worked on these profile]  like i have to know what kind of data i am getting for aircraft interior product's and solutions for the business objects /distributors of aerospace fasteners and consumables .If I got any data what kind of formulas i might be use and what kind of analysis i am doing with and how i can able to analyse and what kind of analysis i can do using that.
    Thanks in advance if you can provide any documents and suggestion's

    Oracle Hyperion Smart View for Office provides a common Microsoft Office interface for Oracle Essbase, Oracle Hyperion Financial Management, Oracle Hyperion Planning, Oracle Hyperion Enterprise Performance Management Workspace, Oracle Hyperion Reporting and Analysis, Oracle Hyperion Financial Close Management, and Oracle Hyperion Enterprise® data sources. Using Smart View, you can view, import, manipulate, distribute, and share data from these data sources in Microsoft Excel, Word, Outlook, and PowerPoint.
    Please refer: Oracle Hyperion Smart View for Office Documentation Release 11.1.2.5
    HTH -
    Jasmine.

  • Elements 12 quirks - open multiple images, open in expert mode, color variations?

    Just converted from Elements 12 to 10.  Struggling and trying to avoid cursing Adobe for what I'm currently thinking of as "screwing up the interface" for no apparent reason, but we'll see.  Maybe I'll get used to it.
    Meanwhile, some functional issues that make no sense...  Maybe someone knows what I'm doing wrong?
    1)  In all other Elements versions (which I started using before it was called "elements" so it's a long time) I could select multiple pictures in windows explorer, right click "open", and as many pictures as I had highlighted would open in Elements, all shown in the photo bin.  In Elements 12, some apparently random number of photos open.  Sometimes 1, sometimes 2, sometimes maybe even 3 (although that's not consistent), but never "all the pictures I selected".  I don't know how it picks which pictures I should be allowed to work on and which I shouldn't, but I disagree.  How do I get it to do what I want?
    and, fyi, please don't tell me about file associations - that has nothing to do with it, Elements 12 KNOWS that it's my default program for this filetype...
    2)  HOW do I get it to open in Expert mode all the time?  I shout "I AM AN EXPERT" at my screen while opening, but it doesn't listen.  ALWAYS opens in "quick" mode.  Doesn't seem to be a way in the preferences.
    3)  There used to be a way to make quick adjustments to red green and blue color balance - under Enhance/Adjust Color/Color Variations.  And once a particular variation was done, the next time you opened that dialog the same adjustment level was already set.  Gosh.  I can't imagine why anyone would want a consistent way to apply the same color balance adjustment to a series of pictures that were all shot under the same imperfect lighting conditions.  Much better to have to tweak each one separately and individually, reinventing the same set of adjustments over and over again.  Or, am I missing it?
    4)  How do I get the default save to be "10", not "8"?
    I know I'm a bit crabby, sorry - I'm just not happy having to re-learn how to do everything I already know how to do, just because someone somewhere thinks a new interface is a good marketing technique. Doesn't anyone learn from Microsoft?  NO one appreciated the new Office interface, and NO one buys Windows 8 because they love the interface...
    Thanks,
    Todd

    Try  Edit > Preferences > Allow Floating Documents

  • RSPAN Configuration Problem

    Hi all,
    I'm having some difficulties setting up an RSPAN to work from a specific remote office.
    I have the config working for our main head office and another remote office which tells me that its probably something in the remote switch configuration, but any pointed in the right direction would be great.
    Remote Office Remote VLAN:
    nlh_mar1_f20_cs1#show vlan remote-span
    Remote SPAN VLANs
    99
    Remote Office RSPAN:
    nlh_mar1_f20_cs1#show monitor
    Session 1
    Type                   : Remote Source Session
    Source VLANs           :
        Both               : 216
    Dest RSPAN VLAN        : 99
    Remote office RSPAN config:
    monitor session 1 source vlan 216
    monitor session 1 destination remote vlan 99
    Remote office trunk to Head Office:
    interface FastEthernet0/8
     switchport trunk encapsulation dot1q
     switchport trunk native vlan 66
     switchport trunk allowed vlan 10,16,66,99,900,998,1000
     switchport mode trunk
     speed 100
     duplex full
     priority-queue out
     mls qos trust dscp
    end
    Head office trunk to remote office:
    interface GigabitEthernet3/0/14
     switchport trunk encapsulation dot1q
     switchport trunk native vlan 66
     switchport trunk allowed vlan 10,16,66,99,900,998,1000
     switchport mode trunk
     speed 100
     duplex full
     priority-queue out
    end
    Head Office RSPAN:
    HO-Core#show monitor
    Session 2
    Type                   : Remote Destination Session
    Source RSPAN VLAN      : 99
    Destination Ports      : Gi2/0/9
        Encapsulation      : Native
              Ingress      : Disabled
    Head Office RSPAN config:
    monitor session 2 destination interface Gi2/0/9
    monitor session 2 source remote vlan 99
    Head Office RSPAN VLAN:
    HO-Core#show vlan remote-span
    Remote SPAN VLANs
    99
    Ryan

    Hi - has anyone seen something similar to this happen before?

  • Smartview to IR

    Hi,
    We have the data sitting in SQL DB2, feeding into Interacting Reporting. Now we would like to use Smartview, but are not sure if Smartview can be connected to IR or to DB2? What we want in Smartview is not a simple export from IR into Smartview (without the HS formula); what we we would like to have is use the "HS" formula on Smartview.

    Hi, I think you have to set up DB2 in OBIEE as a data source then you can connect (although I haven't done it).
    jdbc:oraclebi://<servername>:<port>/ for Oracle BI EE
    I think this needs to be added as a shared connection by an Admin as users are only able to add Private Connections which have following options: Hyperion Provider and Hyperion Reporting and Analysis
    FWIW: The following is from the SV user guide, not really that helpful and a bit cryptic ;-)
    (http://download.oracle.com/docs/cd/E17236_01/nav/portal_2.htm)
    Oracle Hyperion Smart View for Office, Fusion Edition provides a common Microsoft Office interface for Oracle Essbase, Oracle Hyperion Financial Management, Fusion Edition, Oracle Hyperion Planning, Fusion Edition, Oracle Enterprise Performance Management Workspace, Fusion Edition, Oracle Business Intelligence Enterprise Edition, Oracle's Hyperion Reporting and Analysis, and Oracle's Hyperion® Enterprise® data sources.
    Cheers, Iain

  • Forms6i interface with Excel file

    I want to interface forms6i with excel file.
    Through Forms 6i read data from an excel file and load to oracle tables.

    Hi
    I'd agree that probably the best approach is to save the Excel file into a delimited file (maybe a comma-separated file) and read it in from there.
    Reading a file using TEXT_IO is fine as long as the table isn't very large. Anything beyond a few hundred records, I'd strongly suggest using SQLLoader, as it is massively quicker and you don't have to go to the trouble of writing a routine to parse the line you've read in to split it up into its constituent fields.
    If you do go down the route of reading lines in using TEXT_IO, you might find a routine like this useful:
    PROCEDURE Get_Next_Field (record_in        IN     VARCHAR2,
                              current_position IN OUT NUMBER,
                              next_field       OUT    VARCHAR2,
                              separator        IN     VARCHAR2) IS
    current_letter VARCHAR2(1);
    BEGIN
        LOOP
            current_letter := SUBSTR(record_in, current_position, 1);
            current_position := current_position + 1;        
            IF  current_letter <> separator THEN
                   next_field := next_field || current_letter;
            ELSE
                   EXIT;
            END IF;
        END LOOP;
        --Trim off any enclosing characters
        next_field := LTRIM(next_field, '"');
        next_field := RTRIM(next_field, '"');
    END;You can then call this procedure with a series of calls like this to get your values out of the line of text:
    Get_Next_Field(line_in, current_position, field1, :separator);
    Get_Next_Field(line_in, current_position, field2, :separator);(...where line_in is the line you've just read from your file, current_position is a number to show where you've got to in the line, field1 is the variable to hold the value you split out of the line and :separator is just that, maybe a comma character.)
    Hope this helps
    regards
    Andrew
    UK

  • Interface not registered (Exception from HRESULT: 0x80040155) when calling Microsoft.Office.Interop.Outlook.MAPIFolder.get_Folders()

    Hi All,
    I have an Outlook COM addin written in C#. It is working without any issues on most client machines, but since of late it has started giving the above Exception for some clients running Outlook 2010.
    I understand that the issue is that the particular interface is not registered properly on those machines. I would like to know what in dll that interface is located and what could cause it to be missing? Can it be a component that had been deselected during
    the installation of Outlook? If so, what is that component? Or should the dll be manually registered (using REGSVR32)? Or will running a simple repair on Outlook work?
    Thanks!!

    Hello Thimila,
    What code do you use exactly?
    Try to run the problematic piece of code from VBA as a macro. Do you get the same error message? If so, you need to repair Outlook, it looks like windows registry entries were corrupted. 
    If you don't get such error in VBA it indicates that you didn't install/copy one of the required prerequisites to the end user PC (interop libraries, .net runtime and etc.). Make sure that all the required prerequisites are installed correctly. See Deploying
    an Office Solution for more information.

Maybe you are looking for

  • Windows 7 installation on a Qosmio G30

    When performing an advanced installation of Windows 7 on a Qosmio G30, the HDDs are not seen. I mean, on the screen where I am supposed to select the drive to install Windows, there is nothing on display. Do I have to uodate the HDDs drivers? If yes,

  • Can't open a pdf form

    Tried to open a form in pdf but it keeps telling me to install the latest version to see it. I had already installed it so i uninstalled it and installed it again but it still wouldnt open. Pdf files are also set to open with adobe and i have no prob

  • Finally switched from Bridge to Lightroom...how do I do this???

    Okay, things that were cake in Bridge and now not so much.... How do I Batch multiple images using Presets in Lightroom? How to I save my raw images as JPEG in Lightroom? How do I open multiple images  at once to edit and/or in Photoshop? And finally

  • How to stop poping up the Adobe Flash Player tip?

    I have installed the flash player 10,but the need of flex builder 3 is flash player 9. So when I run the application the following dialog always jump out.How can I stop it?  Thanks for your attention and answers.

  • How can I access my serial number if my ipod touch is lost ?

    How can I access my serial number if I have lost my  ipod touch ?