Click here to Skip to main content
15,896,154 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
QuestionPrinting PictureBox with tiled background Pin
Bob_Stan10-Sep-08 5:47
Bob_Stan10-Sep-08 5:47 
QuestionIs it possible to have a sticky topic in this forum? Pin
Jon_Boy10-Sep-08 3:29
Jon_Boy10-Sep-08 3:29 
AnswerRe: Is it possible to have a sticky topic in this forum? Pin
Christian Graus10-Sep-08 6:29
protectorChristian Graus10-Sep-08 6:29 
AnswerRe: Is it possible to have a sticky topic in this forum? Pin
Mycroft Holmes10-Sep-08 15:49
professionalMycroft Holmes10-Sep-08 15:49 
GeneralRe: Is it possible to have a sticky topic in this forum? Pin
Jon_Boy11-Sep-08 3:00
Jon_Boy11-Sep-08 3:00 
QuestionImage contrast and sharpening Pin
JR21210-Sep-08 2:44
JR21210-Sep-08 2:44 
AnswerRe: Image contrast and sharpening Pin
Guffa10-Sep-08 3:27
Guffa10-Sep-08 3:27 
GeneralRe: Image contrast and sharpening Pin
Member 768566524-Feb-11 1:42
Member 768566524-Feb-11 1:42 
QuestionHow to Send Mail in VB.Net 2005 ? Pin
Chintu Shah10-Sep-08 2:37
Chintu Shah10-Sep-08 2:37 
AnswerRe: How to Send Mail in VB.Net 2005 ? Pin
jzonthemtn10-Sep-08 2:48
jzonthemtn10-Sep-08 2:48 
GeneralRe: How to Send Mail in VB.Net 2005 ? Pin
Chintu Shah10-Sep-08 3:07
Chintu Shah10-Sep-08 3:07 
GeneralRe: How to Send Mail in VB.Net 2005 ? Pin
Ashfield10-Sep-08 3:25
Ashfield10-Sep-08 3:25 

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.