Depreciation Calculator using SLN/SYD To be updated in ListView

  • Thread starter Thread starter nejmay
  • Start date Start date
N

nejmay

Help Please, I am taking a beginners VB.NET class and my next
assignment making a Depreciation Calculator. I am suppose to use the
built in functions SLN() and SYD() to perform the calus, option
buttons to specify the deprec method, combo box to specify life. Then
I am suppose to display the depreciation schedule in ListView.

I am having a hard time understanding how to tie the ListView with the
actual calulation and make the columns and rows populate with the
correct info. I think I am missing something as this can't be this
hard, but my brain is begging to differ. Also, the book I am using is
not very helpful in their examples, so if anyone could give me an idea
how I am suppose to set this type of project up I would be forever
grateful to them.

nejmay
 
Hi Nejmay,

This sounds as a school project (I tell this for the others).
Do not say it is not, it is to obvious.

That mean we will help you however not with code.
Your problem is the Listview you say.

When you have to do something with the listview (or the treeview) than you
have to remember that it are controls which are build as trees.

You have a root and on that root you connect everytime nodes (items).
However on those nodes you can add subitems again.

That is basicly all you have to know.
(You add and item or subitem always with add or insert).

I hope this helps?

Cor
 
* (e-mail address removed) (nejmay) scripsit:
Help Please, I am taking a beginners VB.NET class and my next
assignment making a Depreciation Calculator. I am suppose to use the
built in functions SLN() and SYD() to perform the calus, option
buttons to specify the deprec method, combo box to specify life. Then
I am suppose to display the depreciation schedule in ListView.

I am having a hard time understanding how to tie the ListView with the
actual calulation and make the columns and rows populate with the
correct info. I think I am missing something as this can't be this
hard, but my brain is begging to differ. Also, the book I am using is
not very helpful in their examples, so if anyone could give me an idea
how I am suppose to set this type of project up I would be forever
grateful to them.

I am not sure what your problem is, but did you have a close look at
the 'ListViewItem' class, its 'SubItems' properts and the ListView's
'Items' property?
 
Back
Top