Can I Use OLE2 to export Excel without having excel?

Dear all,
Can i use CLIENT_OLE2 to export from a form to an excel sheet without having the Microsoft excel installed on the AS (Application server)?
Thanks
$hOoO$h

Dear SHo0o0sh;
yes u can run it on client side but the client must have Microsoft office
like this :
PROCEDURE init_excel (application in out client_ole2.obj_type ,
workbooks in out client_ole2.obj_type ,
workbook in out client_ole2.obj_type ,
worksheets in out client_ole2.obj_type ,
worksheet in out client_ole2.obj_type )IS
args client_ole2.list_type;
begin
application:=client_ole2.create_obj('EXCEL.APPLICATION');
workbooks:=client_ole2.get_obj_property(application,'workbooks');
args:=client_ole2.create_arglist;
client_ole2.add_arg(args,1);
workbook:=client_ole2.get_obj_property(workbooks,'add',args);
client_ole2.destroy_arglist(args);
worksheets:=client_ole2.get_obj_property(workbook,'worksheets');
worksheet:=client_ole2.get_obj_property(worksheets,'add');
write_cell(worksheet , cell , 1 ,1 ,'your data');
write_cell(worksheet , cell , 1 ,2 ,'your data');
release_excel (application,
workbooks,
workbook ,
worksheets ,
worksheet);
end;
PROCEDURE write_cell (worksheet client_ole2.obj_type,
cell in out client_ole2.obj_type,
x number , y number , text varchar2) IS
args client_ole2.list_type;
BEGIN
args:=client_ole2.create_arglist;
client_ole2.add_arg(args,x);
client_ole2.add_arg(args,y);
cell:=client_ole2.get_obj_property(worksheet,'cells',args);
client_ole2.destroy_arglist(args);
client_ole2.set_property(cell,'value',text);
client_ole2.release_obj(cell);
END;
Hope it works.
Regards
Reda El Mitwally

Similar Messages

  • How can I use the "create book" feature without having my album photo sequence altered

    I have created an album with photos that are in a particular order for a reason.  I then process to create a book.  The template then rearranges all my photos.  Is there a way to keep them in the original order I set up? 

    All the 5000 photos that reappeared after repair today were from my canada mega event, but for some reason it did not do it for all the other mega events.  It is a start but not complete.
    Try the rebuild to recover more lost photos.
    If "rebuild" with iPhoto does not recover more lost photos, rebuild with iPhoto Library Manager as described by Old Toad in this thread, but rebuilding with iPhoto Library manager will not recover your projects like cards, bilks, slideshows.
    Re: iPhoto glitch with retained masters https://discussions.apple.com/message/26354337#26354337
    Mostly the way I organize all my photos is that I make a folder for each country I visit.  i.e. New Zealand Folder, Canada Folder, India Folder; and at the same time, any photos that I import I delete directly from new imports and just keep the ones i want and then i go up to events and move the latest imported event into a mega event for that country and so they all get joined in a sense.
    As a workaround, merge the events right after importing, before you start deleting photos.  And empty the trash always before merging projects.
    You might consider to use albums instead of events for your country lists.   I simply use the events as basic containers. One event for each day of shooting photos. I found, that smart albums and searches are quicker in iPhoto and Aperture, if the events are smaller, also browsing is easier, if the events are not so large.
    You can merge albums and remove photos from albums without the problems mentioned above.

  • Can I use Bridge to export image data into a .txt file?

    I have a folder of images and I would like to export the File Name, Resolution, Dimensions and Color Mode for each file into one text file. Can I use Bridge to export image data into a .txt file?

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • I have a ipod touch, an i pad and a iphone can i use my same apple id without texts and apps showing up on every device

    i have an ipod touch, an ipad and an i phone, can i use the same apple id without texts and apps showing up on every device. 

    Yes. Go to your iCloud settings on each device and configure what you do and do not want showing up on each device.
    Go to Settings>iCloud as well as Settings>iTunes & App Stores

  • Can I use preview to export multiple page PDF as jpegs?

    Using Preview, I export multiple page PDF as jpeg and results are the first page only as jpeg. Can I use preview to export multiple page PDF as jpeg for every page?

    Automator is great for this if you need to export many pages to JPG, or just have to do this often.
    Two other quick and dirty way sto get it done:
    (1) Enable thumbnail view, click on the ONE PAGE you want to convert to jpg, then choose "export." If you choose more than one page, only the first will get exported to jpg.
    (2) Create a copy of the file, delete all the pages except the one you want to export to JPG, and export that page. You may be able to "undo" the delete, get all your pages back again, and re-delete all but the one you want to export, etc. I would not recommend doing this on the original version of the file because of Preview's autosave so-called "feature."

  • How can I use itunes on my iphone without getting my daughter ipod stuff on my phone?

    How can I use itunes on my iphone without getting my daughter ipod stuff on my phone?

    Not sure what you mean.
    Why would your daughters stuff be on your iphone?
    Not sure what you think the correlation is.
    Please explain

  • I'm getting an ipad mini wifi   cellular, can i use this just on wifi without any sim cards?

    I'm getting an ipad mini wifi   cellular, can i use this just on wifi without any sim cards?

    Yes you do not need a Sim card for it to use Wi-fi

  • Hello everyone. I currently have an iphone which is part of a 3 people family plan therefore we use the same apple id. So my question is can I use my own apple id without affecting the fact we have a family plan?

    Hello everyone. I currently have an iphone which is part of a 3 people family plan; therefore we were told we need to use the same apple id. So my question is can I use my own apple id without affecting the fact we have a family plan? I would like to make my own app store purchases with my own credit card and not my sisters fiance since we are using his apple id.  PLEASE HELP ME SOMEONE!

    qnzsh0rty20 wrote:
    therefore we were told we need to use the same apple id.
    Whoever told you that has no idea what they're talking about. Ignore that advise.

  • How can i use my aol email account without it using up my storage on my phone

    how can i use my aol email account without using up storgae

    Your mail account shouldn't take up very much of the capacity on your phone and you can't purchase more of it. So I'm thinking you might be talking about iCloud backup storage. If that's the case, you can change some of the info that goes into your icloud backup and reduce its size from settings > icloud > backup and storage > manage storage

  • When I bring up my Mozillafirefox, all I get is a window with a blank white screen. (I 'reinstalled' Firefox 3.66 about a month and a half ago, (and lost all my bookmarks as a result therein), and hope I can get my firefox back this time without having t

    When I bring up my Mozillafirefox, all I get is a window with a blank white screen, (and the firefox logo). (After using Firefox very happily for over a year, I had to 'reinstall' Firefox 3.66 about a month and a half ago, (and lost all my bookmarks as a result therein), and hope I can get my firefox back this time without having to reinstall. Mozilla Firefox is still listed as one of my active programs). HELP! Is there a way to get my firefox back without reinstalling? Many thanks!
    == This happened ==
    Every time Firefox opened
    == June 30, 2010 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)

    same problem. wtf. just happened one day when i went to use it. nothing out of the ordinary installed either....

  • How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!

    How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!
    I want to know how to create a backup file (because I'm pretty new with itunes, and it's hard to use it for me still), how to store my app data/media/videos, etc. And how I can retrieve them back when I'm done with the app I tried on my friend's computer.
    If anyone can help, it'd be great! Thank you so much!

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • How do I create a contact group so that I can send an email to several contacts without having to type individual names.

    How do I create a group in my contacts so I can send an email to several people without having to type names individually? In gmail on my computer I have several groups of contacts but I don't see them on my iPad air.

    In the contacts app there really isn't a way to do this.  What I do however, is create a note in the Notes App with the email addresses of the people I want to email to like this:  [email protected]; [email protected]; [email protected]
    Then when I want to email that group, I just use the copy feature of iPad, pasted it into the to line in an email and voila, I can email to a group.

  • My os is osx version 10.4.11 can I update to the latest os without having the os between?

    My os is osx version 10.4.11 can I update to the latest os without having any of the osystems that are in between these two?

    I would suggest Snow Leopard from there. Last I heard, telesales were selling it at $20 for the single user.
    With that, you can run mostly everything that runs in Tiger, providing you specify Rosetta to be installed (custom installs).
    You will almost certainly have problems with printer and scanner drivers unless they're very new models.
    Also, some software may need updates (Adobe in particular) not all of which are free.
    Normally, you can install 10.6.3 directly over the Tiger installation without upsetting your user data, applications or preferences, but you should always back up to an external drive, preferably as a bootable clone (you can use the Restore function in Disk Utility or a number of third-party apps for this).
    I've done 8 installs from Tiger to SL; 6 of them went without any problems, but 2 of them wouldn't install until I erased the HDD and did a clean installation. Should that be necessary, you migrate your data back from the external during the Setup process.
    For Lion, your specification is minimal and you can't make use of more than another GB of RAM (your maximum is 3GB). It would run, but very slowly.
    Also, Lion doesn't have Rosetta and will not run older PPC applications (like Apple Works and older versions of MS Office), or indeed drivers for peripherals that were written in PPC code, so you'd be looking at more expense to replace a lot of programmes.

  • How can I get just a page border without having a border around every paragraph?

    How can I get just a page border without having a border around every paragraph? I just want a border around the perimeter of the page.

    Assuming you are using Pages 5, you haven't said:
    1. Select multiple paragraphs > Text > Layout > Borders & Rules > choose a line > select a thickness > select the 4th Positon (all around) > Offset
    or
    2. Inseert a rectangular shape > Resize to suit > Format > Fill > No fill > Border > Line > select thickness/color > Arrange > Stay on Page > Text Wrap > None
    If you want that on every page
    Menu > Arrange > Section Masters > Move Object to Section Master
    Pages will not be able to use fonts that are on your PC (I suppose?) if it doesn't have them. Obviously.
    Just as your PC will not be able to use the Mac's fonts.
    Peter

  • Is there any way that I can have songs in an iTunes Playlist without having the songs play in my regular music list.  For instance: can I have a Playlist of Christmas songs without having them play in the routine shuffle of my music library?  Thanks -Rog

    Is there any way that I can have songs in an iTunes Playlist without having the songs play in my regular music list.  For instance: can I have a Playlist of Christmas songs without having them play in the routine shuffle of my music library?  Thanks -Rog

    Select the songs, press CTRL+I to Get Info, on the Options tab set Skip when shuffling to Yes.
    If you want to the hide the songs from your main music view you could consider changing the media kind to audiobooks or podcasts if you don't mind the side effect of them showing up there instead.
    tt2

Maybe you are looking for

  • Adobe form error while calling through SE80

    Hi All, We have done the ADS configuration in our server and it is running fine but when calling the adobe form through SE80 (Web Dynpro) its giving the following error-: An exception occurred which is explained in detail below. The exception, which

  • VGA vs DVI with regards to projectors

    I have recently purchased a BENQ MP620 DLP projector to use as a home cinema and for my artwork. It is running off the VGA port of my Mac and produces a very good picture as is. However, is it worth running it off the DVI port; will there be a notice

  • TS3694 unable to restore i phone 4

    Hi I had a minor catastophe with my water bottle leaking in my bag thus oveer my i phone 4. it pretty much died a few hrs later... It is now instruscting me to connect to itunes, which i have done. I tunes detects the phone and asks me if i want to r

  • Duplicates from iTunes on to iphone4s only, not ipad2, or iPod classics- just phone. C'mon!!

    Duplicates from iTunes on to iphone4s only, not ipad2, or iPod classics- just phone. C'mon!!

  • Solaris Netra T1 105

    I just picked this up for 80 bucks. I wanted to use it to do some learning on Solaris systems. At this point in time...I only know how to work with a system that is already up and running. That and I don't think this Netra is a normal server like I t