I just tried and my this.Application doesn't match with the MSDN documentation, i.e. several documented properties and methods are unavailable. From InfoPath 2007, I picked Tools/Programming/Loading Event, which opens VSTA (VS2005). When I inspect this.Application, I only get these:
Properties:
- Environment
- Name
- User
Methods:
- Equals
- ...