Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

maysam gamini

@maysam gamini
About
Posts
13
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    ok THANK YOU!

    C# help html mobile database com

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    thank YOu! Guys, I attached the Database File and all information that i have, please just try, and find a soloution for me. tnx! i probably know what the problem is, but i don't know how could i handle it! :(( :confused: :((

    C# help html mobile database com

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    Thank you, but unfortunately i sill have he same problem as before. Parameters is not valid!

    private void button2_Click(object sender, EventArgs e)
    {
    string strData = dataGridView1[2, 0].Value.ToString();
    byte[] data = new ASCIIEncoding().GetBytes(strData);
    MemoryStream ms = new MemoryStream(data);
    Image im;
    im = Image.FromStream(ms);//Parameters is not valid! :((
    pictureBox1.Image = im;
    }

    C# help html mobile database com

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    THank you Wes Aday, i use this :

    public Image ByteToImageConvert(byte[] byteArrayIn)
    {
    MemoryStream ms = new MemoryStream(byteArrayIn);
    Image returnImage = Image.FromStream(ms);
    return returnImage;
    }

        private void button2\_Click(object sender, EventArgs e)
        {
            string strData = dataGridView1\[2, 0\].Value.ToString();
            byte\[\] data = Convert.FromBase64String(strData);
            pictureBox1.Image = ByteToImageConvert(data);
        }
    

    but i face with this problem on " Image returnImage = Image.FromStream(ms);": Parameter is not valid. What should i do? PLease HELP! thank you!

    C# help html mobile database com

  • Converting an Image to a Byte[] and visa versa
    M maysam gamini

    Dear gareth111, as i see in this post you had a problem same as mine, please check this post soon, i really need your help, http://www.codeproject.com/Messages/3261881/Help-Database-Problem-Unknown-Information-in-an-Ac.aspx[^] thank you. With best Regards.

    C# graphics help winforms data-structures xml

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    Dear Friends, Well i found that, it's definitely a String Base 64, 'cause I was able to build a byte array from it with this code:

    string strData = dataGridView1[2, 0].Value.ToString();//this from visit table in sample database that i //attached
    byte[] data = Convert.FromBase64String(strData);

    and i use this :

    public Image ByteToImageConvert(byte[] byteArrayIn)
                      {
                               MemoryStream ms = new MemoryStream(byteArrayIn);
                               Image returnImage = Image.FromStream(ms);
                               return returnImage;
                      }

    but i face with this problem on " Image returnImage = Image.FromStream(ms);": Parameter is not valid. What should i do? PLease HELP! thank you!

    modified on Thursday, November 5, 2009 6:55 PM

    C# help html mobile database com

  • Help! Database Problem, Unknown Information in a Access DataBase by the MEMO type!
    M maysam gamini

    Dear Friends, Well i found that, it's definitely a String Base 64, 'cause I was able to build a byte array from it with this code: string strData = dataGridView1[2, 0].Value.ToString();//this from visit table in sample database that i //attached byte[] data = Convert.FromBase64String(strData); and i use this : public Image ByteToImageConvert(byte[] byteArrayIn)             {                   MemoryStream ms = new MemoryStream(byteArrayIn);                   Image returnImage = Image.FromStream(ms);                   return returnImage;             } but i face with this problem on " Image returnImage = Image.FromStream(ms);": Parameter is not valid. What should i do? PLease HELP! thank you!

    Database help html mobile database com

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    Dear Wes Aday, If you do more attention, you will find that, my question is relative to C# problem. i need to know what functions or method or classes should i use to solve my problem in C#! Well i found that, it's definitely a String Base 64, 'cause I was able to build a byte array from it with this code: string strData = dataGridView1[2, 0].Value.ToString(); byte[] data = Convert.FromBase64String(strData); and now the thing that i'm looking for is: How could i make an image from byte? thank you!

    C# help html mobile database com

  • Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified]
    M maysam gamini

    Hi friends. there is a clinic software who was written by a bankrupted company, and now it doesn’t work by the some reason, and there is no support on this software, All things that I have to do are recover the patient’s data that was written by doctor handwriting in his notebook tablet-pc. let me describe a little... software has a feature that allow to the doctor to write the patients information by hand writing with an electrical pen, it so like paint brush software and it save this information in the database like bellow...

    AIfIAR0E2A/uBgIZAkgRBUgRRP8BBEgQRTUKSBFXDQAAAFD/AQQDATgAGCIgMgkA9P8CAekiOkUzCQD4nwIBWiA6RTgIAP4DAAAAgH8ADw4S+SONP88jjT8RAACAPx4+4gKD/glK/glJAAAAAAAAAAAYyAAAAAAAAAAAAAAAAAiQIkAAAAAAVMgAAAAESAEJAAAAAAxkAAAAAAIfEAAKLw+E+44+492VloilKFtOjSCG4PDhA6KAjpKCkI

    i found that, it's definitely a String Base 64, 'cause I was able to build a byte array from it with this code:

    string strData = dataGridView1[2, 0].Value.ToString();//this from visit table in sample database that i //attached
    byte[] data = Convert.FromBase64String(strData);

    and then i use this :

    public Image ByteToImageConvert(byte[] byteArrayIn)
    {
    MemoryStream ms = new MemoryStream(byteArrayIn);
    Image returnImage = Image.FromStream(ms);
    return returnImage;
    }

    but i face with this problem on " Image returnImage = Image.FromStream(ms);": Parameter is not valid. So What should i do? i attached the database file here/: http://rapidshare.com/files/302706380/test.accdb.html there is a tables in the database, and all thing that i need is the "VISIT Table" 's information on the column by the name "NOTES", i think it must be image. HELP ME,THis IS UrGENT Problem! thank you very much! With best Regards!

    modified on Thursday, November 5, 2009 7:36 PM

    C# help html mobile database com

  • Help! Database Problem, Unknown Information in a Access DataBase by the MEMO type!
    M maysam gamini

    Hi friends. I have problem reading images from ms access database! there is a clinic software who was written by a bankrupted company, and now it doesn’t work by the some reason, and there is no support on this software, All things that I have to do are recover the patient’s data that was written by doctor handwriting in his notebook tablet-pc. let me describe a little... software has a feature that allow to the doctor to write the patients information by hand writing with an electrical pen, it so like paint brush software and it save this information in the database like bellow... I think the doctor's handwriting must be saving as images in the patient’s records. The problem is I couldn’t read it from database because the data are like this: AIfIAR0E2A/uBgIZAkgRBUgRRP8BBEgQRTUKSBFXDQAAAFD/AQQDATgAGCIgMgkA9P8CAekiOkUzCQD4nwIBWiA6RTgIAP4DAAAAgH8ADw4S+SONP88jjT8RAACAPx4+4gKD/glK/glJAAAAAAAAAAAYyAAAAAAAAAAAAAAAAAiQIkAAAAAAVMgAAAAESAEJAAAAAAxkAAAAAAIfEAAKLw+E+44+492VloilKFtOjSCG4PDhA6KAjpKCkI I think images must be converted from image to another type like String Base 64 format. i attached the database file here/: http://rapidshare.com/files/302706380/test.accdb.html there is a tables in the database, and all thing that i need is the "VISIT Table" 's information on the column by the name "NOTES", i think it must be image. HELP ME,THis IS UrGENT Problem! thank you very much! With best Regards!

    Database help html mobile database com

  • Help On Read Image column from MS Acess Database
    M maysam gamini

    HI Guys, I have problem reading images from ms access database! there is a clinic software who was written by a bankrupted company, and now it doesn’t work by the some reason, and there is no support on this software, All things that I should do are recover the patient’s data that was written by doctor handwritings in his notebook tablet-pc. I think the doctor's handwriting must be saving as images in the patient’s records. The problem is I couldn’t read it from database because the data are like this: AIfIAR0E2A/uBgIZAkgRBUgRRP8BBEgQRTUKSBFXDQAAAFD/AQQDATgAGCIgMgkA9P8CAekiOkUzCQD4nwIBWiA6RTgIAP4DAAAAgH8ADw4S+SONP88jjT8RAACAPx4+4gKD/glK/glJAAAAAAAAAAAYyAAAAAAAAAAAAAAAAAiQIkAAAAAAVMgAAAAESAEJAAAAAAxkAAAAAAIfEAAKLw+E+44+492VloilKFtOjSCG4PDhA6KAjpKCkI I think images must be converted from binary to another type. If anyone could help on this he/her save my life! i attached the database file here/: http://rapidshare.com/files/302706380/test.accdb.html there is a tables in the database, and all thing that i need is the "VISIT Table" 's information on the column by the name "NOTES", i think it must be image. HELP ME,THis IS UrGENT Problem!

    Database help html mobile database com

  • Database Problem, Unknown Information in a Access DataBase by the MEMO type!
    M maysam gamini

    Thank You In Advance, I'll try it and send another reply again, and report the result! about the example that i post, it's quite a content of the database field. there is some another here! 1. AORtHQTwD4AEAh4CSBEHSBFEgID8BwRIEEU1B0gRRP8BRQgFSBFE/wEEAwE4ABgiIDIJAPT/AgHpIjpFMwkA+J8CAVogOkU4CAD+AwAAAIB/AA8OEvkjjT/PI40/EQAAgD8eKLQBhvAdR4DpyGhwAAAAAAAAAAAAAAIAZ4yvRgAAnp8AACGhwAAAAAAKIgqE+ry+sL1Y4RhHXsCF8iV5DHKLKIJsTICFqxzDyy14ueEKIgmH5jDmMYFA51D5XSIqh+Ow47GwWG2Sug26 2. AL5cHQTeD7IDAhsCSBEHSBFEgID8BwRIEEU1CkgRVw0AAABQ/wEEAwE4ABgiIDIJAPT/AgHpIjpFMwkA+J8CAVogOkU4CAD+AwAAAIB/AA8OEvkjjT/PI40/EQAAgD8eJ5kBhfcye5jAAAAAijAAAAAAAAAAAAABdfBBGBIlAAEGAtg4IzHHYApKHoT7Gb7GficXVrxWaMOKtqzx4WHVFSk6RzwAhfIVeQrw2HpowMODnwc9sEFVGAuxkGMqoughqviAhONqlDfjinGcKk 3. ANKqAR0EtA+IBAIOAkgRBUgRRP8BBEgQRTUEAwE4ABgiIDIJAPT/AgHpIjpFMwkA+J8CAVogOkU4CAD+AwAAAIB/AA8OEvkjjT/PI40/EQAAgD8eL6sCgoAAAAAAAAAAAePIAABmgAAAAAAAAePIAAAAAASkoAAAAAACKAAAABmgAAAACkYfhPsVvsZ8zMlKSmONp2rivSsZ3VjdwOWAhfCKeEzxjGSUTTRQyz4Gu/C130zoJLJqsIx0YIP0tMefm5qZtCJImS98/D6oCi

    C# database com help question

  • Database Problem, Unknown Information in a Access DataBase by the MEMO type!
    M maysam gamini

    Recently i get a project about a clinic software and i have a little problem with the previous database information. so i thought that you are the best one that could answer me, let me describe a little... the previous software has a feature that allow to the doctor to write the patients information by hand writing with a electrical pen, it so like paint brush software and it save this information in the database like bellow, AORtHQTwD4AEAh4CSBEHSBFEgID8BwRIEEU1B0gRRP8BRQgFSBFE/wEEAwE4ABgiIDIJAPT/AgHpIjpFMwkA+J8CAVogOkU4CAD+AwAAAIB/AA8OEvkjjT/PI40/EQAAgD8eKLQBhvAdR4DpyGhwAAAAAAAAAAAAAAIAZ4yvRgAAnp8AACGhwAAAAAAKIgqE+ry+sL1Y4RhHXsCF8iV5DHKLKIJsTICFqxzDyy14ueEKIgmH5jDmMYFA51D5XSIqh+Ow47GwWG2Sug26 :confused: so i don't know what exactly it is, but i guess it could be a Multimedia Format Like jpeg or anything else like that, do you know what it could be, and how can i solve this problem! thank you very much! With best Regards! -- Maysam Gamini Bachelor Of Information Technology Faculty Of Engineering, Isfahan University E-mail address: Mit.gamini@gmail.com E-mail address: Ir.webbiz@gmail.com Phone: +9821-20105677 Cell No: +98912-3778746

    C# database com help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups