Click here to Skip to main content
15,910,234 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: .NET MODBUS component Pin
Joshua Quick24-Oct-05 15:34
Joshua Quick24-Oct-05 15:34 
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 
....was a little fuzzy, sorry about that...and thanks for responding.
The bottleneck is absolutely (timed it!) the database binding (behind the .NET curtains)
myCommand.CommandText = sqlQuery
myCommand.Connection = myConn
myFancyDataAdapt.SelectCommand = myCommand
myFancyDataAdapt.Fill(myDS, "myDataBaseView")

Normally, no problem at all. If no of records > 100000 the time for filling my dataset is
acceptable. However when the number of recs from db exceeds 1-2 million the time for
making the ds > 30 secs, which can be ok, but my ambition is to make it cancellable...

Have dived into the "new" Background Worker for VS 2005, but all the examples i have found
concerns recursive functions such as fibunachi calculations an so forth...

This is ONE long mother of an operation and no feedback as the sub progresses...

Also tried with "normal" threads and set them to background, but i don't seem to be able to abort them
*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.
GeneralRe: Cancable DB-request Pin
S Douglas25-Oct-05 3:27
professionalS Douglas25-Oct-05 3:27 
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 

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.