richtextbox------its urgent

S

Sakharam Phapale

Tulasi,

As per my understanding
To save the controls data into file, place control data in RichTextBox as
following statement
myRichTextBox.Text = myTextBox.Text & vbcrlf & myComboBox.Text

you can save the controls data by following statement.
MyRichTextBox.SaveFile ("C:\myTest.rtf")

Data can be loaded from file into RichTextBox control by following
statement.
MyRichTextBox.LoadFile ("C:\myTest.rtf")

Then load data into TextBox and ComboBox from RichTextBox control

(To place controls data into RichTextBox and load the controls from
RichTextBox you can use your own format, so that you can differentiate data
i.e TextBox and ComboBox)

Hopes this will help

Sakharam Phapale
 
T

tulasi

I am placing textbox controls and combo box controls on richtext box and 2
command buttons on form control.
after executing the application i'll place some text into textbox controls
and select a value from combo box after entering of all the details i'll
click on one of the command buttons then it will save the contents of the
controls which i placed on the richtextbox into a file then i'll click on
another command button so it will display the contents which i had saved.
Is it possible to save the controls data which i placed on the richtext
box.
Plz tell me its verry urgent.
if it not possible tell me alternative solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top