devxlogo

May 19, 2003

DeleteFileAssociation – Deleting a file association

‘ Destroy a file associationSub DeleteFileAssociation(ByVal extension As String) Const SHCNE_ASSOCCHANGED = &H8000000 Const SHCNF_IDLIST = 0 ‘ ensure that there is a leading dot If extension.Substring(0, 1) “.” Then