Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8694089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:42:06+00:00 2026-06-13T00:42:06+00:00

I tried to make simple brute force algorithm.It s working normal.But I was watching

  • 0

I tried to make simple brute force algorithm.It s working normal.But I was watching this video

http://www.youtube.com/watch?v=v2xwficgRYk&feature=relmfu

(time 10:30) as you can see in textbox2 posibilities changes .But in my program.I create 1323 as a password and then when i click brute i waited 5 second and get 99999 in textbox2 and 1323 in textbox3.Why i cant see the flow of number in textbox2 like on video?

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    } 

    int a, b;

    private void button1_Click(object sender, EventArgs e)
    {
        a = Convert.ToInt16(textBox1.Text);
    }

    private void button2_Click_1(object sender, EventArgs e)
    {
        for (int i = 0; i < 100000; i++) 
        {
            textBox2.Text = "" + i;
            if (a == i) textBox3.Text = "" + i; 
        }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:42:08+00:00Added an answer on June 13, 2026 at 12:42 am

    That’s because the program in the video is running the brute force loop in a separate thread.

    In your program the loop runs in the main thread, so as long as it’s running there is no thread watching the message pump where all the user interface updates happen.

    Whenever the Text property of the text box is changed there is a message dropped in the message queue that the text box needs to be redrawn to show the value, but the main thread is busy running the loop and won’t act on the messages until the loop is done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried to make this simple Jquery game http://www.abkeya.com/2011/02/14/simple-jquery-game/ Most of the parts
I tried to make a simple contact form via HTML and PHP but the
I tried to make a new bare git repository but I get this error:
I don't have much experience with html, but I tried to make a simple
I tried to make my code as simple as possible,but I failed at it.
I'm trying to make a simple HTTP client here , so i tried to
This is the first time I've used ReportLab, I have tried to make simple
I tried to make a simple guess game, but all it does is asks
I tried to make a click counter in MySQL, but it dose not seem
I tried to make my textbox type in currency format. I did it, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.