Click here to Skip to main content
15,889,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: readxml slowdown Pin
Dave Kreskowiak23-Oct-07 3:42
mveDave Kreskowiak23-Oct-07 3:42 
QuestionRandom Access File VS. Stream Reader Objects Pin
AAGTHosting22-Oct-07 11:34
AAGTHosting22-Oct-07 11:34 
AnswerRe: Random Access File VS. Stream Reader Objects Pin
Guffa22-Oct-07 22:46
Guffa22-Oct-07 22:46 
QuestionVB 2005 include a .exe file Pin
FloridaHillBilly22-Oct-07 11:04
FloridaHillBilly22-Oct-07 11:04 
AnswerRe: VB 2005 include a .exe file Pin
svanwass22-Oct-07 11:18
svanwass22-Oct-07 11:18 
GeneralRe: VB 2005 include a .exe file Pin
FloridaHillBilly22-Oct-07 13:15
FloridaHillBilly22-Oct-07 13:15 
GeneralRe: VB 2005 include a .exe file Pin
Tom Deketelaere22-Oct-07 22:39
professionalTom Deketelaere22-Oct-07 22:39 
QuestionCanceling background worker Pin
svanwass22-Oct-07 9:58
svanwass22-Oct-07 9:58 
I am unsure the best way to cancel my background worker (bgw).

My application (form1) has an options screen (form2). On app load, a background worker starts to ping a list of IPs. I would like to go into my options form and tell my app a different list of IPs to ping. Once I make this change, i need to stop the current bgw from pinging, reload the list, and start pinging again.

I know that I first have to set the WorkerSupportsCancelation property to true, which should set CancellationPending to true, then call the CancelAsync method, check the CancellationPending, then cancel it as this article suggests.

My issue is that I am canceling the bgw from the second form and do not currently have a 'DoWorkEventArgs' object to cancel.

What am I missing to get this object and cancel the bgw?

Thanks!
AnswerRe: Canceling background worker Pin
Dave Kreskowiak23-Oct-07 2:08
mveDave Kreskowiak23-Oct-07 2:08 
QuestionConnection string in VB.Net 2003 Pin
kendo1722-Oct-07 7:12
kendo1722-Oct-07 7:12 
AnswerRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak22-Oct-07 8:41
mveDave Kreskowiak22-Oct-07 8:41 
GeneralRe: Connection string in VB.Net 2003 Pin
kendo1722-Oct-07 11:54
kendo1722-Oct-07 11:54 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak22-Oct-07 12:06
mveDave Kreskowiak22-Oct-07 12:06 
GeneralRe: Connection string in VB.Net 2003 Pin
kendo1722-Oct-07 12:25
kendo1722-Oct-07 12:25 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak23-Oct-07 2:06
mveDave Kreskowiak23-Oct-07 2:06 
GeneralRe: Connection string in VB.Net 2003 Pin
kendo1723-Oct-07 2:30
kendo1723-Oct-07 2:30 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak23-Oct-07 3:45
mveDave Kreskowiak23-Oct-07 3:45 
GeneralRe: Connection string in VB.Net 2003 Pin
aransiola23-Oct-07 23:04
aransiola23-Oct-07 23:04 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak24-Oct-07 1:13
mveDave Kreskowiak24-Oct-07 1:13 
AnswerRe: Connection string in VB.Net 2003 Pin
AliAmjad22-Oct-07 23:14
AliAmjad22-Oct-07 23:14 
QuestionAbout the the .dll version I include in my application Pin
albeeeta22-Oct-07 6:31
albeeeta22-Oct-07 6:31 
AnswerRe: About the the .dll version I include in my application Pin
Dave Kreskowiak22-Oct-07 8:50
mveDave Kreskowiak22-Oct-07 8:50 
QuestionRe: About the the .dll version I include in my application Pin
albeeeta22-Oct-07 20:24
albeeeta22-Oct-07 20:24 
AnswerRe: About the the .dll version I include in my application Pin
Dave Kreskowiak23-Oct-07 1:50
mveDave Kreskowiak23-Oct-07 1:50 
AnswerRe: About the the .dll version I include in my application Pin
Dave Kreskowiak23-Oct-07 2:02
mveDave Kreskowiak23-Oct-07 2:02 

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.