Cymru
Apprentice

I'm trying to get a simple code working. This is what I have up to now. Oh and I use C# and VB.NET so I hate VB6 and can never get it to work...
Private Sub Form_Click()
Dim Start As Label
Start:
If Dir("C:\notepad.txt") Then
Shell ("C:\notepad.txt")
Else: Form1.Caption = "failzorg"
End If
End Sub
Can someone tell me what is wrong, and give me a working script?
(this gives an error: type mismatch, but I also get other errors all the time).
It's like 7 lines of code, so can someone just fix it please?
THANKS
Private Sub Form_Click()
Dim Start As Label
Start:
If Dir("C:\notepad.txt") Then
Shell ("C:\notepad.txt")
Else: Form1.Caption = "failzorg"
End If
End Sub
Can someone tell me what is wrong, and give me a working script?
(this gives an error: type mismatch, but I also get other errors all the time).
It's like 7 lines of code, so can someone just fix it please?
THANKS

