well it gave an error that the lenght cant be less than zero, I just toot out that TotalCreditos = Val(txtTotalCreditos.Text) and declared that variable TotalCreditos as a class variable and there I did it
Thanx all for the help
see u next time
ok I already did it, thanx, and heres the code anyway, if u find anything wrong or that can be done better let me know, I wasnt using a class variable for the totals at the end and then I was giving a value to the variable with the formatCurrency which changed it to (0) no matter what it had...
here u go:
TotalPayed = Val(txtTotalPayed.text)
thats the value of the total students then later on so it can add to the other students I put this one:
TotalPayed = TotalPayed + Quantity
which initially TotalPayed is 0 and Quantity is the amount of money the active student is paying
then to...
hello everyone, Im new here at this forum and also a newbie in VB.NET. I just started to program an assigment in which I need to calculate totals for students, credits and how much in that day students payed for courses. The thing is I did create the program, it runs ok, but when it comes to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.