Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
QuestionC# Pin
KKSPANDICEO19-Dec-18 1:18
KKSPANDICEO19-Dec-18 1:18 
AnswerRe: C# Pin
OriginalGriff19-Dec-18 1:19
mveOriginalGriff19-Dec-18 1:19 
AnswerRe: C# Pin
Pete O'Hanlon19-Dec-18 3:02
mvePete O'Hanlon19-Dec-18 3:02 
AnswerRe: C# Pin
pkfox19-Dec-18 23:17
professionalpkfox19-Dec-18 23:17 
QuestionMessage Closed Pin
18-Dec-18 20:08
Member 1409444418-Dec-18 20:08 
QuestionRe: How To Convert Image To Binary And Get Result In Text Box Pin
Richard MacCutchan18-Dec-18 21:11
mveRichard MacCutchan18-Dec-18 21:11 
AnswerRe: How To Convert Image To Binary And Get Result In Text Box Pin
Eddy Vluggen19-Dec-18 0:40
professionalEddy Vluggen19-Dec-18 0:40 
AnswerRe: How To Convert Image To Binary And Get Result In Text Box Pin
BillWoodruff19-Dec-18 16:20
professionalBillWoodruff19-Dec-18 16:20 
Define "result:" exactly what type of information do you want to display in the TextBox ?

Don't use ArrayList: it's an older data structure that uses a lot of memory: use an array.

Study these links and code:
//https://stackoverflow.com/a/1668493/133321
//https://stackoverflow.com/a/221941/133321
public static byte[] ImageToByteAry(Image image, ImageFormat format)
{
    var stream = new System.IO.MemoryStream();
    image.Save(stream, format);
    stream.Position = 0;

    return stream.ToArray();
}

«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

QuestionDLL Snafu and debugging question Pin
Super Lloyd18-Dec-18 12:23
Super Lloyd18-Dec-18 12:23 
AnswerRe: DLL Snafu and debugging question Pin
Mycroft Holmes18-Dec-18 20:10
professionalMycroft Holmes18-Dec-18 20:10 
GeneralRe: DLL Snafu and debugging question Pin
Super Lloyd19-Dec-18 3:47
Super Lloyd19-Dec-18 3:47 
QuestionHow is it possible that after I log in to a website which uses CAPTCHA, my WPF application take some input from me and fill some fields of that website for me? Pin
Member 1409226217-Dec-18 0:38
Member 1409226217-Dec-18 0:38 
AnswerRe: How is it possible that after I log in to a website which uses CAPTCHA, my WPF application take some input from me and fill some fields of that website for me? Pin
OriginalGriff17-Dec-18 1:58
mveOriginalGriff17-Dec-18 1:58 
QuestionImage on Windowsform ListBox Pin
picasso215-Dec-18 7:57
picasso215-Dec-18 7:57 
AnswerRe: Image on Windowsform ListBox Pin
Dave Kreskowiak15-Dec-18 10:13
mveDave Kreskowiak15-Dec-18 10:13 
AnswerRe: Image on Windowsform ListBox Pin
Eddy Vluggen15-Dec-18 10:14
professionalEddy Vluggen15-Dec-18 10:14 
AnswerRe: Image on Windowsform ListBox Pin
BillWoodruff15-Dec-18 10:18
professionalBillWoodruff15-Dec-18 10:18 
QuestionIs it possible to call a control event inside another event? Pin
Member 1097549714-Dec-18 21:10
Member 1097549714-Dec-18 21:10 
AnswerRe: Is it possible to call a control event inside another event? Pin
OriginalGriff14-Dec-18 21:23
mveOriginalGriff14-Dec-18 21:23 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 0:03
Member 1097549715-Dec-18 0:03 
AnswerRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 0:15
professionalEddy Vluggen15-Dec-18 0:15 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 0:33
Member 1097549715-Dec-18 0:33 
GeneralRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 0:52
professionalEddy Vluggen15-Dec-18 0:52 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 0:58
Member 1097549715-Dec-18 0:58 
GeneralRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 6:35
professionalEddy Vluggen15-Dec-18 6:35 

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.