strangerules:
A D visa is a national visa where you are bound toa country and are not allowed to go to a different country.
I think this low is old, in fact national type D visas have always enabled passage through other Schengen countries for an amount of time necessary to transit, up to five days. This was in order to enable travellers to reach smaller Schengen countries going through other major destinations in the EU.
However, since April 5, 2010 the type D national visa also allows travel to other Schengen countries for up to 90 days within 6 months, the same as a residence permit.
source:
http://europa.eu/rapid/pressReleasesAction.do?reference=MEMO/10/111&format=HT%20ML&aged=0&language=EN&guiLanguage=enBut this is not the point, my point is can I go back to Germany (after my 6-month german visa expires) with my Swedish residence permit ( which expires in February 2013 ) and stay for up to 90 days ? ( considering the cicumstances that I had mentioned in my first post )