Ive got a listbox here i add a process but sometimes with its size but for some reason here on framework 4 (framework 3.5 it worked if im right) its not getting the same size as in task manager so anybody who can help will get point :)
And plus im using Windows 7 (Framework 4)
ive got Windows Xp(Framework 3.5)
So whats wrong with the calculation anybody please:@
VB 2012
4
Junior Poster
Recommended Answers
Jump to PostI need more details. By size (of the listbox) I presume you mean the number of entries in the listbox. What do you mean by "adding a process to the listbox"? And why are you comparing the listbox size to a size in task manager? I also don't know what …
Jump to PostWithout knowing how you are getting the values to display, my first guess would be that the numbers in task manager are dynamically updated (I think the default is around once a second). The number you display (again, my guess) is a snapshot, and shortly after you grab that number …
Jump to PostI stand by my original guess. Like I said, Windows Internals is not my area. Perhaps someone else can jump in here.
All 11 Replies
VB 2012
4
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
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.