Additionally, you have created multiple topics in multiple forums regarding the same issue. I would ask that you stick to one post regarding your issue - this will better help others keep your answers in one place.
Regarding your issue - if you are trying to access posts through the querystring, and getting object errors, you most likely don't have all your references in place. You will need the source code to YAF (downloadable via the
CodePlex repository ). I would start by going through the code in posts.ascx, posts.ascx.cs, and so on. That file is what renders the post listing for a thread. Unless you are trying to display YAF code in custom pages, why can't you just use the existing YAF pages and send the URL to them as YAF does?
If you can't find it using the forum search, try my signature link -- searches this site using Google:
Google is my Friend