I have a big circle and a small circle inside the big one.
Now i want to make a motion to small circle so that it will moves with the boundry of the big circle inside or outside boundry.
So in fact, this question has nothing to do with rotating a shape - correct?
As for how, I'd say all you need to do is make sure that the Distance between the two centre-points plus the radius of the smaller circle doesn't exceed the radius of the larger one.
Pythagorus' theorem will give you the distance, and presumably you already know the radii, from drawing the circles.
Can you please explain in more detail what you mean by "move with the boundary of the big circle inside or outside boundary"? Also, what version of VB are you using?