The file is surely not in the correct folder or it is misspelled.
See what this line will give you: msgbox app.path & "\myWebPage.htm"
>I have this code in a combo box change event
>
>WebBrowser1.navigate app.path & "\myWebPage.htm"
>the error is
>
>can not find path for myWebPage.htm
>
>how can this happens since I have the HTML file in my app folder?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com