Hi! I would like to know when I should use present perfect tense and presennt perfect continuous

For example, what's the difference between :

She has worked for two hours/ She has been working for two hours.

I have promised him to take his family to my house.

I promised him to take his family to my house.
Hi! I would like to know when I should use present perfect tense and presennt perfect continuous – It is not so simple, but...

She has worked for two hours - She may still be working or she may be finished now.

She has been working for two hours. – She is still working now.

I have promised him that I would take his family to my house.-- I promised in the recent past.

I promised him that I would take his family to my house.-- I promised at some unspecified past time.
Thanks! So if I'm sure the day it was yesterday.

Then I HAVE TO use" I promisED him that I would take his family to my house yesterday."?

And about " have promised" the action must happen in the RECENT time?

but "yesterday" doesn't equal "recently"?
Site Hint: Check out our list of pronunciation videos.
Thanks! So if I'm sure the day it was yesterday. Then I HAVE TO use" I promisED him that I would take his family to my house yesterday."?-- Do not confuse grammar with real life. It makes no difference if 'you are sure it was yesterday', but if a definite past time is mentioned in the context or sentence, then you should not use present perfect.

And about " have promised" the action must happen in the RECENT time?- No, but that is the most common use. I said this was not so simple. Why don't you read about the present perfect [url=http://web2.uvcs.uvic.ca/elc/studyzone/410/grammar/pperf.htm ] HERE[/url]?

but "yesterday" doesn't equal "recently"?-- Not if you say 'yesterday'.
Thank you SOOOOOOOOOOOOOO much, tr. mister micawber.

That site was extremely helpful!

I understand completely now!!

Thank you again!!