-
Problem:
Hi, I have design a program which by cliking the open button and choosing a text file you should be able to open the file in the rich text box. But the program is when every i try to do that I get an error message.
I tried
form1.richtext1.loadfile (fleopen.path)
fleopen is a file list control. Well this doesn't work if you know how to make it work please help me. I have also tried other things like
form1.richtext1.filename (fleopen.filename)
or
form1.richtext1.filename (fleopen.path)
but it doesn't work.
Question
Is it possible to add a picture to rich text box??.
I really need some help please help me.
:confused:
=============
Kourosh
VB Newbie
=============
[This message has been edited by kourosh (edited 01-31-2000).]
-
try this:
If Right(fleopen.path, 1) = "\" Then
form1.richtext1.filename (fleopen.path & fleopen.filename)
Else
form1.richtext1.filename (fleopen.path & "\" & fleopen.filename)
End If