Blobs for 21st century art and writing

managing the mechanics of the ipad by finger is great and intuitive-
but as a 21st century tool a fine pointed pen(stylus) is needed needed needed
using a blob(finger or pogo) to draw and to take notes is counterintuitive and crude
it's like-the ipad doesn't exist for creative people-
and it is not too great for office people and students -who might want to write.
to make a wonderful device-the ipad 1 and 2-only as a video plaything-is ignoring the profoundly practical place of technology for the future.
I ask-could Ives have designed the ipad on the ipad?
Is there any hope that a bluetooth stylus will be added to ipad2 by 3rd parties?

Actually I am an actual artist and have been using wacom cintiq for years-which works great except for not being a light and mobile marvel like ipad.
to your quip about 'carpenters blaming tools'-I'd add something about tails wagging dogs-
Capabilities of tools -resulted in all the inventions of the history of man(including apple).
BUT- I repeat I am talking about a wider issue-not artists who are a small part of the population-
but the beginning of the new era-to which Steve Jobs referred-I do not claim to have more visionary ideas than apple-but as a real believer in digital tech(been using -dreaming of sketch/writing pad-since the 1970's and Radio Shack's 1st 'clamshell' prototype when the only graphics app was a 50k cad programme)
Now it all seems so close.
I'm sure I could 'figure out how to do it'
but-again-for everyday drawing/writing/journaling.
for the intimacy and control and versatility
to actually no longer need- the pad of paper and pen beside you....
either a digital pen is needed-or an entirely new tool(as the mouse was)
I do not believe that the existing styli-will do that-nor a finger.

Similar Messages

  • Using BLOB for storing OLE Item and Concadinating

    Hi,
    We are using BLOB data type to store Word document using OLE
    interface in forms 6i. It is working fine.
    Now we want to merge two or more BLOB items to one item to make
    the document as a single document. We tried to use
    DBMS_LOB.APPEND package to do the same but we could see only the
    first document that is appended and the remaining documents are
    not visible. When we analyzed the size of the BLOB item, it is
    getting increased whenever we append another document.
    Looking for the solution urgently. It would be better to have
    the code that is used for doing this.
    Thanks in Advance,
    Ganesan

    What you say seems quite normal.
    You should not use dbms_lob.append, but rather call Word and
    copy the text & other objects from one of the LOBs to the end of
    the other one.
    I wish I could tell you more about how to do that, but I don't
    know. I'm still looking for more doco on the methods &
    properties for Word & XL to be invoked when using OLE2.

  • Reading the Blob and writing it to an external file in an xml tree format

    Hi,
    We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
      DATE_UPDATED   VARCHAR2(20 BYTE)              DEFAULT SYSDATE
    )The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
    SET serveroutput ON
    DECLARE
       vstart     NUMBER             := 1;
       bytelen    NUMBER             := 32000;
       len        NUMBER;
       my_vr      RAW (32000);
       x          NUMBER;
       l_output   UTL_FILE.FILE_TYPE;
    BEGIN
    -- define output directory
       l_output :=
          UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
       vstart := 1;
       bytelen := 32000;
    ---get the Blob locator
       FOR rec IN (SELECT response_file vblob
                     FROM clarity_response_log
                    WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
       LOOP
    --get length of the blob
    len := DBMS_LOB.getlength (rec.vblob);
          DBMS_OUTPUT.PUT_LINE (len);
          x := len;
    ---- If small enough for a single write
    IF len < 32760
          THEN
             UTL_FILE.put_raw (l_output, rec.vblob);
             UTL_FILE.FFLUSH (l_output);
          ELSE  
    -------- write in pieces
             vstart := 1;
             WHILE vstart < len AND bytelen > 0
             LOOP
                DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
                UTL_FILE.put_raw (l_output, my_vr);
                UTL_FILE.FFLUSH (l_output);
    ---------------- set the start position for the next cut
                vstart := vstart + bytelen;
    ---------- set the end position if less than 32000 bytes
                x := x - bytelen;
                IF x < 32000
                THEN
                   bytelen := x;
                END IF;
                UTL_FILE.NEW_LINE (l_output);
             END LOOP;
    ----------------- --- UTL_FILE.NEW_LINE(l_output);
          END IF;
       END LOOP;
       UTL_FILE.FCLOSE (l_output);
    END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
    the code which I get is as follow all all xml data comes on a single line
    <?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
      <empno>7369</empno>
      <ename>James</ename>
      <job>Manager</job>
      <salary>1000</salary>
    </emp>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
    <empno>7370</empno>
    <ename>charles</ename>
    <job>President</job>
    <salary>500</salary>
    </emp>Please advice

    What was wrong with the previous answers given on your other thread:
    Export Blob data to text file(-29285-ORA-29285: file write error)
    If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
    As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
    You really seem to be struggling to get the worst possible way to work.

  • Nokia 8800 Arte and iMac OSX 10.6

    Tried to synchronize the Nokia 8800 Arte with the iMac OSX 10.6. Bluetooth connection works, so exchange of films and photo's are OK. Synchronization via blue tooth iSync does not function because iMac does not have 'plug-in'. Nokia does not provide a solution. Also PC Suite for Nokia 8800 Arte and iMac OSX 10.6 is not available at Nokia support/downloads. Nokia support promised to ask for investigation of the possibility of developing and verifying a solution.

    Hi PAHU, thanks for helping. I´ve tried 2 different and brand new cables and still nothing appears on the USB list in System Profiler. I´ve tried restarting both with printer and off, etc, still it aint there. Connecting my iPhone to the same USB ports, the iPhone shows up in System Profiler, so the ports must be ok.
    I tried connecting the printer to my girlfriends Macbook Pro, OS X 10.6.4. and the printer does show up on the System Profiler. The printer seems to be online but when I tried to print a page of text, it "went offline" and gave an error 306A "communication error blabla". I downloaded a new driver from Canons site and now it says its printing, the printer starts blinking its green light, but nothing happens except it switches to saying the printer is offline.
    This is very confusing...

  • Not Fit for Purpose in the 21st Century

    BT
    As someone who is on one hand fortunate enough to live in a semi rural area, and also unfortunate enough to live in a semi rural area. I have no other option open to me to use any other network (and I mean network) than BT's.
    Having to suffer copper pair over a 4km line to the exchange is one thing. However over the past decade yes 10 years nothing has been done to the line or exchange that warrants me paying full price for a service that is no different to how it was late last century.
    I therefore state that your network that "does" carry Voice as well as data is not "Fit for Purpose". I know you will continue to ignore the crys from the rural community for even ADSL2 to be implemented so we can at least try to get better data thruput.
    We are now well into the 21st century yet I have to suffer last century technology.
    1) Why should we as rural customers be subgected to higher cost. Yet still see no benefits of higher costs?
    2) Why is it difficult for you to recify problems when all voice and data is carried by BT network?
    3) That you continue to supply services that is not possible for all you customers to take advantage of even though I as a rural customer (with no other options) pay money to ?
    4) Do you believe that "POT LUCK" on your exchange when moving is an acceptable response in the century?
    You can no longer hide behind the fact you believe it is "Fit For Purpose" when the purpose of providing a connection has moved away from a simple POTS to much more than that. And this has been so for well over a decade.
    It is no longer acceptable just to say "sorry" when more and more every household and busnesses rely on a stable and fast connection speeds. 
    I and many others feel more and more ripped off and left behind in your cavalier attitude to your customers in areas that you know full well have no other option thyan to use your outdated and frankly poor network.
    Please answer these questions without once saying "Sorry" as it no longer washes with me and many others. 

    a_c_g_t,
    Unfortunately there does seem to be a few issues that may hinder or try to slow the progress in improving services at your exchange. 
    Firstly at a footprint of approx 386 property then BT Wholesale may not yet see any commercial benefit of upgrading the exchange to the 21cn network. Also if it's a small "shed" exchange (We have some round us that are just like a garden shed) then it may not be able to house the new equipment in it's current state.
    Again your exchange has not been unbundled by other ISPs/CPs which would allow them to install their own equipment at the exchange, possible again down to commercial reasons or there isn't enough space in the exchange to install the equipment or the backhaul infrastructure isn't their or won't currently support it.
    Parts of the exchange area is "Under Evaluation" under the Connecting Devon & Somerset BDUK programme, though other parts are out of the programme.
    Also having a look the exchange area it seems to be mainly Exchange Only lines over a large-ish sparse area, meaning that FTTC may not be justified as not a big enough percentage of properties will be able to get FTTC (if lines were re-routed, a PCP cab built and a DSLAM cabinet installed and linked to that PCP). Again re-routing the lines may be less cost effective than alternative solutions (eg FTTP, though again may not be cost effective, or a wireless solutions may be a better idea).
    Also if the exchange is too small to house the new infrastructure or the backhaul network isn't up to scratch then the fibre may come from a neighbouring exchange, however at the moment there doesn't seem to be that many exchange in the area that have fibre.
    In your case I would contact your MP (and get neibours and villagers to do so to) regarding trying to get fibre or at least the 21cn network (ADSL2/2+) in your exchange area.
    I would also try to contact Connecting Devon and Somerset via https://www.connectingdevonandsomerset.co.uk/contact-us/ to see if they can give you any more info as to if your area is within scope and is a NGA area, if not to see if you can arrange a community meeting with them, the village and your MP.
    In the sort term, is their any fixed/non-fixed wireless providers in the area? or satellite broadband?
    Hope that all makes sense and is slightly helpful.
    Best of luck 
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • When importing photos with iBooks Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the imported photo?

    When importing photos with the iBooks Author Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the corresponding imported photo? I have 4,800 stills to import and can't imagine it's necessary to copy and paste the description for each.

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
    http://www.apple.com/feedback/ibooks-author.html
    As for AS, I'm not sure anyone has sniffed iBA's dictionary yet...google is you friend for hot prospects, I'm sure

  • IMac vs. Macbook Pro for Art and Design Student

    Hello,
    first off, I'm sorry if this is in the wrong section of the forums - it seemed like the best place, but I wasn't entirely sure.
    Secondly, I can imagine you guys get asked this question a lot, so i guess I'm sorry for that!
    Here's the situation - I'm going to College in England this September. I need a computer to accompany me with my course, and what I'll be doing with it. I'm studying Art and Design, but I already have a strong interest and a lot of experience in graphic design, vector illustration and web design - so it needs to fit my personal use as well.
    I knew instantly that I not only wanted but needed an iMac. I saved up, compared the models and then, rather unfortunately, came to a stop.
    Here's the problem - I need the processing power to handle the full Adobe CS5 suite, some 3D modelling and rendering and plenty of photos and music. However, Portability would be nice... although my college has 3 Mac suites, I think that being able to carry my work around and edit on the go will be an obvious plus. If I do go for the iMac, do you recommend me getting the 21.5" or the 27"? I (just) have money for either so that isn't really a problem, but is it worth the extra money for a larger screen and better graphics? Is the Macbook Pro powerful enough? The way I see it, I'm spending £2000+ To only get near the power of the iMac...
    I hope you guys can help me out here, and thank-you in advance!
    (And sorry for the long post...!)
    Message was edited by: ubermatik

    Hi Bee!
    Thanks very much for your advice!
    However, why do you suggest the 21.5" over the 27"? Do you think it is worth the extra screen size, because I can afford either?
    It seemed to me that the iMac was the best option also - I'm in need of the power, but I'm still deliberating over size.
    Also, on a side note, do you know of any iPhone apps that can help me with transferring files from home to college I'm getting an iPod Touch as part of the new deal Apple are running and I just wondered if there were any apps that I would find handy for transporting files etc.?
    Thanks again!

  • Users to be created for ART and Workbech

    Hi Todd,
    I have an ART installation where I have created separate unix users for Workbench ( user work1 ) and ART (Work2 ).
    The product has been installed with a different user ( oracle ).
    I am facing some issues with this as work2 user is unable to run tmboot command and often I am getting "Permission denied" errors.
    can you tell me what is the recommended approach ? Should I use only a single user for ART and workbench ..
    Please suggest.
    Regards,
    Subhasis

    Hi Subhasis,
    Tuxedo uses the standard OS protections, so if you've installed Tuxedo as user oracle, you'll need to make sure the other users have access to those directories and files. In addition, you may be running into a problem trying to write the ULOG file. The location of that file can be controlled by the ULOGPFX environment variable.
    You should only need read+execute privileges to the files in the TUXDIR directory, but you will need write access to the directory containing TUXCONFIG, and typically to the APPDIR directory.f
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Some of my earliest photos are not showing on my phone after updating to iOS7. They can be seen in the app "over" which allows for art and lettering to be placed on a photo but I can not find an album for photos before 2012.

    Some of my earliest photos are not showing on my phone5 after updating to iOS7. They can be seen in the app "over" which allows for art and lettering to be placed on a photo but I cannot find an album or year for photos before 2012 (in the photo app). The iphone says the photo content is there when I check in "about" under general in settings. So the pictures seem to be somewhere but I just can't access from from the photo app. Any suggestions. I also know that they were there before the iOS7 upgrade as I was looking for a pre 2012 picture last week and it we there.

    Some of my earliest photos are not showing on my phone5 after updating to iOS7. They can be seen in the app "over" which allows for art and lettering to be placed on a photo but I cannot find an album or year for photos before 2012 (in the photo app). The iphone says the photo content is there when I check in "about" under general in settings. So the pictures seem to be somewhere but I just can't access from from the photo app. Any suggestions. I also know that they were there before the iOS7 upgrade as I was looking for a pre 2012 picture last week and it we there.

  • I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, re

    I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, reinstalled still have same issue.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Quickest method for reading and writing files

    Hi
    I need help regarding file operations.(Reading and Writing). Currently I am using BufferedReader and BufferedWriter to read and write files. But the files (XML) are very huge files(from 30 -50 mb). This is slowing the application to a great extent. Is there any other approach to perform the above mentioned operations on XML files in a fast manner.
    Thank You
    Mansoor.

    Hi
    Can u let me know how to use the java.nio pavkage for primitve data types(int,float..., boolean). I have tried it but found no success.
    Thank You
    Mansoor

  • Lightweight library for reading and writing mp3-tags

    Hi,
    I'm currently evaluating libraries for reading and writing mp3-tags. All the projects I found so far where not maintained for a couple of years.
    My question:
    Is there currently a library, which one could call standard for this purpose
    Cheers
    Jonny

    jonnybecker wrote:
    I'm currently evaluating libraries for reading and writing mp3-tags. Don't you rather mean ID3 tags?
    All the projects I found so far where not maintained for a couple of years.It may either be dead, or it may be so finished and free of bugs that no maintenance is needed anymore.
    If you're occurring problems with it and if it is open source you can always consider taking a fork for own development.
    Is there currently a library, which one could call standard for this purposeNo one comes to mind.

  • Trying to fix my rss feed for resubmitting, I can see cover art and subscribe but don't see my episodes.

    I've submitted my RSS feed and it came back with an error. I was able to fix the problem and can now see my cover art and subscribe to my podcast, but the episode is not there for me to listen to. My feed comes back ok on the feed testers. So I'm not quite sure what the problem is.
    Here is my feed: http://feeds.feedburner.com/blogspot/TsCfT
    Im not the most tech savvy person and it took a lot for me to get it to where its at now. Any help would be great full thanks.

    There is no file at the address you give for your feed, probably you've mistyped it.
    You've fallen over a bug in the automated part of the submissions process whereby you are told a feed has already been submitted even if it was subsequently rejected or removed. I'm afraid the workaround is indeed to change the title (the name of your podcast) slightly - you can change it back once accepted provided doing so does not change the feed URL. If you can change the feed filename, and hence its URL, this is also a good idea, as is changing the URL in the 'link' tag (this can easily be changed back afterwards).

  • My problem is with the the strategies used by Verizon sales representatives in the stores. I believe they are the new "used car" salesmen for the 21st century.

    I am willing to accept my part in being misled by these people on two separate occasions. The first time was when we purchased two smartphones and had another phone on our bill. During the process I asked repeatedly what the monthly bill would be for all three phones and was told repeatedly that the cost would be $169.00. In reality that price did not include the extra phone and because our plan changed the cost of the extra line went to thirty-five dollars a month instead of ten dollars a month.
    My next encounter, in a different store and a different salesman, was just last month. My husband's phone stopped working and we went in to get a new phone. We pay for the insurance. The salesman said the insurance cost was fifty dollars where as the upgraded phone would only be twenty dollars. Again I repeatedly asked if there were any other charges and was told no it only cost twenty dollars. However when the bill arrived the cost for service on that phone went up thirty dollars. The upgrade from what we had isn't worth thirty dollars.
    I know I have no recourse for this and will pay for my mistake, but only as long as I have to. My contract on the phone I carry runs out in September. I will be cancelling that service then. As soon as the other contract runs out in 2016 that will be cancelled also.
    As I have said I take full responsibility for my mistakes in believing the salesman and not taking time to read the fine print. However I also think that I should be able to believe the salesman when he quotes the charges to me when I ask. I am not a happy customer and anyone who asks me about Verizon will get the full story.

    When you're ready to walk out of the door, why would they bring up a $30 upgrade fee? Is it moral? No. Is it legal? Yes.
    At this day and age, you have to watch your own back. This could've been avoided had you properly read your contract, which is updated more frequently than one would think.

  • Blob for binary file, read/write problems

    Hi,
    I am relatively new to this type of development so apologies if this question is a bit basic.
    I am trying to write a binary document (.doc) to a blob and read it back again, constructing the original word file. I have the following code for reading and writing the file:
    private void save_addagreement_Click(object sender, EventArgs e)
    // Save the agreement to the database
    int test_setting = 0;
    // create an OracleConnection object to connect to the
    // database and open the connection
    string constr;
    if (test_setting == 0)
    constr = "User Id=royalty;Password=royalty;data source=xe";
    else
    constr = "User ID=lob_user;Password=lob_password;data source=xe";
    OracleConnection myOracleConnection = new OracleConnection(constr);
    myOracleConnection.Open();
    // create an OracleCommand object to hold a SQL statement
    OracleCommand myOracleCommand = myOracleConnection.CreateCommand();
    myOracleCommand.CommandText = "insert into blob_content(id, blob_column) values 2, empty_blob())";
    OracleDataReader myOracleDataReader = myOracleCommand.ExecuteReader();
    // step 2: read the row
    OracleTransaction myOracleTransaction = myOracleConnection.BeginTransaction();
    myOracleCommand.CommandText =
    "SELECT id, blob_column FROM blob_content WHERE id = 2";
    myOracleDataReader = myOracleCommand.ExecuteReader();
    myOracleDataReader.Read();
    Console.WriteLine("myOracleDataReadre[\"id\"] = " + myOracleDataReader["id"]);
    OracleBlob myOracleBlob = myOracleDataReader.GetOracleBlobForUpdate(1);
    Console.WriteLine("OracleBlob = " + myOracleBlob.Length);
    myOracleBlob.Erase();
    FileStream fs = new FileStream(agreement_filename.Text, FileMode.Open, FileAccess.Read);
    Console.WriteLine("Opened " + agreement_filename.Text + " for reading");
    int numBytesRead;
    byte[] byteArray = new byte[fs.Length];
    numBytesRead = fs.Read(byteArray, 0, (Int32)fs.Length);
    Console.WriteLine(numBytesRead + " read from file");
    myOracleBlob.Write(byteArray, 0, byteArray.Length);
    Console.WriteLine(byteArray.Length + " written to blob object");
    Console.WriteLine("Blob Length = " + myOracleBlob.Length);
    fs.Close();
    myOracleDataReader.Close();
    myOracleConnection.Close();
    This gives the following console output:
    myOracleDataReadre["id"] = 2
    OracleBlob = 0
    Opened D:\sample_files\oly_in.doc for reading
    56832 read from file
    56832 written to blob object
    Blob Length = 56832
    My write to file code is:
    private void save_agreement_to_disk_Click(object sender, EventArgs e)
    string filename;
    SaveFileDialog savedoc = new SaveFileDialog();
    if (savedoc.ShowDialog() == DialogResult.OK)
    filename = savedoc.FileName;
    // create an OracleConnection object to connect to the
    // database and open the connection
    OracleConnection myOracleConnection = new OracleConnection("User ID=royalty;Password=royalty");
    myOracleConnection.Open();
    // create an OracleCommand object to hold a SQL statement
    OracleCommand myOracleCommand = myOracleConnection.CreateCommand();
    myOracleCommand.CommandText =
    "SELECT id, blob_column " +
    "FROM blob_content " +
    "WHERE id = 2";
    OracleDataReader myOracleDataReader = myOracleCommand.ExecuteReader();
    myOracleDataReader.Read();
    Console.WriteLine("myOracleDataReader[id] = " + myOracleDataReader["id"]);
    //Step 2: Get the LOB locator
    OracleBlob myOracleBlob = myOracleDataReader.GetOracleBlobForUpdate(1);
    Console.WriteLine("Blob size = " + myOracleBlob.Length);
    //Step 3: get the BLOB data using the read() method
    byte[] byteArray = new byte[500];
    int numBytesRead;
    int totalBytes = 0;
    FileStream fs = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Write);
    while ((numBytesRead = myOracleBlob.Read(byteArray, 0, 500)) > 0)
    totalBytes += numBytesRead;
    fs.Write(byteArray, 0, byteArray.Length);
    Console.WriteLine("numBytes = " + numBytesRead + " totalBytes = " + totalBytes);
    Console.WriteLine((int)fs.Length + " bytes written to file");
    fs.Close();
    myOracleDataReader.Close();
    myOracleConnection.Close();
    This gives the following console output:
    myOracleDataReader[id] = 2
    Blob size = 0
    0 bytes written to file
    If I manually add the blob file using the following:
    DECLARE
    my_blob BLOB;
    BEGIN
    -- load the BLOB
    my_bfile := BFILENAME('SAMPLE_FILES_DIR', 'binaryContent.doc');
    SELECT blob_column
    INTO my_blob
    FROM blob_content
    WHERE id = 1 FOR UPDATE;
    DBMS_LOB.FILEOPEN(my_bfile, dbms_lob.file_readonly);
    DBMS_LOB.LOADFROMFILE(my_blob, my_bfile, DBMS_LOB.GETLENGTH(my_bfile), 1, 1);
    DBMS_LOB.FILECLOSEALL();
    COMMIT;
    END;
    COMMIT;
    The write to file works perfectly. This tells me that there must be something wrong with my code that is writing the blob to the database. I tried where possible to following the Oracle article using large objects in .NET but that (along with most things on the internet) focus on uploading text files.
    Thanks in advance.
    Chris.

    myOracleCommand.CommandText = "insert into blob_content(id, blob_column) values 2, empty_blob())";
    OracleDataReader myOracleDataReader = myOracleCommand.ExecuteReader();
    This looks wrong, you shouldn't be using ExecuteReader unless you expect to get a result back. Try using ExecuteNonQuery to do the insert.

Maybe you are looking for

  • How to pass querystring value to swfobject and set it in adobe flash

    Hi, I must tell that I have not much knowledge about flash. I have a flash slideshow on my homepage which displays news by a xml file under http://bit.ly/q48UmE and I am using slideshowpro for it. That slideshow xml file path must be set within adobe

  • Problems with files opened in Photoshop from Lightroom

    Hi, I started editing a large number of files recently and came upon strange problems when sending files to Photoshop from Lightroom: 1. Sometimes, all edits will be transferred to Photoshop except for the Lens Profile Correction. I tried clearing al

  • Date Sent not showing in Sent Mail

    After a certain date, using Mail application, the Date (sent) is not showing in the header along with To & From & Subject. Why? I have tried to get it to show using view prefs. Doesn't work. I have changed to using a network time server. Doesn't work

  • JTable.editCellAt() not working

    After using the editCellAt function of JTable I guess you should be able to just start typing in that cell (without any mouseclicks). (If this is not the case - then how to make that?). But it doesn't work! Is there something wrong with the code belo

  • Objective Setting & Appraisals - Value Descriptions

    Hi, We use Objective Setting & Appraisals functionality for competence assessment. Here we use a 'Qualification' which has specific proficiency descriptions in the qualifcations catalog (not the default value). Now under the 'Value Descritpions' tab