No, although both these things are called 'herpes', they are viruses of a different nature and are unrelated in their cause. Cold sores 'herpes' you either have or dont have, whereas the other kinda herpes you can pick up from other people... Ive been suffering from cold sores for as long as I remember myself, and got very curious as to what and how and why, and this is what all the doctors told me...
Ive heard the coffee cure, but never actually tried it..I usually get the horrid little things after Ive been ill, and am therefore prepared :) Zovirax is great if you manage to catch the cold sore when its just beginning to appear and sort of itch on your lip, and after that its pretty much useless. You might think me mad, but if i get them and miss the Zovirax stage, I use toothpaste...Just a bit, overnight, to dry it up...It helps :)