rich edit box
-
hi, i havea rich edit box...i wanan save its contents to a random access file and then retieve it back... i know how to save a normal edit box's contents... but i cant save the contents of a rich edit box... can someone help with codes or an example of HOW TO SAVE AND RETRIEVE back the contents of a rich edit box thru RANDOM ACCESS FILE?? tks a lot...:) Have a Super Blessed Day! ------------------------- For God has not given us a spirit of fear, but of power and of love and of a sound mind. 2 Timothy 1:7 "For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life." John 3:16 "Therefore you also be ready, for the Son of Man is coming at an hour you do not expet." Luke 12:40
-
hi, i havea rich edit box...i wanan save its contents to a random access file and then retieve it back... i know how to save a normal edit box's contents... but i cant save the contents of a rich edit box... can someone help with codes or an example of HOW TO SAVE AND RETRIEVE back the contents of a rich edit box thru RANDOM ACCESS FILE?? tks a lot...:) Have a Super Blessed Day! ------------------------- For God has not given us a spirit of fear, but of power and of love and of a sound mind. 2 Timothy 1:7 "For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life." John 3:16 "Therefore you also be ready, for the Son of Man is coming at an hour you do not expet." Luke 12:40
what i mean is when we save a piece of text we save it with the help of a record no. in a random access file.... put ... ... ... ... somethig like that.... so when we retieve... we can use that record number to retieve what was saved.,... in case of rich edit box...were is the record number??? if rich edit box is just ONE OF THE THINGS that is saved inside a random access file.. then how do i make sure that i get the contents of the rich edit box when i retieve it and not anything else????? tks... Have a Super Blessed Day! ------------------------- For God has not given us a spirit of fear, but of power and of love and of a sound mind. 2 Timothy 1:7 "For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life." John 3:16 "Therefore you also be ready, for the Son of Man is coming at an hour you do not expet." Luke 12:40
-
what i mean is when we save a piece of text we save it with the help of a record no. in a random access file.... put ... ... ... ... somethig like that.... so when we retieve... we can use that record number to retieve what was saved.,... in case of rich edit box...were is the record number??? if rich edit box is just ONE OF THE THINGS that is saved inside a random access file.. then how do i make sure that i get the contents of the rich edit box when i retieve it and not anything else????? tks... Have a Super Blessed Day! ------------------------- For God has not given us a spirit of fear, but of power and of love and of a sound mind. 2 Timothy 1:7 "For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life." John 3:16 "Therefore you also be ready, for the Son of Man is coming at an hour you do not expet." Luke 12:40
Joseph R. Thomas wrote: if rich edit box is just ONE OF THE THINGS that is saved inside a random access file.. then how do i make sure that i get the contents of the rich edit box when i retieve it and not anything else????? You always put it a the exact same place in the file, so that you know where it will be, and then you put something at the end of the rich text section to tell you where it stops, or you tell at the beginning of the section how long the section is so you can tell where it stops. :)
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
Joseph R. Thomas wrote: if rich edit box is just ONE OF THE THINGS that is saved inside a random access file.. then how do i make sure that i get the contents of the rich edit box when i retieve it and not anything else????? You always put it a the exact same place in the file, so that you know where it will be, and then you put something at the end of the rich text section to tell you where it stops, or you tell at the beginning of the section how long the section is so you can tell where it stops. :)
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhicoul du gimm an example or something please??? i have been trying and have been unsuccessfull all the way...:(:confused: what if i have to write in a string then a type then a Rich edit bx content..??? i cant seem to make it work...:( tks a lot.. Have a Super Blessed Day! ------------------------- For God has not given us a spirit of fear, but of power and of love and of a sound mind. 2 Timothy 1:7 "For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life." John 3:16 "Therefore you also be ready, for the Son of Man is coming at an hour you do not expet." Luke 12:40