Results 1 to 3 of 3

Thread: gotta problem :s

  1. #1

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    I'll stick my neck out and say you need a rich text box if it is to display a text file.

    To load the textfile into the rich text box on demand:

    VB Code:
    1. Private Sub Command1_Click()
    2.   Me.RichTextBox1.LoadFile ("c:\tmp\test.txt")
    3. End Sub

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Or you can load a textfile into a basic textbox using:

    VB Code:
    1. Dim szLineInput As String
    2. Open "C:\Nucleus.txt" For Input As #1
    3. Do Until EOF(1)
    4. Input #1, szLineInput
    5. Text1 = Text1 & vbCrLf & szLineInput
    6. Loop

  3. #3
    Addicted Member Quintonir's Avatar
    Join Date
    Mar 2001
    Location
    The Netherlands
    Posts
    155
    hi, liquidor gain
    it's an animation (*.ani)
    is it possible to put it in a form ?

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