Go to Project->References and select 'Microsoft Active Server Pages Object Library'.
Then you can declare OnStartPage and OnEndPage methods (in class module) :
for 'How to use OnStartPage/OnEndPage methods in VB' articleHow to convert http date to OLE(VB/VBS) date.ASP (VBS) function converting http string date (like Fri, 22 Oct 1999 12:08:38 GMT) to DATE data type.
Copyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/ are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
2. Link this sample from you page.
<A Href="https://www.motobit.com/tips/detpg_VBOnStartPage/" Title="Using OnStartPage/OnEndPage methods in VB" >How to use OnStartPage/OnEndPage methods in VB</A>
© 1996 - 2014 Antonin Foller, Motobit Software | About, Contacts | (Find us on Google+)