Looking at the
various questions you've posted[
^] on this subject, you going to need to do some research
You've been provided a link to
ActiveLock[
^] in one of your earlier question, was that no good?
Also, not being funny - but if you're struggling to send an email in VB6, you really don't need to worry about people wanting to steal your code.
:)