1. One of your references has a button, if clicked it fixes the registry, how easy can that be? I did what they suggested manually also, but the warning still there.
2. In my app there is a form that opens external videos through an attachment, there is no warning there. But the user first opens the attachment page and then select the video.
3. I would like the result after clicking the button the video clip must instantly start.
4. The code in blue is where I tried to do what you suggest, the call from the form. The code in red is on the module. The text field is named "Rocky". The button named "btn23".
5. Most buttons are set up like this, but the warning message is showing.
6. When I click on the button now, the error is "Bad file name or number". Maybe I save the name wrong in the text field? See the third image. That is where the clip is stored.
Code:
Private Sub btn23_Click()
OpenTutorial23 Me.Rocky.Value
End Sub
Code:
Sub OpenTutorial23(tutName23 As String)
If Len(Dir("D:\VideoClips" & tutName23 & ".mp4")) = 0 Then
MsgBox "No Video clip linked."
Else
FollowHyperlink "D:\VideoClips" & tutName23 & ".mp4"
End If
End Sub