Dear Zulfi,<br><br>Well to start, you can't derive from anything in OnIntialUpdate(). Actually you can't derive from any function since derivation is a C++ compile time feature not a runtime feature. <br><br>So either you need to brush up on your C++ or your question is confusing. <br><br>If you wanted your view class to be derived from CHtmlView you should have done that in the 'App Wizard' steps. It can be done manually by creating a new class derived from CHtmlView and replacing it with your original view in the document template constructor in your application class's InitInstance(). If that last sentence is confusing then you probably are not ready to try that method yet, so hopefully you just started the project and you can start over and select CHtmlView in the App Wizard step.<br><br>Hope this helps<br>-pete<br><br><br>