Results 1 to 2 of 2

Thread: One problem and one Question about Rich text box's!

  1. #1

    Thread Starter
    Hyperactive Member kourosh's Avatar
    Join Date
    Aug 1999
    Location
    Vancouver, British Columbia, Canada
    Posts
    256

    Post

    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.


    =============
    Kourosh
    VB Newbie
    =============

    [This message has been edited by kourosh (edited 01-31-2000).]

  2. #2
    New Member
    Join Date
    Feb 2000
    Posts
    15

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width