You're not getting runtime errors out of nowhere. What did you do? What happens first? Which lines causes the error? You can find it out all yourself by using the built-in debugger.
However, the "
Access violation when trying to read 00000028" sounds pretty much like calling an objects method without creating it first. The reference you're using simply does not point to an existing object.