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

.NET (Core and Framework)

 
PinnedHOW TO ANSWER A QUESTION Pin
Chris Maunder16-Jul-09 3:09
cofounderChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question Pin
Chris Maunder16-Jul-09 3:05
cofounderChris Maunder16-Jul-09 3:05 
QuestionAsp.net display numbers from loop on page Pin
KingRoyaltea7-Jun-22 2:24
MemberKingRoyaltea7-Jun-22 2:24 
Rant[REPOST] Asp.net display numbers from loop on page Pin
Richard Deeming7-Jun-22 3:16
mveRichard Deeming7-Jun-22 3:16 
QuestionAsp.net display numbers from loop on page Pin
KingRoyaltea6-Jun-22 4:12
MemberKingRoyaltea6-Jun-22 4:12 
AnswerRe: Asp.net display numbers from loop on page Pin
Richard MacCutchan6-Jun-22 4:21
mveRichard MacCutchan6-Jun-22 4:21 
AnswerRe: Asp.net display numbers from loop on page Pin
Dave Kreskowiak7-Jun-22 7:47
mveDave Kreskowiak7-Jun-22 7:47 
Question.NET SDK that provides side by side comparison and navigation in document pages Pin
Member 1564342420-May-22 2:57
MemberMember 1564342420-May-22 2:57 
AnswerRe: .NET SDK that provides side by side comparison and navigation in document pages Pin
Dave Kreskowiak21-May-22 6:04
mveDave Kreskowiak21-May-22 6:04 
QuestionHow to call some Web API inside another Web API within same Project Pin
Wahaj Khan27-Apr-22 10:35
MemberWahaj Khan27-Apr-22 10:35 
AnswerRe: How to call some Web API inside another Web API within same Project Pin
Mycroft Holmes27-Apr-22 12:36
professionalMycroft Holmes27-Apr-22 12:36 
GeneralRe: How to call some Web API inside another Web API within same Project Pin
Wahaj Khan27-Apr-22 13:33
MemberWahaj Khan27-Apr-22 13:33 
GeneralRe: How to call some Web API inside another Web API within same Project Pin
Pete O'Hanlon29-Apr-22 0:34
mvaPete O'Hanlon29-Apr-22 0:34 
AnswerRe: How to call some Web API inside another Web API within same Project Pin
Richard Deeming27-Apr-22 21:16
mveRichard Deeming27-Apr-22 21:16 
AnswerRe: How to call some Web API inside another Web API within same Project Pin
jschell8-May-22 7:47
Memberjschell8-May-22 7:47 
QuestionConsole App that refer an external dll Pin
Skeletro 3M15-Apr-22 0:12
MemberSkeletro 3M15-Apr-22 0:12 
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 
GeneralRe: BackgroundWorker Pin
hshan_19-Apr-22 6:39
Memberhshan_19-Apr-22 6:39 
ok everyting works


this->backgroundWorker1->DoWork += gcnew System::ComponentModel::DoWorkEventHandler(this, &f***::backgroundWorker1_DoWork);
this->backgroundWorker1->ProgressChanged += gcnew System::ComponentModel::ProgressChangedEventHandler(this, &f***::backgroundWorker1_ProgressChanged);
this->backgroundWorker1->RunWorkerCompleted += gcnew System::ComponentModel::RunWorkerCompletedEventHandler(this, &f***::backgroundWorker1_RunWorkerCompleted);

was indeed missing
private: System::Void backgroundWorker1_DoWork(System::Object^ sender, System::ComponentModel::DoWorkEventArgs^ e) {
	
	while (true)
	{
		if (backgroundWorker1->CancellationPending) //if it was cancelled
		{
			e->Cancel = true;
			
		}
		if (progressBar1->Value == progressBar1->Maximum)  //if the progress bar value reached maximum
Valuse==progressBar1->Maximum does not stop DoWork this "Maximum"
		{
			
		}
		Beep(1500, 100);
		backgroundWorker1->ReportProgress(50);  //reporting progress
		Sleep(500);   //wait for 1 second
	}
}

now i really got everything i needed thanks for help

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.