About 3 mins old
So please forgive me if i do anything wrong
Basically i'm making a program for shortcuts. And the code i'm using is
Private Sub Command2_Click() If My.Computer.FileSystem.FileExists("Form2.text1.text") Then MsgBox ("File found.") Else MsgBox ("File not found.") End If End Sub
the text of text1 is the directory of the file,
And i once got this code working. but i tried it again and it failed.
If it had anything to do with my OS it's windows 7 ultimate 64-bit.
If you need any more information please just ask.
I'll gladly replay.