Click here to Skip to main content
15,905,325 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Visual Basic 2008 Express Edition: Retrieve emails from POP3 server Pin
Bharat Jain5-Jan-09 1:13
Bharat Jain5-Jan-09 1:13 
AnswerRe: Visual Basic 2008 Express Edition: Retrieve emails from POP3 server Pin
Ashfield5-Jan-09 1:32
Ashfield5-Jan-09 1:32 
QuestionWebBrowser Drag and Drop Pin
StuBaum4-Jan-09 11:28
StuBaum4-Jan-09 11:28 
AnswerRe: WebBrowser Drag and Drop Pin
StuBaum14-Jan-09 8:21
StuBaum14-Jan-09 8:21 
QuestionHow to create forms in background worker thread in vb.net Pin
sohaib_a4-Jan-09 7:18
sohaib_a4-Jan-09 7:18 
AnswerRe: How to create forms in background worker thread in vb.net Pin
Naji El Kotob4-Jan-09 11:32
Naji El Kotob4-Jan-09 11:32 
GeneralRe: How to create forms in background worker thread in vb.net Pin
sohaib_a4-Jan-09 19:02
sohaib_a4-Jan-09 19:02 
GeneralRe: How to create forms in background worker thread in vb.net Pin
Guffa4-Jan-09 19:42
Guffa4-Jan-09 19:42 
Sohaib_A wrote:
So now i will be generating many of the same form this way by using a list of background workers.So will each form be running in its own thread?


No, they won't. Perhaps you didn't get the implied answer: You can't create a window in a background thread, you have to use Invoke to create the window in the GUI thread. (It might be possible to create a window from a thread, but then the thread would have to run a message pump just as the GUI thread does. That would be pointless as you already have a message pump.)

Sohaib_A wrote:
Also how can i update the form's gui from the DoWork sub?


The same way; you use Invoke to run the code in the GUI thread.

Alternatively, you put updates in a synchronised queue, and have a timer in the GUI thread read updates from the queue and display them.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionVBscript Pin
oburaochola4-Jan-09 5:50
oburaochola4-Jan-09 5:50 
AnswerRe: VBscript Pin
Colin Angus Mackay4-Jan-09 5:51
Colin Angus Mackay4-Jan-09 5:51 
AnswerRe: VBscript Pin
Eddy Vluggen7-Jan-09 0:49
professionalEddy Vluggen7-Jan-09 0:49 
QuestionVB Script Project Pin
oburaochola4-Jan-09 4:22
oburaochola4-Jan-09 4:22 
AnswerRe: VB homework assignment Pin
Guffa4-Jan-09 4:49
Guffa4-Jan-09 4:49 
GeneralRe: VB homework assignment Pin
oburaochola4-Jan-09 6:07
oburaochola4-Jan-09 6:07 
GeneralRe: VB homework assignment Pin
Guffa4-Jan-09 19:33
Guffa4-Jan-09 19:33 
QuestionShow form from dll? Pin
andyr20053-Jan-09 17:50
andyr20053-Jan-09 17:50 
AnswerRe: Show form from dll? Pin
dan!sh 3-Jan-09 22:54
professional dan!sh 3-Jan-09 22:54 
AnswerRe: Show form from dll? Pin
Jon_Boy4-Jan-09 5:21
Jon_Boy4-Jan-09 5:21 
QuestionClose file open as an image in Picturebox Pin
Amanjot3-Jan-09 17:32
Amanjot3-Jan-09 17:32 
AnswerRe: Close file open as an image in Picturebox Pin
Dave Kreskowiak4-Jan-09 0:13
mveDave Kreskowiak4-Jan-09 0:13 
GeneralRe: Close file open as an image in Picturebox Pin
Jon_Boy4-Jan-09 5:25
Jon_Boy4-Jan-09 5:25 
GeneralRe: Close file open as an image in Picturebox Pin
Dave Kreskowiak4-Jan-09 6:59
mveDave Kreskowiak4-Jan-09 6:59 
GeneralRe: Close file open as an image in Picturebox Pin
Amanjot4-Jan-09 6:10
Amanjot4-Jan-09 6:10 
QuestionSQL and VB, Some tips/direction please. Pin
Dalek Dave3-Jan-09 13:53
professionalDalek Dave3-Jan-09 13:53 
AnswerRe: SQL and VB, Some tips/direction please. Pin
Colin Angus Mackay3-Jan-09 14:15
Colin Angus Mackay3-Jan-09 14:15 

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.