|
The common way is to load items which are currently visible (plus some more for a buffer) and continue loading items on demand as user scrolls the list down.
|
|
|
|
|
Preload entries for viewable area and maybe a little around, then load entries only when they should be shown. Cannot specify more concrete, haven't programmed for windows for years. NEVER ever do progress bars for filling controls, this nerves a lot especially if you clicked the wrong control, always use lazy loading. Java AWT is particularly good designed for this approach
|
|
|
|
|
I use the telerik winforms suite for similar operations, because it can
Telerik gridview
|
|
|
|
|
I met the similar problem.
Once I wrote a program for retrieving images from a website and I want that users can be notified about the downloading process, so I added a status bar on main GUI, and let the downloading process works on the other thread(let's say B), when it is retrieving the images , the B has to report its status to GUI which is on main thread(let's say A).
But B can not access the status bar which belongs to A. So there is a method call BeginInvoke(xxxx);
With this method, it enables B to access resourses on A.
So I think it should be the answer that you are looking for.
Give me reply whatever it works or not
cheers
|
|
|
|
|
You need to use background worker and report the progress with its ReportProgress() function.
Чесноков
|
|
|
|
|
Is the code calling BeginUpdate and EndUpdate? It might make a difference, but it's still going to be slow...
|
|
|
|
|
No, I set the list view Visible to false during events addition.
Otherwise the process is very slow.
Чесноков
|
|
|
|
|
Thanks for this question. I have an application with the same problem. The answers by some smart folks here are very helpful in solving this problem.
|
|
|
|
|
You want a virtual listview ..
|
|
|
|
|
How to save image in folder using c# in windows application
Plz Reply to me
|
|
|
|
|
I googled "save image in C#" and found the below link as the first one that should suffice your requirement.
http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx[^]
You can use Image.Save on any event in the windows application.
If you are looking for something specific, please elaborate.
Praveen Raghuvanshi
Software Developer
|
|
|
|
|
I want to show an image on crystal report. the image is saved in database (sql) and the datatype of field is image.
i saved the image by converting it (image) in binary form.
Is there some way to show that image on crystal report . its an windows application.
plz help me
|
|
|
|
|
|
Please have a look at How to get an answer to your question[^]
A subject of "Please Reply to me..." is not very descriptive and will not get you many replies.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hello Experts,
Actually i have generate a problem while Keypress on Processing Global Keyboard Hook.
My Current Keyboard Language is Russian. When i press any Key. It Works Successfully But it displays US Keyboard data On Global Appliation.
Link is given Below.
Processing Global Mouse and Keyboard Hooks in C#
Processing Global Mouse and Keyboard Hooks in C#[^]
Thanks & Regards
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: My Current Keyboard Language is Russian. When i press any Key. It Works Successfully But it displays US Keyboard data On Global Appliation.
Keyboard-hooks return virtual key-codes[^], not characters in a specific encoding. The hook itself doesn't even report the difference between a capital A and a lower-a, it only reports that the "A"-key had been pressed (with or without the Shift-key/Capslock)
I are Troll
|
|
|
|
|
Hello Eddy,
Thanks for reply
Actully i want if my keyboard language is Abrahic then my Hook shows Abrahic Characters.
If Selected Language is US then Characters will be display of US.
Pls suggest how can i do this.
Thanks Again
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote:
Pls suggest how can i do this.
You can't.
--edit
You still can't after a one-vote, since it's a technical limitation. The keyboard sends a code that represents a key being pressed, not a character in a specific encoding.
Enjoy
I are Troll
modified on Tuesday, February 1, 2011 6:08 AM
|
|
|
|
|
Check Refog Personal Keylogger. It is working same as i want.
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: It is working same as i want.
Yes, but it's not doing what you're requesting. You'll need to map from a key to a character yourself, that's what Refog does.
"Enjoy"
|
|
|
|
|
Dear Sir,
Actually it's my english problem but my meaning is same like that.
so can u please describe me how can i do like refog personal keyloger.
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: Actually it's my english problem but my meaning is same like that.
Your English is good enough. The first post has the answer that explains what Refog does. Now, you didn't ask what a character-encoding is, so I'm assuming that you know.
eg_Anubhava wrote: so can u please describe me how can i do like refog personal keyloger.
What the hook gives you back isn't the "text" that the user types, it gives you the code of the key that has been pressed. The same key will produce different characters in different languages. You'll have to translate those language-independent keycodes to the characters of your language.
(Did you notice that there are more characters than keys?)
I are Troll
|
|
|
|
|
Dear Sir,
Actually Keyboard Hook Capture the keystock and Generate the KeyChar.
If your Keyboard Lanugage is English(Us) then it is working fine (it returns the English Character).
But if Your Keyboad Language is Russian or Something Else then I want to get the KeyChar of Russian (Selected Language).
But Normal Keyboard Hook Return the English Keychar.
So please explain me how can i do that.
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: So please explain me how can i do that
I'm sorry, but I tried and failed. You'll need someone who can explain it better or in more detail.
I are Troll
|
|
|
|
|
Please work with unicode character or Use Keyboard other Languages.
Then Check it.
Change your Keyboard Language to Abrahic then Press key
Keyboard Hook Capture US Key Character A
But Refog is showing a real Word which u r typing ф;
If you can think then I Can.
|
|
|
|