VB_Alien
01-06-2008, 07:59 AM
I made a little chat program and all is working fine but i expect
trouble down the road with the string data that i want to hold.
How my program works is after a message window pops up, the
user on the other end types in their response and the message
window closes. All the message data i want to hold on to is in
a rich text box but when the message window is closed, all the
data is lost.
I was using a string variable to hold all the data in memory but
i was afraid that after a while the string would be to full to hold
any more data and then an error would occur.
Right now at this point, i thought about declaring a public variable
as a rich text box but the problem with that is that i need to set
that control so i would still loose my data.
I was just wondering if you guys have any better ideas on how
to hold string data in memory.
trouble down the road with the string data that i want to hold.
How my program works is after a message window pops up, the
user on the other end types in their response and the message
window closes. All the message data i want to hold on to is in
a rich text box but when the message window is closed, all the
data is lost.
I was using a string variable to hold all the data in memory but
i was afraid that after a while the string would be to full to hold
any more data and then an error would occur.
Right now at this point, i thought about declaring a public variable
as a rich text box but the problem with that is that i need to set
that control so i would still loose my data.
I was just wondering if you guys have any better ideas on how
to hold string data in memory.