Hello,
I am a novice in visual basic programming, and I have just started to learn about this type of programming. During this studies I have been given this problem (and my book doesn’t cover this subject). So my hope is that some of you out there can give me a tip or two about how I can solve this problem:
You are going to make a simple address book, where you shall register name, address and phone number. Every name (just he names) in this address book shall be put into a list box, where you just have to click on the name and the rest of the information shall be listed in the same textboxes where they where put in to this address book.
Problem to solve:
You have to make a class called “Friends” where every name of in the address book is represented by objects in this class.
A little tip to the end: You can’t store object direct in the list box, just strings. Therefore you have to make a table of objects where the object is stored together with the index “item number” in the list box (check property “new index”)
The form contains the list box with the name of “my” friends, there are textboxes for name, address and phone number. There is also command buttons for register new person, store and quit.
Hope someone bother to answer me on this question, and any tip is welcomed with great pleasure.
Thanks in advance Stig
I am a novice in visual basic programming, and I have just started to learn about this type of programming. During this studies I have been given this problem (and my book doesn’t cover this subject). So my hope is that some of you out there can give me a tip or two about how I can solve this problem:
You are going to make a simple address book, where you shall register name, address and phone number. Every name (just he names) in this address book shall be put into a list box, where you just have to click on the name and the rest of the information shall be listed in the same textboxes where they where put in to this address book.
Problem to solve:
You have to make a class called “Friends” where every name of in the address book is represented by objects in this class.
A little tip to the end: You can’t store object direct in the list box, just strings. Therefore you have to make a table of objects where the object is stored together with the index “item number” in the list box (check property “new index”)
The form contains the list box with the name of “my” friends, there are textboxes for name, address and phone number. There is also command buttons for register new person, store and quit.
Hope someone bother to answer me on this question, and any tip is welcomed with great pleasure.
Thanks in advance Stig