|
-
Sep 18th, 2004, 06:16 PM
#1
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|