Re: thread problem
- From: Ricardo Furtado <RicardoFurtado@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Jul 2009 01:56:01 -0700
well, aparently, the problem is solved!!!
My boss came up with an idea, and i, with the help you all gave me, fixed
the problem.
So the solution is:
Load "FormA"
|
|load "FormB" from inside "FormA" (using doevents for not crashing the
software)
|
|Show "FormB" when clicking the button
voila, works
Once again, thank you all
"Ralph" wrote:
.
"Ricardo Furtado" <RicardoFurtado@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:E0F2A63A-02F4-4091-99A5-3AAEC3EEF27E@xxxxxxxxxxxxxxxx
once again, thank you all for your answers!a
That would be the most logical solution, indeed. The only problem is that
there is a search option that allows the user to write the description on
textbox and when he hits the enter key the item is displayed, and selectedon
the treeview. This approach has in mind the fact that the treeview isalready
filled with the records, so that the user won't have to wast timesearching
for it.
You could simply search for the text within the database and then fill the
TreeView accordingly.
If the user will use mostly 'keywords' and not full phrases for their
searches - you might consider building some keyword-index tables within the
database.
Frankly, I left out suggesting incremental loading of the data out of my
first post, because I sort of figured someone would point out that loading
5,000 items of anything for presentation is a wasteful (poor-performing)
venture no matter what scheme you use. Thus making your question moot.
Windows Explorer gets away with it by using some highly optimized code, most
of it built into the bowels of Windows itself. But you will note - it too
only loads what is requested, not what might be assumed to be needed. <g>
-ralph
- References:
- thread problem
- From: Ricardo Furtado
- Re: thread problem
- From: Jan Hyde
- Re: thread problem
- From: Ricardo Furtado
- Re: thread problem
- From: Ralph
- thread problem
- Prev by Date: Re: Code Practice - General Question
- Next by Date: Re: Send mouse clicks to another app
- Previous by thread: Re: thread problem
- Next by thread: Re: thread problem
- Index(es):
Relevant Pages
|