Click here to Skip to main content
15,887,350 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to search for a word in a book programmatically in dot net? Pin
Johan Hakkesteegt29-Jul-09 3:41
Johan Hakkesteegt29-Jul-09 3:41 
QuestionFormat Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
CPK_201129-Jul-09 1:57
CPK_201129-Jul-09 1:57 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Vimalsoft(Pty) Ltd29-Jul-09 2:14
professionalVimalsoft(Pty) Ltd29-Jul-09 2:14 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Tim Carmichael29-Jul-09 2:54
Tim Carmichael29-Jul-09 2:54 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Dave Kreskowiak29-Jul-09 3:54
mveDave Kreskowiak29-Jul-09 3:54 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Christian Graus29-Jul-09 10:51
protectorChristian Graus29-Jul-09 10:51 
QuestionHolding collections in memory, good or bad idea? Pin
Jay Royall28-Jul-09 22:34
Jay Royall28-Jul-09 22:34 
AnswerRe: Holding collections in memory, good or bad idea? Pin
Mycroft Holmes28-Jul-09 23:32
professionalMycroft Holmes28-Jul-09 23:32 
Retaining the lists in memory, I do it all the time. How do you deal with the user adding to the list.

I have a static class MasterTables with a property for each table, in the getter if there is no table I get the data from the database, this requires 1 call.

If the user changes the master table data I simply set the mastertable property to null, next time it is requested a new copy is loaded.

This gets away from the initial hit when starting the app, loading all those master tables can be a noticable delay on the load. I know it can be done in a non ui thread but the master tables style suits me admirably.


Never underestimate the power of human stupidity
RAH

GeneralRe: Holding collections in memory, good or bad idea? Pin
Jay Royall28-Jul-09 23:40
Jay Royall28-Jul-09 23:40 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Ed Hill _5_29-Jul-09 5:05
Ed Hill _5_29-Jul-09 5:05 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Jay Royall29-Jul-09 5:15
Jay Royall29-Jul-09 5:15 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Mycroft Holmes29-Jul-09 14:04
professionalMycroft Holmes29-Jul-09 14:04 
QuestionHow to Import only table wiht out data in sql server 2000 Pin
rajesh_ncc28-Jul-09 20:29
rajesh_ncc28-Jul-09 20:29 
AnswerRe: How to Import only table wiht out data in sql server 2000 Pin
Christian Graus28-Jul-09 21:47
protectorChristian Graus28-Jul-09 21:47 
AnswerRe: How to Import only table wiht out data in sql server 2000 Pin
Mycroft Holmes28-Jul-09 23:33
professionalMycroft Holmes28-Jul-09 23:33 
QuestionHow to Differentiate inputs coming from 2 USB RF ID / USB Keyboard Pin
hermawan.solihin28-Jul-09 17:43
hermawan.solihin28-Jul-09 17:43 
AnswerRe: How to Differentiate inputs coming from 2 USB RF ID / USB Keyboard Pin
Dave Kreskowiak29-Jul-09 1:45
mveDave Kreskowiak29-Jul-09 1:45 
AnswerRe: How to Differentiate inputs coming from 2 USB RF ID / USB Keyboard Pin
Luc Pattyn29-Jul-09 2:15
sitebuilderLuc Pattyn29-Jul-09 2:15 
AnswerRe: How to Differentiate inputs coming from 2 USB RF ID / USB Keyboard Pin
DJ Matthews29-Jul-09 3:09
DJ Matthews29-Jul-09 3:09 
GeneralRe: How to Differentiate inputs coming from 2 USB RF ID / USB Keyboard Pin
hermawan.solihin29-Jul-09 17:26
hermawan.solihin29-Jul-09 17:26 
QuestionExporting images from Office Applications Pin
Harold_Wishes28-Jul-09 8:04
Harold_Wishes28-Jul-09 8:04 
AnswerRe: Exporting images from Office Applications Pin
Mike Ellison28-Jul-09 11:16
Mike Ellison28-Jul-09 11:16 
AnswerRe: Exporting images from Office Applications Pin
Mike Ellison28-Jul-09 11:21
Mike Ellison28-Jul-09 11:21 
QuestionRelease a file from web control so it can be deleted Pin
Steve van Niman28-Jul-09 6:03
Steve van Niman28-Jul-09 6:03 
AnswerRe: Release a file from web control so it can be deleted Pin
Dave Kreskowiak28-Jul-09 7:56
mveDave Kreskowiak28-Jul-09 7:56 

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.