Click here to Skip to main content
16,012,025 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: webcam motion detector (frame comparison help) Pin
mark duatin13-May-08 20:28
mark duatin13-May-08 20:28 
QuestionHow can i connect vb.net with MS acess database? Pin
VeeKeyBee12-May-08 18:15
VeeKeyBee12-May-08 18:15 
AnswerRe: How can i connect vb.net with MS acess database? Pin
Christian Graus12-May-08 19:06
protectorChristian Graus12-May-08 19:06 
AnswerRe: How can i connect vb.net with MS acess database? Pin
Shawinder Sekhon12-May-08 19:06
Shawinder Sekhon12-May-08 19:06 
AnswerRe: How can i connect vb.net with MS acess database? Pin
Ashfield12-May-08 21:39
Ashfield12-May-08 21:39 
Questionsuggestion for avoid freeze in my application Pin
shee_dee8612-May-08 17:02
shee_dee8612-May-08 17:02 
AnswerRe: suggestion for avoid freeze in my application Pin
Christian Graus12-May-08 17:28
protectorChristian Graus12-May-08 17:28 
QuestionFix for slow VB6 object disposal Pin
supercat912-May-08 16:36
supercat912-May-08 16:36 
I have an application which allocates some thousands of objects, each containing a collection and some simple types. The objects in question form trees (the collection containing references to other objects). Setting to nothing the last reference to the root-level object of a tree takes an absurdly long time--multiple minutes. I would guess that about 1,000 objects/second are getting disposed.

Is that normal?

One remedy I have that seems to somewhat work is to have a global collection called "junklist". My class_terminate handler for these objects checks whether the object's collection is empty and, if not, adds its contents to junklist. When the application is idle, a timer handler then repeatedly empties the first item in junklist until it's spent over 100ms doing so (then it lets other tasks run, until the next timer tick). That seems to work pretty well, provided that the junk list get emptied before the application terminates. If there are still undeleted objects when the application terminates, the VB studio will be frozen until the system junks all the objects.

Are collections particularly evil, or is slow object disposal a VB6 "feature"?
Questionsending email Pin
asha_s12-May-08 8:56
asha_s12-May-08 8:56 
AnswerRe: sending email Pin
Tim Carmichael12-May-08 9:11
Tim Carmichael12-May-08 9:11 
AnswerRe: sending email Pin
The ANZAC12-May-08 13:14
The ANZAC12-May-08 13:14 
QuestionScanning a web page Pin
David Loring12-May-08 3:04
David Loring12-May-08 3:04 
AnswerRe: Scanning a web page Pin
ScottM112-May-08 3:34
ScottM112-May-08 3:34 
AnswerRe: Scanning a web page Pin
KaptinKrunch12-May-08 10:39
KaptinKrunch12-May-08 10:39 
Questionhow to communicate a control at design time and compile time with compiler in vb.net Pin
Solanki Rajat12-May-08 0:38
Solanki Rajat12-May-08 0:38 
AnswerRe: how to communicate a control at design time and compile time with compiler in vb.net Pin
Dave Kreskowiak12-May-08 5:17
mveDave Kreskowiak12-May-08 5:17 
QuestionError: Type 'Microsoft.Office.Interop.Excel.Application' is not defined. Pin
sumd12-May-08 0:02
sumd12-May-08 0:02 
AnswerRe: Error: Type 'Microsoft.Office.Interop.Excel.Application' is not defined. Pin
Christian Graus12-May-08 0:04
protectorChristian Graus12-May-08 0:04 
QuestionRe: Error: Type 'Microsoft.Office.Interop.Excel.Application' is not defined. Pin
parth.p12-May-08 22:24
parth.p12-May-08 22:24 
QuestionNeed to assign to string variable from xml file? Pin
subbu.sk11-May-08 23:14
subbu.sk11-May-08 23:14 
AnswerRe: Need to assign to string variable from xml file? Pin
Christian Graus11-May-08 23:18
protectorChristian Graus11-May-08 23:18 
QuestionExcel data Pin
hitesh sojitra11-May-08 21:46
hitesh sojitra11-May-08 21:46 
AnswerRe: How to Write in Excel File ? Pin
Christian Graus11-May-08 21:58
protectorChristian Graus11-May-08 21:58 
GeneralRe: How to Write in Excel File ? Pin
hitesh sojitra11-May-08 22:01
hitesh sojitra11-May-08 22:01 
GeneralRe: How to Write in Excel File ? PinPopular
Christian Graus11-May-08 22:12
protectorChristian Graus11-May-08 22:12 

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.