Detected on open means it was detected after the .dll was initialized. Also AVG is a terrible A/V.
And check to see if the file is still in that directory, if it is then it's keeping your A/V from getting rid of it, but it is possible that AVG just deleted it itself.