Click here to Skip to main content
15,886,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to connect a database to VB.net with codes Pin
JC.KaNNaN30-Jun-09 18:20
JC.KaNNaN30-Jun-09 18:20 
QuestionDesktop background Pin
The real $M@30-Jun-09 3:35
The real $M@30-Jun-09 3:35 
AnswerRe: Desktop background Pin
Tom Deketelaere30-Jun-09 4:18
professionalTom Deketelaere30-Jun-09 4:18 
AnswerRe: Desktop background Pin
Sk9330-Jun-09 5:43
Sk9330-Jun-09 5:43 
AnswerRe: Desktop background Pin
chilinhhacker13-Jul-09 19:17
chilinhhacker13-Jul-09 19:17 
GeneralRe: Desktop background Pin
The real $M@14-Jul-09 5:25
The real $M@14-Jul-09 5:25 
Questiontv tuner and directShow Pin
gsipes30-Jun-09 3:30
gsipes30-Jun-09 3:30 
QuestionMultithreading confusion Pin
Sonhospa30-Jun-09 2:59
Sonhospa30-Jun-09 2:59 
Being quite new to VB.NET, I hope someone can guide me through big confusion with BackgroundWorkers.

In my project I have a Main form which holds several backgroundworkers:
1. BGW1 uses a class to collect files into a list of fileinfo (class property)
2. BGW2 processes the files from the list, considering which action to take (copy, convert, etc.)

Meanwhile I think I wouldn't even have to use two separate BGWs for that, but that's not the bigger problem. One of the actions taken in BGW2 retrieves header data from the processed file, which I want to show in a separate form ("frmDump")... and here the trouble begins Cry | :(( :

Calling frmDump from the process running in BGW2 shows the form filled with the data, but then it hangs... (the error message is something like the program couldn't communicate with Windows anymore). So I tried using a third backgroundworker BGW3 (member of the main form) and called it from the BGW2 process with the command "mainform.bgw3.RunWorkerAsync()". This way, the form doesn't even fill with data anymore but hangs while opening...

I guess I'm really confused Confused | :confused: about the issue. Can someone please help me out? I hope I'm at least clear enough that you know what I mean Sigh | :sigh:

Thanks
Michael
AnswerRe: Multithreading confusion Pin
Luc Pattyn30-Jun-09 3:19
sitebuilderLuc Pattyn30-Jun-09 3:19 
QuestionRe: Multithreading confusion Pin
Sonhospa30-Jun-09 10:04
Sonhospa30-Jun-09 10:04 
AnswerRe: Multithreading confusion Pin
Luc Pattyn30-Jun-09 10:24
sitebuilderLuc Pattyn30-Jun-09 10:24 
GeneralRe: Multithreading confusion Pin
Sonhospa1-Jul-09 10:31
Sonhospa1-Jul-09 10:31 
GeneralRe: Multithreading confusion Pin
Luc Pattyn1-Jul-09 11:03
sitebuilderLuc Pattyn1-Jul-09 11:03 
GeneralRe: Multithreading confusion Pin
Sonhospa1-Jul-09 20:20
Sonhospa1-Jul-09 20:20 
QuestionHow to connect DB in Lan Connection? Pin
JC.KaNNaN30-Jun-09 2:25
JC.KaNNaN30-Jun-09 2:25 
AnswerRe: How to connect DB in Lan Connection? Pin
Aman Bhullar30-Jun-09 3:25
Aman Bhullar30-Jun-09 3:25 
GeneralRe: How to connect DB in Lan Connection? Pin
loid grey manuel24-Mar-11 6:20
loid grey manuel24-Mar-11 6:20 
AnswerRe: How to connect DB in Lan Connection? Pin
Dave Kreskowiak30-Jun-09 3:47
mveDave Kreskowiak30-Jun-09 3:47 
QuestionAlgin Left in Excel Export from VB.net Application Pin
maddylein29-Jun-09 21:30
maddylein29-Jun-09 21:30 
AnswerRe: Algin Left in Excel Export from VB.net Application Pin
dan!sh 29-Jun-09 21:48
professional dan!sh 29-Jun-09 21:48 
GeneralRe: Algin Left in Excel Export from VB.net Application Pin
maddylein29-Jun-09 22:21
maddylein29-Jun-09 22:21 
QuestionHow to convert an exe into a service Pin
RK11@200929-Jun-09 19:29
RK11@200929-Jun-09 19:29 
AnswerRe: How to convert an exe into a service Pin
Christian Graus30-Jun-09 0:18
protectorChristian Graus30-Jun-09 0:18 
GeneralRe: How to convert an exe into a service Pin
paas30-Jun-09 2:44
paas30-Jun-09 2:44 
GeneralRe: How to convert an exe into a service Pin
Jon_Boy30-Jun-09 4:15
Jon_Boy30-Jun-09 4: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.