Welcome to Dream.In.Code
Become a VB Expert!

Join 149,556 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,610 people online right now. Registration is fast and FREE... Join Now!




Help me build a simple voting system!

 
Reply to this topicStart new topic

Help me build a simple voting system!, I dont have a code yet sorry Im new in Visual Basic!

gunner
30 Oct, 2007 - 10:22 PM
Post #1

New D.I.C Head
*

Joined: 30 Oct, 2007
Posts: 2


My Contributions
wub.gif help me i only have a little codes

You don't need all the exclamation points smile.gif

This post has been edited by PsychoCoder: 30 Oct, 2007 - 10:46 PM
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Help Me Build A Simple Voting System!
30 Oct, 2007 - 10:30 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,482



Thanked: 161 times
Dream Kudos: 9050
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Unfortunately until you have some code to show us that you have attempted this assignment we wont be helping you, its in the Forum Rules and we strictly enforce that policy.

Given that, what have you been able to accomplish so far, what parts do you need help with, are you using VB6 or VB.net (Visual Basic 2005, Visual Basic 2003, Visual Basic 2005 Express Edition are all VB.Net) smile.gif
User is online!Profile CardPM
+Quote Post

gunner
RE: Help Me Build A Simple Voting System!
30 Oct, 2007 - 10:44 PM
Post #3

New D.I.C Head
*

Joined: 30 Oct, 2007
Posts: 2


My Contributions
QUOTE(PsychoCoder @ 30 Oct, 2007 - 11:30 PM) *

Unfortunately until you have some code to show us that you have attempted this assignment we wont be helping you, its in the Forum Rules and we strictly enforce that policy.

Given that, what have you been able to accomplish so far, what parts do you need help with, are you using VB6 or VB.net (Visual Basic 2005, Visual Basic 2003, Visual Basic 2005 Express Edition are all VB.Net) smile.gif


biggrin.gif i only have little but i left in in school?my problem is how can i Tally the votes
User is offlineProfile CardPM
+Quote Post

RETNE
RE: Help Me Build A Simple Voting System!
17 Nov, 2007 - 04:37 PM
Post #4

New D.I.C Head
*

Joined: 17 Nov, 2007
Posts: 22


My Contributions
use a counter then divide by whatever the counter is

This post has been edited by RETNE: 17 Nov, 2007 - 04:37 PM
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: Help Me Build A Simple Voting System!
17 Nov, 2007 - 11:27 PM
Post #5

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,026



Thanked: 38 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Here's my personal experience.
Don't just maintain a counter variable and keep incrementing it for every vote.

Some years ago I wrote a voting system for my school (to elect school officials) and one smartass switched off the power supply to the computer.

End Result : All previously entered votes were lost.

Luckily for me, this happened with the first 50 students so it wasn't a big deal asking them to vote again. But if it had happened at the end of the voting session, you can only imagine what would have happened.

The solution to this problem is to log the value of the counters to a file after EACH AND EVERY VOTE
That way even if somebody takes out the power, you can resume the system right where it left off.

Don't learn the hard way [wink2.gif]
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 09:59PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month