Hello, Good evening!
I am trying to validate my atachments in my system. In my program, there is an upload button, what I am trying to do is to validate it by not copying and saving the upload file once it already exists in the database.....
HERE IS MY CODE:
If System.I.O.Exists(FileToCopy)=True Then
System.I.O.File.Copy(FileTo Copy, NewCopy)
Else
MsgBox("File already exist")
but it is not working, any file uploaded eventhough it is not yet existing in the database is not saving...
.....Hope you could help me in this dilemma...