Add this method to the form source file.OpenFileDialog1.Filter = "PDF files|*.pdf|All files|*.*" OpenFileDialog1.Title = "Select a PDF file" Please change the license key.ĭoc = new PDFDocument("your-license-key") Modify the form initialization event hander as shown below.Add a PDFDocument component as a class variable.Switch to code view and set these imports.Otherwise, your changes to the database store will get lost every time you run the project, as a fresh copy of the database will be copied to your debug/release folder. If you have selected a flat-file database (an Access MDB file) as I have done, select the database in Solution Explorer and set its Copy to Output Directory property to "Copy if newer".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |