6/12/2023 0 Comments Wpf openfiledialog archive filterzip, so that its contents can only be read securely. zip, rather than navigating to that file itself, is so that I can add public/private key encryption to the. My reason for wanting to be able to open the contents of a. xls are not displayed in the OpenFileDialog). zip folder is not displayed there- only normal folders and PDF documents (other documents in that directory, such as. OFDlg.Filter = "PDF Documents (.pdf)|*.pdf|ZIP|*.zip" īut when I browse to the location of the. I now want to extend this, so that the user can open a ZIP folder containing a single PDF document, and display that PDF document in the same way that I am above. OFDlg.Filter = "PDF Documents (.pdf)|*.pdf" *Set filter for file extension and default file extension */ I am creating the OpenFileDialog and setting the file extensions it can open using: /*Create Open File dialog */ I have an application which currently provides the user with the ability to view a PDF file inside the application by using File->Open, browsing to the location of the PDF file using a, and then displaying that PDF file in a in the GUI.
0 Comments
Leave a Reply. |