Why can’t I Shell a link?

Tags:
Visual Basic 6
Visual Basic program
I'm trying to create a program in Visual Basic 6.0 that can open links at the same time at one click of a button. My code looks like this: Private Sub OK_Click() Dim i As Integer Dim FileName As String For i = 0 To (File1(0).ListCount - 1) If (File1(0).Selected(i)) Then Shell (File1(0).Selected(i)) End If Next End Sub When I've marked a link in my FileListBox and press ok, it just says "Runtime Error 53: File not found", but my link is in the folder! What am I doing wrong?

Software/Hardware used:
Visuan Basic 6.0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: