hi, i am haveing trouble with my most recent program
when the program starts it adds a user inputted variable to a text box, which tranfers it to a list in a rich text box, which in turn saves it to a rtf file. the problem i has is that when the program has finished it needs to delete this variable from the .rtf file BUT the problem i am having is i am replacing the variable with "" and then getting it to run the same places as before, the problem with this technique is that it leaves a blank line which seperates any pervious data in the file from any new data.
i need a way to remove these blank lines so it will either not be saved as a blank line, or when the information is opened from the file the blank lines are not shown in the text boxes.
thnx in advance for your help
when the program starts it adds a user inputted variable to a text box, which tranfers it to a list in a rich text box, which in turn saves it to a rtf file. the problem i has is that when the program has finished it needs to delete this variable from the .rtf file BUT the problem i am having is i am replacing the variable with "" and then getting it to run the same places as before, the problem with this technique is that it leaves a blank line which seperates any pervious data in the file from any new data.
i need a way to remove these blank lines so it will either not be saved as a blank line, or when the information is opened from the file the blank lines are not shown in the text boxes.
thnx in advance for your help