Click here to Skip to main content
15,394,131 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionBackgroundWorker [closed] Pin
hshan_7-Apr-22 8:30
Memberhshan_7-Apr-22 8:30 
AnswerRe: BackgroundWorker Pin
Richard Deeming7-Apr-22 21:30
mveRichard Deeming7-Apr-22 21:30 
GeneralRe: BackgroundWorker Pin
hshan_10-Apr-22 5:29
Memberhshan_10-Apr-22 5:29 
GeneralRe: BackgroundWorker Pin
Richard Deeming18-Apr-22 21:42
mveRichard Deeming18-Apr-22 21:42 
GeneralRe: BackgroundWorker Pin
hshan_19-Apr-22 2:38
Memberhshan_19-Apr-22 2:38 
GeneralRe: BackgroundWorker Pin
Richard Deeming19-Apr-22 3:01
mveRichard Deeming19-Apr-22 3:01 
GeneralRe: BackgroundWorker Pin
hshan_19-Apr-22 3:22
Memberhshan_19-Apr-22 3:22 
GeneralRe: BackgroundWorker Pin
Richard Deeming19-Apr-22 3:50
mveRichard Deeming19-Apr-22 3:50 
I don't use C++, but there should be code similar to the Microsoft example:
C#
backgroundWorker1.DoWork += new DoWorkEventHandler(backgroundWorker1_DoWork);
backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorker1_RunWorkerCompleted);
backgroundWorker1.ProgressChanged += new ProgressChangedEventHandler(backgroundWorker1_ProgressChanged);
I believe for C++/CLI, it would be something like:
C++
backgroundWorker1->DoWork += gcnew DoWorkEventHandler(this, &backgroundWorker1_DoWork);
How to: Use Events in C++/CLI | Microsoft Docs[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: BackgroundWorker Pin
hshan_19-Apr-22 6:39
Memberhshan_19-Apr-22 6:39 
GeneralRe: BackgroundWorker Pin
hshan_19-Apr-22 2:55
Memberhshan_19-Apr-22 2:55 
QuestionCan not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Alex Banar1-Apr-22 4:23
MemberAlex Banar1-Apr-22 4:23 
AnswerRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Richard MacCutchan1-Apr-22 4:38
mveRichard MacCutchan1-Apr-22 4:38 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Alex Banar1-Apr-22 4:42
MemberAlex Banar1-Apr-22 4:42 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Richard MacCutchan1-Apr-22 5:44
mveRichard MacCutchan1-Apr-22 5:44 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Alex Banar1-Apr-22 6:22
MemberAlex Banar1-Apr-22 6:22 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Richard MacCutchan1-Apr-22 6:28
mveRichard MacCutchan1-Apr-22 6:28 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Alex Banar1-Apr-22 6:49
MemberAlex Banar1-Apr-22 6:49 
Questionrunning Powershell from ASP.NET Core 6 Pin
Johannes B. Latzel18-Mar-22 2:20
MemberJohannes B. Latzel18-Mar-22 2:20 
AnswerRe: running Powershell from ASP.NET Core 6 Pin
Dave Kreskowiak27-Mar-22 18:17
mveDave Kreskowiak27-Mar-22 18:17 
QuestionC# TcpListener listen forever Pin
Goga Work11-Mar-22 18:42
MemberGoga Work11-Mar-22 18:42 
AnswerRe: C# TcpListener listen forever Pin
Pete O'Hanlon11-Mar-22 20:57
mvaPete O'Hanlon11-Mar-22 20:57 
QuestionPower BI Embedded : Cant doCross Filtering selecting multiple rows on a table visual pressing CTRL Pin
Member 155547063-Mar-22 17:19
MemberMember 155547063-Mar-22 17:19 
Questionhow it works Pin
Calin Cali17-Feb-22 8:48
MemberCalin Cali17-Feb-22 8:48 
QuestionRe: how it works Pin
Calin Cali17-Feb-22 10:41
MemberCalin Cali17-Feb-22 10:41 
AnswerRe: how it works Pin
jschell17-Feb-22 10:44
Memberjschell17-Feb-22 10:44 

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.