Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: Import .csv file into C# application database. Pin
Mycroft Holmes6-Feb-19 13:41
professionalMycroft Holmes6-Feb-19 13:41 
QuestionHow to convert docx,pdf or doc files into html file use c# ? Pin
Bol India Bol6-Feb-19 1:35
Bol India Bol6-Feb-19 1:35 
AnswerRe: How to convert docx,pdf or doc files into html file use c# ? Pin
Richard MacCutchan6-Feb-19 2:14
mveRichard MacCutchan6-Feb-19 2:14 
AnswerRe: How to convert docx,pdf or doc files into html file use c# ? Pin
Dave Kreskowiak6-Feb-19 2:35
mveDave Kreskowiak6-Feb-19 2:35 
Questionc# winforms Listview column sorting, won't change on 2nd click Pin
jkirkerx5-Feb-19 10:17
professionaljkirkerx5-Feb-19 10:17 
AnswerRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx5-Feb-19 11:36
professionaljkirkerx5-Feb-19 11:36 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
Luc Pattyn5-Feb-19 13:00
sitebuilderLuc Pattyn5-Feb-19 13:00 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx6-Feb-19 6:25
professionaljkirkerx6-Feb-19 6:25 
I read that as well on the ListView, but found Microsoft examples saying just do it in Form Designer initialization.
I ended up trying both last night and doing it everytime the column was clicked didn't work as smooth or just failed.

On the DoEvents, that's something I picked up in C++ WinForms programming. The idea is to let the Windows Message Pump process other commands on the GUI thread like paint, move a progress bar, move the form over while something is processing.

As an experiment I took all the Application.DoEvents out and gave it a test run and it wasn't very fluid. I suppose the next thing I need to learn of how to create GUI threads. If anybody is up to it, take my splash screen and refactor it with GUI threads, it would be a great learning experience for me.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
Gerry Schmitz6-Feb-19 7:58
mveGerry Schmitz6-Feb-19 7:58 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx6-Feb-19 8:37
professionaljkirkerx6-Feb-19 8:37 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
Gerry Schmitz7-Feb-19 6:11
mveGerry Schmitz7-Feb-19 6:11 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx7-Feb-19 9:48
professionaljkirkerx7-Feb-19 9:48 
QuestionsignalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 3:00
impeham5-Feb-19 3:00 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
Richard MacCutchan5-Feb-19 3:28
mveRichard MacCutchan5-Feb-19 3:28 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 6:47
impeham5-Feb-19 6:47 
AnswerRe: signalR client server stops working after DNS-ip record for server changed Pin
Dave Kreskowiak5-Feb-19 4:06
mveDave Kreskowiak5-Feb-19 4:06 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 6:44
impeham5-Feb-19 6:44 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
Dave Kreskowiak5-Feb-19 7:10
mveDave Kreskowiak5-Feb-19 7:10 
Questionarrays Pin
Member 141391973-Feb-19 22:21
Member 141391973-Feb-19 22:21 
AnswerRe: arrays Pin
Pete O'Hanlon3-Feb-19 22:40
mvePete O'Hanlon3-Feb-19 22:40 
GeneralRe: arrays Pin
Member 141391973-Feb-19 22:54
Member 141391973-Feb-19 22:54 
AnswerRe: arrays Pin
OriginalGriff4-Feb-19 0:05
mveOriginalGriff4-Feb-19 0:05 
GeneralRe: arrays Pin
Member 141391974-Feb-19 0:43
Member 141391974-Feb-19 0:43 
GeneralRe: arrays Pin
OriginalGriff4-Feb-19 0:46
mveOriginalGriff4-Feb-19 0:46 
GeneralRe: arrays Pin
Pete O'Hanlon4-Feb-19 1:19
mvePete O'Hanlon4-Feb-19 1:19 

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.