Sample Code: Sudoku in VB .NET

Sudoku is a logic-based location puzzle game normally played using numbers.

This is simply an introduction to some of the facets of VB .NET using the mathematics behind Sudoku.

About the Author

Michael Champion

Degrees in Computer Science from the State University of New York at Buffalo (UB) and the Rochester Institute of Technology (RIT). Still serving time as a Software Engineer.



  • Sudoku Game

    Posted by Keara on 05/04/2015 07:08pm

    Can you please guide me of sudoku game using I can't created.

  • Great

    Posted by Bogdan on 04/29/2015 03:23am

    Thats a great program and algorythm , i have problems at understanding the GetValidVals , but i understand the rest of the code.Thank you for this program , it really helped me .

  • Items and performance throughout Miami -- swimwear has left without kind regards

    Posted by Abughibungunc on 05/06/2013 06:24pm

    Different questions on golf clarified and in addition why you would need to check out every single word within this report. [url=]タイトリスト[/url] What industry professionals won't be actually saying concerning golf and precisely how this has impact on you. [url=アイアン-c-2.html]ゴルフ スイング[/url] Brand-new essay discloses the low down over golf in addition , reasons why you have got to take action this afternoon. [url=レディース-c-11.html]ゴルフ グリップ[/url] Hard to find guide offers the basic truth for golf that experts claim only a couple of consumers know. [url=ブランドから選択-c-364.html]プーマ ゴルフ[/url] Accessories and processing in South america - - golf has left without any bon voyage [url=]adidas[/url]UhgNudLtcYzt [url=ジェレミースコット-c-4.html]adidas jeremy scott[/url]NwtCqsEgyVso [url=]アディダス ランニング[/url]VcjExkEegPof MdrTpqNmvQtm XhqBdkPpcFnk UsmLumLjjFti [url=]ナイキゴルフ[/url]WblBlqUocUmz [url=エアフォース1-c-14.html]nike air force[/url]YavZulLbhWwc [url=エアマックス-c-12.html]nike air max[/url]VoeAsnOcdQmf [url=エア-ジョーダン-c-13.html]nike air jordan[/url]UnnTvqAcqIec [url=]アディダス adidas[/url]RssItkCemBcn [url=ジェレミースコット-c-4.html]アディダス シューズ[/url]VcuRqjTvvXyn [url=ランニング-c-7.html]adidasランニング[/url]TncLdvTjxAib

  • Brief article exposes the unignorable details about gucci and precisely how it could may affect your company.

    Posted by emeseesip on 05/06/2013 04:16pm

    Most Likely The Most Detailed adidas Report You Ever Witnessed Otherwise Your Cash Back [url=]gucci 財布[/url] Whoa, amazing service. Your corporation have to find out more about adidas right away when it is still available for sale . . . [url=]グッチ キーケース[/url] nike can help everybody by including plenty of unique functions and characteristics. Its a unvaluable item for any fan of nike. [url=]グッチ ショルダーバッグ[/url] Independent write-up unveils 5 completely new things concerning gucci that absolutely no one is speaking about. [url=]シャネル マトラッセ[/url] Reasons why not a soul is discussing about nike and as an outcome the thing that you ought to accomplish right now. [url=]シャネル 長財布[/url] Creative questions on adidas have been answered in addition to why you need to read through every single statement within this document. [url=]chanel 財布[/url] An overview of the nike that you're able to cash in on commencing today.[url=]ナイキ[/url] Insights on how to understand everything there is to understand regarding nike in Six easy ways.

  • Sudoku solution

    Posted by sweety234 on 09/05/2007 05:42am

    Can any one send SUDOKU solution program to me ....?

    • RE: Can any one send SUDOKU solution ...

      Posted by on 09/05/2007 12:11pm

      Yes. Actually a better picture-version of this game application is available via

  • Great Example

    Posted by VPOwner on 12/28/2006 07:55pm

    My wife loves this game, so I compiled it for her :). There is one aspect of the program which is not present however, it will show the correct solution, but I would like to make a new button which will compare the user's solution to the correct one, and then highlight each incorrect answer. Being new to VB I am not exactly sure how to do this, can you suggest some examples that I could look into to do this? I like doing things like this to help myself learn, I learn much more when I do things hands on and make them work. Thanks!

    • Thanks

      Posted by on 12/29/2006 08:09am

      Nothing like being a nerd to impress the chicks, hey (:-))?  Just kidding, I'm a nerd and my wife loves me for it for some odd reason.
      One way to accomplish a "differences" button would be to simply integrate it with the existing btnShowSolution button.  You can always try to add another button and fill-in it's code-behind, but the code change for the existing one is rather simple (add lines between "*********" comments)...
          Private Sub btnShowSolution_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowSolution.Click
              Dim i As Integer
              If SolutionShown Then
                  For i = 1 To 81
                      CurButtons(i).Text = SudokuTemp(i)
                      CurButtons(i).ForeColor = System.Drawing.Color.Black
                  Next i
                  btnShowSolution.Text = "Show Solution"
                  For i = 1 To 81
                      SudokuTemp(i) = CurButtons(i).Text
                      CurButtons(i).Text = SudokuSolution(i)
                      If CurButtons(i).Text <> SudokuTemp(i) Then
                          CurButtons(i).ForeColor = System.Drawing.Color.Red
                          CurButtons(i).ForeColor = System.Drawing.Color.Green
                      End If
                  Next i
                  btnShowSolution.Text = "Hide Solution"
              End If
              SolutionShown = Not SolutionShown
          End Sub
      Hope this helps.  Happy New Year!

      • what??

        Posted by paul on 08/02/2014 01:27am

        What is this "CurButtons"? i don't understand what was the meaning of that because i usually use only cmd for command buttons, lbl for label and so many more so that i can determined what particular name i used it....can you determine what "CurButtons" used for?

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date