Click here to Skip to main content
15,921,840 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Commandbuilder fails Pin
Mycroft Holmes10-Sep-08 22:03
professionalMycroft Holmes10-Sep-08 22:03 
GeneralRe: Commandbuilder fails Pin
nitin_ion10-Sep-08 22:46
nitin_ion10-Sep-08 22:46 
GeneralRe: Commandbuilder fails Pin
Mycroft Holmes10-Sep-08 22:52
professionalMycroft Holmes10-Sep-08 22:52 
AnswerRe: Commandbuilder fails Pin
Dave Kreskowiak11-Sep-08 1:45
mveDave Kreskowiak11-Sep-08 1:45 
GeneralRe: Commandbuilder fails Pin
nitin_ion11-Sep-08 1:54
nitin_ion11-Sep-08 1:54 
GeneralRe: Commandbuilder fails Pin
Dave Kreskowiak11-Sep-08 3:33
mveDave Kreskowiak11-Sep-08 3:33 
GeneralRe: Commandbuilder fails Pin
nitin_ion11-Sep-08 18:34
nitin_ion11-Sep-08 18:34 
GeneralRe: Commandbuilder fails Pin
Dave Kreskowiak12-Sep-08 1:41
mveDave Kreskowiak12-Sep-08 1:41 
QuestionImage in Crystal Report at runtime Pin
anshul soni10-Sep-08 19:56
anshul soni10-Sep-08 19:56 
QuestionOpening files in fileListBox Pin
annir10-Sep-08 17:21
annir10-Sep-08 17:21 
AnswerRe: Opening files in fileListBox Pin
C1AllenS10-Sep-08 21:13
C1AllenS10-Sep-08 21:13 
AnswerRe: Opening files in fileListBox Pin
jzonthemtn11-Sep-08 6:30
jzonthemtn11-Sep-08 6:30 
QuestionIs it possible to check for x32 vs x64 processors in vb6? Pin
Jon_Boy10-Sep-08 9:49
Jon_Boy10-Sep-08 9:49 
AnswerRe: Is it possible to check for x32 vs x64 processors in vb6? Pin
jzonthemtn10-Sep-08 10:02
jzonthemtn10-Sep-08 10:02 
GeneralRe: Is it possible to check for x32 vs x64 processors in vb6? Pin
Jon_Boy11-Sep-08 3:06
Jon_Boy11-Sep-08 3:06 
QuestionHow to code dns lookup application using VB.net 2008? [modified] Pin
rakyomin10-Sep-08 8:46
rakyomin10-Sep-08 8:46 
AnswerRe: How to code dns lookup application using VB.net 2008? Pin
rakyomin10-Sep-08 10:00
rakyomin10-Sep-08 10:00 
GeneralRe: How to code dns lookup application using VB.net 2008? Pin
Johan Hakkesteegt10-Sep-08 20:01
Johan Hakkesteegt10-Sep-08 20:01 
AnswerRe: How to code dns lookup application using VB.net 2008? Pin
rakyomin11-Sep-08 4:25
rakyomin11-Sep-08 4:25 
QuestionBest logging/tty (teletype-style) output control? Pin
supercat910-Sep-08 6:59
supercat910-Sep-08 6:59 
What is the best approach for showing logged events and data in a window, both in situations where data will always be available a line at a time, and in situations where it won't?

One approach is to use a text box with the 'readonly' property enabled, and keep shoving new text at the end. That approach is workable, but the only practical methods of adding data are to either do something like "myTextBox.Text = myTextBox.Text & newStuff", which gets very slow pretty quickly, or else to set the selection point to the end of the text and then do "myTextBox.SelectedText = newStuff", which works better but trashes the positions of the current selection and scroll.

Another approach is to use a listbox. This offers some advantages, in that a listbox can perform well with lots of data, and an owner-draw listbox can display data in a variety of nice formats. Unfortunately, a listbox does not provide any good way for people to copy text, nor does it provide any nice way I can find to scroll when new data is added if and only if the scroll position is set to the bottom. Further, I'm not aware of any way to force a listbox to recalculate the height of all the objects therein (e.g. in response to a resize event) other than by deleting and re-adding all of them (which would be needlessly slow, would require extra handling to maintain anything even remotely resembling the current scroll position, etc.)

Are there any better alternatives to those types of controls?
AnswerRe: Best logging/tty (teletype-style) output control? Pin
jzonthemtn10-Sep-08 7:47
jzonthemtn10-Sep-08 7:47 
GeneralRe: Best logging/tty (teletype-style) output control? Pin
supercat910-Sep-08 9:54
supercat910-Sep-08 9:54 
Questionmultiple parameters in thread Pin
Nilish10-Sep-08 6:46
Nilish10-Sep-08 6:46 
AnswerRe: multiple parameters in thread PinPopular
Christian Graus10-Sep-08 7:08
protectorChristian Graus10-Sep-08 7:08 
AnswerRe: multiple parameters in thread Pin
Mycroft Holmes10-Sep-08 15:45
professionalMycroft Holmes10-Sep-08 15:45 

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.