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

Visual Basic

 
GeneralRe: how to draw a line on a picture box Pin
flamingo210-Oct-08 9:49
flamingo210-Oct-08 9:49 
Generalhow to draw a rectangle on a pictureBox Pin
flamingo210-Oct-08 20:05
flamingo210-Oct-08 20:05 
Questionweb browser Pin
Shazz Rock10-Oct-08 0:45
Shazz Rock10-Oct-08 0:45 
AnswerRe: web browser Pin
jzonthemtn10-Oct-08 3:52
jzonthemtn10-Oct-08 3:52 
GeneralRe: web browser Pin
LloydA11110-Oct-08 8:37
LloydA11110-Oct-08 8:37 
QuestionControls and threads problem Pin
ambio9-Oct-08 22:52
ambio9-Oct-08 22:52 
AnswerRe: Controls and threads problem Pin
Dave Kreskowiak10-Oct-08 1:04
mveDave Kreskowiak10-Oct-08 1:04 
GeneralRe: Controls and threads problem Pin
ambio10-Oct-08 4:40
ambio10-Oct-08 4:40 
Hi Dave,

Thanks for your answer. We did what you have written. Our scrolling text was already a control, so the only thing that we had to do is adding a thread that does the work to scroll the text. But we have noticed that the OnPaint method (draws the text, and is executed by the Paint event of the form) is executed in the MainThread and not in the new thread that we have created. So the text is drawed on the form in the MainThread. The OnPaint event is triggerd by calling the invalidate method. The handler that says what to do in the MyBase.Paint event is also set in the new thread. Is it possible to execute the OnPaint method in our new created thread?

Thanks in advance,

Kurt
GeneralRe: Controls and threads problem Pin
Dave Kreskowiak10-Oct-08 5:14
mveDave Kreskowiak10-Oct-08 5:14 
GeneralRe: Controls and threads problem Pin
ambio12-Oct-08 22:34
ambio12-Oct-08 22:34 
GeneralRe: Controls and threads problem Pin
Dave Kreskowiak13-Oct-08 1:27
mveDave Kreskowiak13-Oct-08 1:27 
GeneralRe: Controls and threads problem Pin
ambio13-Oct-08 2:13
ambio13-Oct-08 2:13 
QuestionTransaction AS400 Pin
helelark1239-Oct-08 20:32
helelark1239-Oct-08 20:32 
AnswerRe: Transaction AS400 Pin
Ashfield9-Oct-08 21:34
Ashfield9-Oct-08 21:34 
GeneralRe: Transaction AS400 Pin
Mycroft Holmes9-Oct-08 21:41
professionalMycroft Holmes9-Oct-08 21:41 
GeneralRe: Transaction AS400 Pin
Wendelius10-Oct-08 7:01
mentorWendelius10-Oct-08 7:01 
AnswerRe: Transaction AS400 Pin
Kschuler10-Oct-08 6:41
Kschuler10-Oct-08 6:41 
AnswerRe: Transaction AS400 Pin
Wendelius10-Oct-08 7:59
mentorWendelius10-Oct-08 7:59 
QuestionSockets, remoting or web services which one to use? Pin
rprateek9-Oct-08 13:08
rprateek9-Oct-08 13:08 
AnswerRe: Sockets, remoting or web services which one to use? Pin
Mycroft Holmes9-Oct-08 21:46
professionalMycroft Holmes9-Oct-08 21:46 
QuestionRetrieve a large number of filenames Pin
Sonhospa9-Oct-08 8:57
Sonhospa9-Oct-08 8:57 
AnswerRe: Retrieve a large number of filenames Pin
Dave Kreskowiak9-Oct-08 9:26
mveDave Kreskowiak9-Oct-08 9:26 
AnswerRe: Retrieve a large number of filenames Pin
Wendelius9-Oct-08 9:27
mentorWendelius9-Oct-08 9:27 
GeneralRe: Retrieve a large number of filenames Pin
Sonhospa9-Oct-08 20:24
Sonhospa9-Oct-08 20:24 
AnswerRe: Retrieve a large number of filenames Pin
Jon_Boy10-Oct-08 4:26
Jon_Boy10-Oct-08 4:26 

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.