We had problems with our dog also. He used to pee or poop inside of our house all the time when left alone. Both my husband and I work a lot and had no time to take our Pringles to dog training classes. We asked one friend who works in foster care (he is always surrounded by dogs) what we should do. He has recommended me this
http://bit.ly/1Tm6XWg online dog trainer. . It's cheap but it delivered the needed result, we are not ashamed to invite some guests over anymore.