The problem with trying to use Vaseline for this purpose is that EVERYTHING sticks to it, and pretty soon you've got a solid line of disgusting dirt everwhere you've smeared it. Which, by the way, the ants will just merrily waltz across. And it's a bitch to get off painted surfaces.