Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns
Count all 1's in Row and Columns Count all 1's in Row and Columns
Count all 1's in Row and Columns
Go Back  Xtreme Visual Basic Talk > > > Count all 1's in Row and Columns


Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2009, 06:58 PM
gunblade06 gunblade06 is offline
Newcomer
 
Join Date: Feb 2009
Posts: 1
Default Count all 1's in Row and Columns


Guys.. I have only started VB last week and I need a bit of help in making this program.

This is how it works:

Textboxes are arranged in a 5x5 matrix and each text box is only restricted to either a "1" or "0" input. I need help in the code that will count all 1's in each row and column. Since this is a 5x5 arrangement, there are 5 rows and 5 columns each. I am actually making a simulation of a VRC/LRC program. There will be 2 buttons namely "Even/Odd Parity". If user presses Even parity and the number of 1's in that specific row/column is Even, the result will be a 0,If odd the result is 1. There is a result textbox at the end of each row/column.

Hope someone would be able to assist me on this one.
Reply With Quote
  #2  
Old 02-20-2009, 08:24 AM
AtmaWeapon's Avatar
AtmaWeaponCount all 1's in Row and Columns AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

What have you tried so far? Asking for assistance requires pointing out which part of the code you're stuck on.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns Count all 1's in Row and Columns
Count all 1's in Row and Columns
Count all 1's in Row and Columns
 
Count all 1's in Row and Columns
Count all 1's in Row and Columns
 
-->