I have a question.
I have a report that the load time is different I want show wait time to user , I think should use the Multi Thread but I not know how works it.
jas2010 0 Light Poster
Recommended Answers
Jump to Post— privatevoid 24I need a bit more information about what you are trying to do before I can be much help.
To use multithreading have a look at delegates and the BeginInvoke() method. There is lots of information available about multi threading and worker threads out there.
Jump to Post— privatevoid 24You should run whatever is taking a long time on a seperate thread, have a look at this tutorial:
()_and_EndInvoke()_Methods
Jump to Post— sknake 1,622Do you just want to show a marquee while the report is generating? And what part of generating the report takes so much time? The data selection? Here is one example:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; …
All 10 Replies
jas2010 0 Light Poster
privatevoid 24 Junior Poster in Training
jas2010 0 Light Poster
privatevoid 24 Junior Poster in Training
sknake 1,622 Senior Poster Featured Poster
privatevoid 24 Junior Poster in Training
jas2010 0 Light Poster
jas2010 0 Light Poster
jas2010 0 Light Poster
sknake 1,622 Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.