prevent dropping on lnk files
This commit is contained in:
parent
13da51251d
commit
526157b016
@ -39,6 +39,16 @@ Public Class ClassFilehandle
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If filename.ToUpper.EndsWith(".LNK") Then
|
||||||
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
|
MsgBox("Verknüpfungen können nicht abgelegt werden!", MsgBoxStyle.Critical, "Global Indexer")
|
||||||
|
Else
|
||||||
|
MsgBox("Shortcuts cannot be droppped!", MsgBoxStyle.Critical, "Global Indexer")
|
||||||
|
End If
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
Return Insert_GI_File(filename, handletype)
|
Return Insert_GI_File(filename, handletype)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox("Unexpected Error in Decide_FileHandle: " & ex.Message, MsgBoxStyle.Critical)
|
MsgBox("Unexpected Error in Decide_FileHandle: " & ex.Message, MsgBoxStyle.Critical)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user