Results 1 to 9 of 9

Thread: Runtime Error '55':[Resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2004
    Location
    uk liverpool
    Posts
    238

    Runtime Error '55':[Resolved]

    HI.

    If i double click the cmdDisplay button i get the error below.

    Runtime error '55': File already open

    Code:

    Private Sub cmdDisplay_Click()

    Dim nom As String, phoneNum As String
    picNumbers2.Cls
    Open "C:\PHONE.TXT" For Input As #1
    Do While Not EOF(1)
    Input #1, nom, phoneNum
    picNumbers2.Print nom, phoneNum
    Loop
    End Sub
    .............................................................................

    Can i prevent it being double clicked ..?

    Thanks

    Paul
    Last edited by whothis; Sep 19th, 2004 at 02:25 PM.

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