Click here to Skip to main content
15,799,363 members
Home / Discussions / C#
   

C#

 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Rob Philpott22-Sep-17 1:19
Rob Philpott22-Sep-17 1:19 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Jochen Arndt22-Sep-17 1:23
professionalJochen Arndt22-Sep-17 1:23 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Rob Philpott22-Sep-17 2:15
Rob Philpott22-Sep-17 2:15 
QuestionImplementing a COM Message Filter, it always fails... Pin
Joan M21-Sep-17 6:57
professionalJoan M21-Sep-17 6:57 
SuggestionRe: Implementing a COM Message Filter, it always fails... Pin
Richard Deeming21-Sep-17 7:14
mveRichard Deeming21-Sep-17 7:14 
GeneralRe: Implementing a COM Message Filter, it always fails... Pin
Joan M21-Sep-17 7:21
professionalJoan M21-Sep-17 7:21 
GeneralRe: Implementing a COM Message Filter, it always fails... Pin
Richard Deeming21-Sep-17 7:37
mveRichard Deeming21-Sep-17 7:37 
GeneralRe: Implementing a COM Message Filter, it always fails... Pin
Joan M21-Sep-17 8:26
professionalJoan M21-Sep-17 8:26 
It was that...

Writing that [STAThread] on top of main made it work...

Still have to read about it to understand what happens under the hood but...

Thank you very much! Thumbs Up | :thumbsup: Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:
www.robotecnik.com[^] - robots, CNC and PLC programming

QuestionEntity Framework Questions - Round 1 Pin
Kevin Marois21-Sep-17 5:11
professionalKevin Marois21-Sep-17 5:11 
AnswerRe: Entity Framework Questions - Round 1 Pin
Nathan Minier21-Sep-17 5:46
professionalNathan Minier21-Sep-17 5:46 
GeneralRe: Entity Framework Questions - Round 1 Pin
Kevin Marois21-Sep-17 5:48
professionalKevin Marois21-Sep-17 5:48 
GeneralRe: Entity Framework Questions - Round 1 Pin
Nathan Minier21-Sep-17 6:19
professionalNathan Minier21-Sep-17 6:19 
AnswerRe: Entity Framework Questions - Round 1 Pin
C. David Johnson6-Oct-17 8:15
C. David Johnson6-Oct-17 8:15 
GeneralRe: Entity Framework Questions - Round 1 Pin
Nathan Minier10-Oct-17 3:34
professionalNathan Minier10-Oct-17 3:34 
AnswerRe: Entity Framework Questions - Round 1 Pin
Gerry Schmitz21-Sep-17 14:05
mveGerry Schmitz21-Sep-17 14:05 
QuestionHow to save an excel file via network ? Pin
Member 1342184321-Sep-17 4:06
Member 1342184321-Sep-17 4:06 
GeneralRe: How to save an excel file via network ? Pin
Richard MacCutchan21-Sep-17 4:17
mveRichard MacCutchan21-Sep-17 4:17 
AnswerRe: How to save an excel file via network ? Pin
Eddy Vluggen21-Sep-17 7:28
professionalEddy Vluggen21-Sep-17 7:28 
AnswerRe: How to save an excel file via network ? Pin
Gerry Schmitz21-Sep-17 14:06
mveGerry Schmitz21-Sep-17 14:06 
Questionperformance counter in visual studio 217 C# Pin
AMMAR ALNAJIM20-Sep-17 21:41
AMMAR ALNAJIM20-Sep-17 21:41 
AnswerRe: performance counter in visual studio 217 C# Pin
Pete O'Hanlon20-Sep-17 22:10
subeditorPete O'Hanlon20-Sep-17 22:10 
AnswerRe: performance counter in visual studio 217 C# Pin
OriginalGriff20-Sep-17 23:59
mvaOriginalGriff20-Sep-17 23:59 
AnswerRe: performance counter in visual studio 217 C# Pin
Eddy Vluggen21-Sep-17 0:20
professionalEddy Vluggen21-Sep-17 0:20 
QuestionC#-Form-DataGridView-Hangs Pin
Member 1341980320-Sep-17 4:05
Member 1341980320-Sep-17 4:05 
AnswerRe: C#-Form-DataGridView-Hangs Pin
Richard MacCutchan20-Sep-17 4:27
mveRichard MacCutchan20-Sep-17 4:27 

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.