×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Lightbulb Reading and Writing an Image from the RMS

    Hi..

    I have read an Image from the Server using the Input Stream and then Displayed the same on to the form.
    Now I want to write the Image into the RMS and read the same image from it..

    How do I go About It..

  2. #2
    Registered User
    Join Date
    Aug 2004
    Posts
    33
    Just get the byte data (for example an byte[]) and write it to the RecordStore. ;-)

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    7
    How to write a ByteArray into the RMS since we cannot write bytes directly. so how can we convert the byte array to the specific data type and write it into the RMS..

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395
    You can only write arrays of bytes to RMS, nothing else.

    Take a look at the method:
    Code:
    rs.addRecord (byte [], int, int);
    Graham.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×