Click here to Skip to main content
15,888,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have webbrowser in my program and navigateed pdf files , when exit from program viewed error : file is open

preview exit used webbrowser.dispose but viewed error
please help me
Posted
Comments
Karwa_Vivek 20-Jun-11 6:03am    
Most probably It Seems Your
pdf file is not Closing
after you dispose the webbrowser..

1 solution

Try navigating to a blank page (about:blank) before disposing.
 
Share this answer
 
Comments
Member 1524701 20-Jun-11 23:56pm    
view1.Navigate("http://localhost/")
view1.Navigate("about:blank")
view1.Dispose()
but not work view error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900