dtrinowitz
Programmer
Hi, im creating a chat message program. it sends a meassage to others by using the ip address.
THis works fine, however the problem im having is:
i added a dropdowm combobox and a textbox and a command button.
this is to add users to the combobox. you enter the name into the textbox and there ip in 4 other textboxes click the commandbutton and it is supposed to add that information to the combobox. To do soo im using the following command:
combo1.additem text1.text+text2.text
text1 is the name of the user.
the other 4 textboxes display the ip address.
the additem property works but it is supposed to just show the name in the combobox and remember the ip without showing it in the combobox too. even though that is the snmalles problem. i need this to work at runtime.
it works at runtime but when i reenter the program it lost all the data. now what i need is a code which makes the program remember what i added last time a ran it. All i know is that the data needs to be stored somewhere outside the programm but i dont know a code to make it do that.
It would be great if any1 could post a code to stor and retrive the data at runtime.
And if possible tell me how to make the combobox remember the ip without showing it under the additem property neyxt to the name in the combobox.
i hope the description of my problem is understandable.
thx in advance
THis works fine, however the problem im having is:
i added a dropdowm combobox and a textbox and a command button.
this is to add users to the combobox. you enter the name into the textbox and there ip in 4 other textboxes click the commandbutton and it is supposed to add that information to the combobox. To do soo im using the following command:
combo1.additem text1.text+text2.text
text1 is the name of the user.
the other 4 textboxes display the ip address.
the additem property works but it is supposed to just show the name in the combobox and remember the ip without showing it in the combobox too. even though that is the snmalles problem. i need this to work at runtime.
it works at runtime but when i reenter the program it lost all the data. now what i need is a code which makes the program remember what i added last time a ran it. All i know is that the data needs to be stored somewhere outside the programm but i dont know a code to make it do that.
It would be great if any1 could post a code to stor and retrive the data at runtime.
And if possible tell me how to make the combobox remember the ip without showing it under the additem property neyxt to the name in the combobox.
i hope the description of my problem is understandable.
thx in advance