| Access denied error when resizing a HTA |
|
| Written by Winfred DeKreij | |
|
When I resized a HTA with the following code: Sub Window_onLoad I came across the following error: Access Denied This was due to a timing issue when loading the file. The Window_onLoad tries to change a property of the HTA, while the HTA is not completely loaded yet. You can solve this problem by adding a short timeout like this: Sub Window_onLoad The last "500" here is the time it waits before executing the code. Image of the error message:
Comments (1)
windows vista ultimate x86 sp1 integratedblank white jigsaw puzzles for printerfree online advanced level math worksheetsH&R TaxCut Home and Business 2007 (US Only)BreakPoint Hex Workshop 6.0Plato DVD to 3GP Converter 7.8robert william painted wine glasscarrot styx rod blanksblank rome law firmJoboshare DVD Copy 2.7Autodesk AutoSketch 9.0spawning salmon printWinsor Computing Hex Toolbox 2.3 Add your comment |
http://technet.microsoft.com
KB904947
MS recomend use IHTMLWindow2, but I dont know how it use in HTA