I have used this technique before, and the previous forms I have made do work still, but for some reason whenever I try to open .pdf files with the webbrowser on a form now it crashes. In the attached file if you create a c:\test directory it should list the files in the test directory in the listbox when you select from the combobox, it then works to open jpg, xlsx, doc and whatever else is there except pdf files, when you select them from the listbox.
The attachment is a stripped down version of my working document, but it has the same issue.Book1.xlsm
Can anyone let me know why this might not be working, and whether you have the same trouble if you test the file?