Click here to Skip to main content
15,916,683 members
Home / Discussions / C#
   

C#

 
QuestionActive step-two verfication telegram with c# Pin
Nader Rostamkhani8-Sep-21 6:22
Nader Rostamkhani8-Sep-21 6:22 
Rant[REPOST] Active step-two verfication telegram with c# Pin
Richard Deeming8-Sep-21 6:33
mveRichard Deeming8-Sep-21 6:33 
QuestionWhat is default unit of EPPlus (point, inches, pixel) Pin
Mou_kol8-Sep-21 4:39
Mou_kol8-Sep-21 4:39 
AnswerRe: What is default unit of EPPlus (point, inches, pixel) Pin
Member 153296138-Sep-21 5:22
Member 153296138-Sep-21 5:22 
GeneralRe: What is default unit of EPPlus (point, inches, pixel) Pin
Mou_kol8-Sep-21 21:22
Mou_kol8-Sep-21 21:22 
GeneralRe: What is default unit of EPPlus (point, inches, pixel) Pin
Pete O'Hanlon21-Sep-21 0:26
mvePete O'Hanlon21-Sep-21 0:26 
QuestionOther program access and data extraction Pin
cocaya7-Sep-21 16:48
cocaya7-Sep-21 16:48 
Rant[REPOST] Other program access and data extraction Pin
Richard Deeming7-Sep-21 21:24
mveRichard Deeming7-Sep-21 21:24 
GeneralVerification of Information at First Launch Pin
Member 141922165-Sep-21 4:50
Member 141922165-Sep-21 4:50 
GeneralRe: Verification of Information at First Launch Pin
jschell5-Sep-21 8:49
jschell5-Sep-21 8:49 
GeneralRe: Verification of Information at First Launch Pin
OriginalGriff5-Sep-21 10:26
mveOriginalGriff5-Sep-21 10:26 
GeneralRe: Verification of Information at First Launch Pin
Pete O'Hanlon5-Sep-21 10:37
mvePete O'Hanlon5-Sep-21 10:37 
QuestionAmplitude Meter (trackbar?) Pin
weinerschizel4-Sep-21 6:49
weinerschizel4-Sep-21 6:49 
AnswerRe: Amplitude Meter (trackbar?) Pin
BillWoodruff5-Sep-21 14:21
professionalBillWoodruff5-Sep-21 14:21 
QuestionC# EPPlus resize pictures to fit in the cell Pin
Mou_kol3-Sep-21 23:40
Mou_kol3-Sep-21 23:40 
AnswerRe: C# EPPlus resize pictures to fit in the cell Pin
Richard MacCutchan4-Sep-21 1:04
mveRichard MacCutchan4-Sep-21 1:04 
GeneralRe: C# EPPlus resize pictures to fit in the cell Pin
Mou_kol4-Sep-21 2:10
Mou_kol4-Sep-21 2:10 
AnswerRe: C# EPPlus resize pictures to fit in the cell Pin
Richard Andrew x644-Sep-21 2:17
professionalRichard Andrew x644-Sep-21 2:17 
AnswerRe: C# EPPlus resize pictures to fit in the cell Pin
BillWoodruff4-Sep-21 2:07
professionalBillWoodruff4-Sep-21 2:07 
GeneralRe: C# EPPlus resize pictures to fit in the cell Pin
Mou_kol4-Sep-21 2:11
Mou_kol4-Sep-21 2:11 
GeneralRe: C# EPPlus resize pictures to fit in the cell Pin
BillWoodruff4-Sep-21 2:13
professionalBillWoodruff4-Sep-21 2:13 
GeneralRe: C# EPPlus resize pictures to fit in the cell Pin
Mou_kol4-Sep-21 2:29
Mou_kol4-Sep-21 2:29 
QuestionHaving an issue accessing a bitmap region from two different threads. Pin
Herboren2-Sep-21 17:43
Herboren2-Sep-21 17:43 
AnswerRe: Having an issue accessing a bitmap region from two different threads. Pin
OriginalGriff2-Sep-21 20:12
mveOriginalGriff2-Sep-21 20:12 
It's probably pretty simple: only code that is running on the main (UI) thread can access any control in any way: since you moved it to a BackgroundWorker it isn't running on that thread any more, so when you try to access the Image or similar it's failing with an exception. Start by adding a try...catch block with Debug.WriteLine statements to check that and consider either Invoking the relevant controls or moving the Control related code back to the UI thread via the Progress reporting mechanism of the BackgroundWorker.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Having an issue accessing a bitmap region from two different threads. Pin
Herboren4-Sep-21 5:11
Herboren4-Sep-21 5:11 

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.