![]() |
|
#1
|
|||
|
|||
Help coding function Procedures in VB 2008Hey guys if anyone could help me this would be extremely appreciated. My homework assignment is to take a checking account program that we've already written and add function procedures to it. The exact instructions are: Write function procedures for processing deposits, checks, and service charges. Deposit function adds the deposit to the balance; the check subtracts the transaction amount from the balance; the service charge function subtracts the amount from the balance. each of the functions must return the updated balance.
Again, this program currently works as it is right now but we have to tweak the code to include function procedures as per the above mentioned directions. VB / Visual Basic Code:
Last edited by admin : 11-Apr-2009 at 00:11.
Reason: Please insert your example VB codes between [VB] and [/VB] tags
|
|||
|
#2
|
|||
|
|||
Re: Help coding function Procedures in VB 2008Which bit do you want help with?
|
|
#3
|
|||
|
|||
Re: Help coding function Procedures in VB 2008I want help with putting the deposit radio button statement in a function procedure. Once someone shows me how to do that, i'll be able to do the rest myself.
|
|
#4
|
|||
|
|||
Re: Help coding function Procedures in VB 2008Your methods are pretty much highlighted by your comments.
You could alter your main CalculateToolStripMenuItem_Click method to call the new methods. VB / Visual Basic Code:
The Deposit section could be something like this (excuse my VB I only code in C#): VB / Visual Basic Code:
Is that the kind of thing you are looking to do? |
|
#5
|
|||
|
|||
Re: Help coding function Procedures in VB 2008Quote:
I appologize that it took me so long to reply, but yes, that is exactly what i needed and it worked fine. I really appreciate the help and now that I've seen an example I understand it and can do it on my own now. thanks again! |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| run script command on ns2.26 | newbie06 | Computer Software Forum - Linux | 65 | 19-Aug-2009 08:50 |
| Problem executing nam-1.13 | RodolfoAlvizu | Computer Software Forum - Linux | 20 | 28-Feb-2009 16:23 |
| Free a malloc returned in a function | james_bond | C Programming Language | 4 | 06-Jan-2008 14:59 |
| Need Help with input files. | Efferus | C++ Forum | 2 | 24-Nov-2007 17:19 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The