Click here to Skip to main content
15,915,600 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: .NET MODBUS component Pin
Dwayner7925-Oct-05 7:00
Dwayner7925-Oct-05 7:00 
QuestionRemote calls for a 3-Tier application Pin
Nito Jose24-Oct-05 3:55
Nito Jose24-Oct-05 3:55 
QuestionHow do I erase SQL Connections? Pin
Isobar24-Oct-05 2:18
Isobar24-Oct-05 2:18 
AnswerRe: How do I erase SQL Connections? Pin
rwestgraham24-Oct-05 9:09
rwestgraham24-Oct-05 9:09 
QuestionCancable DB-request Pin
evertbylt24-Oct-05 1:33
evertbylt24-Oct-05 1:33 
AnswerRe: Cancable DB-request Pin
S Douglas24-Oct-05 23:50
professionalS Douglas24-Oct-05 23:50 
GeneralRe: Cancable DB-request Pin
evertbylt25-Oct-05 2:46
evertbylt25-Oct-05 2:46 
GeneralRe: Cancable DB-request Pin
S Douglas25-Oct-05 3:27
professionalS Douglas25-Oct-05 3:27 
evertbylt wrote:
However when the number of recs from db exceeds 1-2 million the time for
making the ds > 30 secs


Found the problem its a design flaw, do your users really need to look at > 1 million records? Will they be able to gleam more information from 1 million-verse 1000 property (filtered for info they want / need to see) selected rows?

Here is a way to handle this, do this in transactions, fetch 1000 or so at a time, display that to the user, if they want more fetch more and remove the previous 1000. If they scroll backwards then fetch the previous 1000.


evertbylt wrote:
but my ambition is to make it cancellable...


Doubt that will ever work, binding a data grid to data doenst return until its complete. Your app can not process any messages until that function has returned. It can’t be canceled, unless there is an error binding it.


evertbylt wrote:
*grmpf*. Must be thick in the head..
You say "stop sending data" and "clean up after it self"...sounds nice...could i be bould and ask you to be more specific


Don’t worry about it I thought you where doing something else completely. This is one case where threads won’t help.



DEBUGGING : Removing the needles from the haystack.
GeneralRe: Cancable DB-request Pin
evertbylt25-Oct-05 4:08
evertbylt25-Oct-05 4:08 
GeneralRe: Cancable DB-request Pin
S Douglas25-Oct-05 4:27
professionalS Douglas25-Oct-05 4:27 
QuestionTiny OS, with RFID and Network OS Pin
cloudking1196623-Oct-05 22:33
cloudking1196623-Oct-05 22:33 
QuestionTAPI Pin
kachonk23-Oct-05 20:24
kachonk23-Oct-05 20:24 
QuestionVB for Excel Pin
Niros8123-Oct-05 20:16
Niros8123-Oct-05 20:16 
AnswerRe: VB for Excel Pin
kjmorford1-Nov-05 5:30
kjmorford1-Nov-05 5:30 
QuestionConvert date milady to shamsi in vb6 Pin
seYd106123-Oct-05 19:34
seYd106123-Oct-05 19:34 
AnswerRe: Convert date milady to shamsi in vb6 Pin
Christian Graus23-Oct-05 19:35
protectorChristian Graus23-Oct-05 19:35 
AnswerRe: Convert date milady to shamsi in vb6 Pin
Greeky23-Oct-05 21:49
Greeky23-Oct-05 21:49 
QuestionUnicode problem Pin
ybasha23-Oct-05 17:31
ybasha23-Oct-05 17:31 
AnswerRe: Unicode problem Pin
Gavin Jeffrey24-Oct-05 3:38
Gavin Jeffrey24-Oct-05 3:38 
GeneralRe: Unicode problem Pin
ybasha24-Oct-05 15:57
ybasha24-Oct-05 15:57 
GeneralRe: Unicode problem Pin
Gavin Jeffrey24-Oct-05 23:28
Gavin Jeffrey24-Oct-05 23:28 
GeneralRe: Unicode problem Pin
ybasha25-Oct-05 0:10
ybasha25-Oct-05 0:10 
QuestionUnicode problem Pin
ybasha23-Oct-05 17:27
ybasha23-Oct-05 17:27 
QuestionProblems with Strings in Stack Pin
method44623-Oct-05 16:55
method44623-Oct-05 16:55 
AnswerRe: Problems with Strings in Stack Pin
Christian Graus23-Oct-05 17:00
protectorChristian Graus23-Oct-05 17:00 

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.