Please check your project references (VBA->Tools->References) and see if you have Microsoft Internet Controls is added in your project.

If it doesn't exist then please let us know which references you have.

Attaching your db here might help a lot (if not confidential).

Suat