Jump to content

My first properish program...

Rossco

So in school i have been learning Visual Basic, and I just made this quick and dirty program which calculated peoples percentage from a test/exam. I thought this might be cool since I myself wonder how well i've done in exam and try work out my percentage :P

 

So heres the link to download...

 

https://www.dropbox.com/s/uqiipuv01h17c64/Test%20Scores.exe

 

If theres any problems please let me know, also does anyone have any ideas for basic programs i could make? :P

 

Thanks!

 

EDIT: Virus scan for you fellas http://gyazo.com/85241d684d37c90eca2cb50430dce574

4770k | GTX 780 | 350D | 16GB RAM | 120GB SSD | 1TB HDD | 750w PSU | Kraken x60 | Custom Sleeved Cables | ASUS PB287Q


 


Build Log 

Link to comment
Share on other sites

Link to post
Share on other sites

Would it not just be easier to whip out a calculator?

Compatible with Windows 95

Link to comment
Share on other sites

Link to post
Share on other sites

Would it not just be easier to whip out a calculator?

 

Obviously not considering i just spend time making this :P

4770k | GTX 780 | 350D | 16GB RAM | 120GB SSD | 1TB HDD | 750w PSU | Kraken x60 | Custom Sleeved Cables | ASUS PB287Q


 


Build Log 

Link to comment
Share on other sites

Link to post
Share on other sites

Congrats on your first program :)

I did a very similar thing for my first program too and vb is a pretty good one to get started with. Good luck in your programming adventures!

 

 

Would it not just be easier to whip out a calculator?

Not if each exam/assingment is worth different percentages that the program handles internally already.

[spoiler=pc specs:]cpu: i5-4670k | mobo: z87-pro | cpu cooler: h100i | ram: 8gb vengeance pro | gpu: gtx770 ftw 4gb | case: nzxt switch 810 matte black | storage: 240gb ssd; 1tb hdd | psu: 750w corsair rm |
keyboards: max nighthawk x8 mx brown + blue led; corsair k60 mx red; ducky shine 3 tkl mx blue + orange led | mouse: deathadder black edition | audio: FiiO E10; sennheiser hd558; grado sr80i; sony mdr-nc200d; blue snowball |

Link to comment
Share on other sites

Link to post
Share on other sites

Obviously not considering i just spend time making this :P

Okay, well, I would try it out, however

  1. I can work out a percentage in 2.18 seconds (I timed it once)
  2. There is a possibility it could be a virus, risk is too high
  3. As a desktop PC user, my computer is at home. When I'm at school, for example, today, when I was in an AS revision class for Physics (exam on Monday), I needed to know the percentage for this past paper that I had completed in the class. Now, getting home is always a tough cookie; it takes me about 20 minutes on the bus and then about half an hour of walking across farmland etc. Basically, in order to use this programme, it would take me 1 hour and 40 mins and be back at school, let alone the £5.00 that the bus costs for a return ticket.

JK, I think the app would work for me, especially when I get a Surface Pro 3 soon for Uni etc. I've bookmarked this page for when I come back to look for it in a few months time.

 

Top lol, too much of a cynical Brit I am :P

Compatible with Windows 95

Link to comment
Share on other sites

Link to post
Share on other sites

Okay, well, I would try it out, however

  1. I can work out a percentage in 2.18 seconds (I timed it once)
  2. There is a possibility it could be a virus, risk is too high
  3. As a desktop PC user, my computer is at home. When I'm at school, for example, today, when I was in an AS revision class for Physics (exam on Monday), I needed to know the percentage for this past paper that I had completed in the class. Now, getting home is always a tough cookie; it takes me about 20 minutes on the bus and then about half an hour of walking across farmland etc. Basically, in order to use this programme, it would take me 1 hour and 40 mins and be back at school, let alone the £5.00 that the bus costs for a return ticket.

JK, I think the app would work for me, especially when I get a Surface Pro 3 soon for Uni etc. I've bookmarked this page for when I come back to look for it in a few months time.

 

Top lol, too much of a cynical Brit I am :P

 

damn you people always picking out flaws in things ._. :P

 

Maybe then i could learn about coding apps and then you wouldnt need to travel home to use it ;D

4770k | GTX 780 | 350D | 16GB RAM | 120GB SSD | 1TB HDD | 750w PSU | Kraken x60 | Custom Sleeved Cables | ASUS PB287Q


 


Build Log 

Link to comment
Share on other sites

Link to post
Share on other sites

So in school i have been learning Visual Basic, and I just made this quick and dirty program which calculated peoples percentage from a test/exam. I thought this might be cool since I myself wonder how well i've done in exam and try work out my percentage :P

 

So heres the link to download...

 

https://www.dropbox.com/s/uqiipuv01h17c64/Test%20Scores.exe

 

If theres any problems please let me know, also does anyone have any ideas for basic programs i could make? :P

 

Thanks!

 

Sorry bruh but mom told me to not download exe's from unknown people. Unless it's a torrent.

Link to comment
Share on other sites

Link to post
Share on other sites

Sorry bruh but mom told me to not download exe's from unknown people. Unless it's a torrent.

 

meh i guess i should post a virus scan then

4770k | GTX 780 | 350D | 16GB RAM | 120GB SSD | 1TB HDD | 750w PSU | Kraken x60 | Custom Sleeved Cables | ASUS PB287Q


 


Build Log 

Link to comment
Share on other sites

Link to post
Share on other sites

meh i guess i should post a virus scan then

 

Very good idea indeed

Link to comment
Share on other sites

Link to post
Share on other sites

Very good idea indeed

 

your request has been granted good sir

4770k | GTX 780 | 350D | 16GB RAM | 120GB SSD | 1TB HDD | 750w PSU | Kraken x60 | Custom Sleeved Cables | ASUS PB287Q


 


Build Log 

Link to comment
Share on other sites

Link to post
Share on other sites

I do not really know how your grades system works. Could you explain what I should submit in Estimated Mark and in Total Test Score?

Looks very good, would you mind sharing the code with us?

Learning

Link to comment
Share on other sites

Link to post
Share on other sites

Congrats! Everyone has to start somewhere. Back in days my first program wasn't much complicated. Only my first program was made in Turbo Pascal so no graphical elements like buttons and input fields :D

There are some things(errors) which can be easily prevented:

  • If user leaves empty fields the prompt message is shown, but if user presses Cancel, then program throws exception, because for some reason also on cancel your program tries to read fields and obviously string(empty field) can't be converted to double. 
  • Same problem as above in case when only one field is filled. Simply need expand your existing checking code where you check if both fields are empty. Need to add also conditions where potentially only one field is empty
  • Check if entered data is numerical and not string(text)
Developer always have to think about all things that user could do wrong and eliminate them so he can't do it :D

Passionate indie android developer

Link to comment
Share on other sites

Link to post
Share on other sites

I would say next make a functioning calculator. My high school programming teacher and I had a challenger with each other over who could get one done first. He ended up winning but I had all my keys working and he couldn't get enter to work

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×