Click here to Skip to main content
15,888,133 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Arun Peswani19-Feb-14 16:09
Arun Peswani19-Feb-14 16:09 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Eddy Vluggen20-Feb-14 0:29
professionalEddy Vluggen20-Feb-14 0:29 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Arun Peswani20-Feb-14 5:35
Arun Peswani20-Feb-14 5:35 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Eddy Vluggen20-Feb-14 8:45
professionalEddy Vluggen20-Feb-14 8:45 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Arun Peswani20-Feb-14 20:55
Arun Peswani20-Feb-14 20:55 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Eddy Vluggen21-Feb-14 6:43
professionalEddy Vluggen21-Feb-14 6:43 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Arun Peswani22-Feb-14 6:57
Arun Peswani22-Feb-14 6:57 
GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
Eddy Vluggen24-Feb-14 7:35
professionalEddy Vluggen24-Feb-14 7:35 
Arun Peswani wrote:
1) I tried creating ITEMS string as you explained however it required a little extra work on formatting but all went well.
Thumbs Up | :thumbsup:

Arun Peswani wrote:
2) I liked the concept of "JOIN Table0 on Table1.Column1 = Table0.Column0" I never thought about this one Poke tongue | ;-P
Dumping integers might be faster than creating a lot of parameters, but then again, there won't be much to gain here - people rarely select 50 000 items by placing checkboxes. Perhaps it'd be wiser to not optimize this bit and go for readability.

Arun Peswani wrote:
3) My product table doesn't have category column however I have a separate table for product categories.
My PURCHASE table uses data from Product, Supplier and Category.
Wouldn't it be more efficient to have the products grouped by category when you ask for a selection? Expand a category before it shows the products it contains?

Arun Peswani wrote:
4) Moreover, the stopwatch class which you are asking about, is this similar to progress-bar? If yes then I have used it but if it is something different then please give me some hint. What is it and how to use it.
A stopwatch is a dandy way of timing your code;
Stopwatch sw = new Stopwatch();
sw.Start();
[..bunch of code..].sw.Stop();
Debugger.WriteLine("Your code took {0} ms", sw.ElapsedMilliseconds);
It's on MSDN[^] - there's an example near the bottom of the page.

Arun Peswani wrote:
You are truly superb Smile | :)
Nah, just trying to help in the same way others helped me. That's what most of us do here, and sometimes there even goes a little effort into an answer. That'd also be the reason for the reaction on a duplicate question; have I been 'wasting' time explaining something that Dave already explained five minutes ago? Roll eyes | :rolleyes:

You owe the Q&A guys a Beer | [beer]
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: 100,000 Items in Check ListBox result in slow performance Pin
MyOwnBoss7-Mar-14 13:05
MyOwnBoss7-Mar-14 13:05 
AnswerRe: 100,000 Items in Check ListBox result in slow performance PinPopular
Richard MacCutchan19-Feb-14 22:09
mveRichard MacCutchan19-Feb-14 22:09 
AnswerRe: 100,000 Items in Check ListBox result in slow performance Pin
Dave Kreskowiak24-Feb-14 5:10
mveDave Kreskowiak24-Feb-14 5:10 
QuestionComboBox not receiving DataSet values? Pin
rsmldmv18-Feb-14 12:17
rsmldmv18-Feb-14 12:17 
QuestionRe: ComboBox not receiving DataSet values? Pin
Eddy Vluggen19-Feb-14 8:01
professionalEddy Vluggen19-Feb-14 8:01 
QuestionAutomatically open Hyperlink in NeoOffice (VBA?) Pin
Member 1060384017-Feb-14 9:30
Member 1060384017-Feb-14 9:30 
SuggestionRe: Automatically open Hyperlink in NeoOffice (VBA?) Pin
Richard MacCutchan17-Feb-14 21:32
mveRichard MacCutchan17-Feb-14 21:32 
GeneralRe: Automatically open Hyperlink in NeoOffice (VBA?) Pin
Member 1060384017-Feb-14 22:42
Member 1060384017-Feb-14 22:42 
GeneralRe: Automatically open Hyperlink in NeoOffice (VBA?) Pin
Richard MacCutchan18-Feb-14 2:47
mveRichard MacCutchan18-Feb-14 2:47 
Questionvb.net Pin
SURAJIT UPADHYAY15-Feb-14 0:16
SURAJIT UPADHYAY15-Feb-14 0:16 
AnswerRe: vb.net Pin
Richard MacCutchan15-Feb-14 1:42
mveRichard MacCutchan15-Feb-14 1:42 
AnswerRe: vb.net Pin
Simon_Whale17-Feb-14 22:05
Simon_Whale17-Feb-14 22:05 
QuestionLibrary not registered in excel 2013 vba Pin
Samoeurn13-Feb-14 21:41
Samoeurn13-Feb-14 21:41 
AnswerRe: Library not registered in excel 2013 vba Pin
Richard MacCutchan13-Feb-14 21:56
mveRichard MacCutchan13-Feb-14 21:56 
GeneralRe: Library not registered in excel 2013 vba Pin
Samoeurn13-Feb-14 22:27
Samoeurn13-Feb-14 22:27 
GeneralRe: Library not registered in excel 2013 vba Pin
Richard MacCutchan13-Feb-14 22:59
mveRichard MacCutchan13-Feb-14 22:59 
AnswerRe: Library not registered in excel 2013 vba Pin
Eddy Vluggen13-Feb-14 22:33
professionalEddy Vluggen13-Feb-14 22:33 

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.