Shawn,
On which line of your code, exactly, are you getting this error? If it's in the line referencing this.oCompany, I would agree with the others -- you haven't instantiated the object you're storing in that field.
When you say that you're typing this.oCompany and Intellisense kicks in, displaying methods, etc. are you saying that happens in design mode or runtime?
Keep in mind that at design time, Intellisense is basing its list on the fact you've most likely defined your oCompany field as type Company -- and populates the list from the assembly that contains that class definition. It has nothing to do with instantiation at runtime... you still have to populate the field with an object reference.
Hope that helps,
---J
>I keep getting this error and i can't make any sense from it.
>I have reviewed the line in error and it makes no sense to my why it is saying this :
>"Object reference not set to an instance of an object."
>
>
>P.S. if i do :
>this.oCompany the intellisense picks up the object and its methods