Hello guys, this is a sample tutorial on how to load or integrate a .RTF file on your VB6
program, all you have to do is to Add a Components named Microsoft Rich Textbox
Control 6.0(SP6), like shown at the image below
just marked checked the square box the click Apply
just drag Rich Text box control on your form, like shown above
and the simple and basic code will look like this
End Sub
Note: Make sure that you can specified the correct Path or the folder Directory of
your .RTF file, to avoid hassle and errors on your side.
at this code i placed the code on the Form_Load event,but its up to you where do you
want to placed it.
Happy Coding ^_^
The Hardest Thing to Do is to Do Nothing ^_^
program, all you have to do is to Add a Components named Microsoft Rich Textbox
Control 6.0(SP6), like shown at the image below
just marked checked the square box the click Apply
just drag Rich Text box control on your form, like shown above
and the simple and basic code will look like this
Private Sub Form_Load()
RichTextBox1.LoadFile "E:\Projects\Thesis Backup\
SPC_Payroll System thesis final\help me.rtf", rtfRTFRichTextBox1.LoadFile "E:\Projects\Thesis Backup\
End Sub
Note: Make sure that you can specified the correct Path or the folder Directory of
your .RTF file, to avoid hassle and errors on your side.
at this code i placed the code on the Form_Load event,but its up to you where do you
want to placed it.
Happy Coding ^_^
The Hardest Thing to Do is to Do Nothing ^_^
Leave a comment