Results 1 to 13 of 13

Thread: [RESOLVED] Calling a function and it's arguments

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member Jenova's Avatar
    Join Date
    Feb 2006
    Location
    Googleplex
    Posts
    413

    Re: Calling a function and it's arguments

    lol sorted.

    VB Code:
    1. Private Sub Form_Load()
    2.  
    3.     Dim handle As Integer
    4.     Dim file As String
    5.    
    6.     handle = FreeFile
    7.     Open "C:\Documents and Settings\Carl\Desktop\index.htm" For Input As handle
    8.         Do While Not EOF(handle)
    9.             file = Input(LOF(handle), #handle)
    10.             Text1.TextRTF = file
    11.         Loop
    12.     Close #handle
    13.  
    14. End Sub

    Thanks guys

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Calling a function and it's arguments

    You can now help us by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button which will let everyone know that you have your answer.

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