|
-
May 10th, 2003, 09:29 PM
#1
Thread Starter
Lively Member
Runtime error 5
Can anyone tell me why this code would cause a Runtime error 5 on some PCs, but not on all. One system running XP HOME gave me this error, another system running ME ran fine and my system XP PRO also ran fine.
Private Sub Command2_Click()
'Save password START
Open "C:\Program Files\test\password.ini" For Output As #1
Print #1, Text1.Text
Close #1
'Save password END
Dim password As String
password = Text1.Text
' Open Explorer START
Shell ("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://yahoo.com"), vbMaximizedFocus
' Open Explorer END
'Enable Continue Button
CommandButton1.Enabled = True
End Sub
Thanks
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
|