Click here to Skip to main content
15,895,256 members
Home / Discussions / C#
   

C#

 
Questionbase class connection string Pin
Stryder_15-Nov-09 9:25
Stryder_15-Nov-09 9:25 
AnswerRe: base class connection string Pin
PIEBALDconsult5-Nov-09 9:40
mvePIEBALDconsult5-Nov-09 9:40 
GeneralRe: base class connection string Pin
Stryder_15-Nov-09 10:20
Stryder_15-Nov-09 10:20 
GeneralRe: base class connection string Pin
PIEBALDconsult5-Nov-09 12:10
mvePIEBALDconsult5-Nov-09 12:10 
AnswerRe: base class connection string Pin
Not Active5-Nov-09 10:13
mentorNot Active5-Nov-09 10:13 
Questionicons changind while clicking treeview nodes Pin
Chesnokov Yuriy5-Nov-09 8:30
professionalChesnokov Yuriy5-Nov-09 8:30 
AnswerRe: icons changind while clicking treeview nodes Pin
snorkie5-Nov-09 9:27
professionalsnorkie5-Nov-09 9:27 
QuestionHelp ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified] Pin
maysam gamini5-Nov-09 8:27
maysam gamini5-Nov-09 8:27 
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

AnswerRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
Wes Aday5-Nov-09 9:07
professionalWes Aday5-Nov-09 9:07 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
maysam gamini5-Nov-09 12:20
maysam gamini5-Nov-09 12:20 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
Wes Aday5-Nov-09 12:51
professionalWes Aday5-Nov-09 12:51 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
maysam gamini5-Nov-09 12:59
maysam gamini5-Nov-09 12:59 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
Wes Aday5-Nov-09 14:56
professionalWes Aday5-Nov-09 14:56 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
maysam gamini5-Nov-09 20:51
maysam gamini5-Nov-09 20:51 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
Wes Aday6-Nov-09 3:30
professionalWes Aday6-Nov-09 3:30 
AnswerRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! [modified] Pin
maysam gamini5-Nov-09 12:40
maysam gamini5-Nov-09 12:40 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
Richard MacCutchan5-Nov-09 23:05
mveRichard MacCutchan5-Nov-09 23:05 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
maysam gamini5-Nov-09 23:43
maysam gamini5-Nov-09 23:43 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
Richard MacCutchan5-Nov-09 23:56
mveRichard MacCutchan5-Nov-09 23:56 
GeneralRe: Help ! Database Problem, Unknown Information in an Access DataBase by the MEMO type! Pin
maysam gamini6-Nov-09 0:35
maysam gamini6-Nov-09 0:35 
QuestionC# WebBrowser changing to detail folder view. Pin
Wheels0125-Nov-09 8:18
Wheels0125-Nov-09 8:18 
QuestionRenaming Pin
_Q12_5-Nov-09 5:43
_Q12_5-Nov-09 5:43 
AnswerRe: Renaming Pin
Ghydo5-Nov-09 5:57
Ghydo5-Nov-09 5:57 
AnswerRe: Renaming Pin
Richard MacCutchan5-Nov-09 6:00
mveRichard MacCutchan5-Nov-09 6:00 
QuestionMulti level pie chart? Pin
BetimD5-Nov-09 5:18
BetimD5-Nov-09 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.