Abdul Hayee
Member
- Joined
- Mar 31, 2020
- Messages
- 24
- Programming Experience
- Beginner
Hi
I want to open a pdf file when i click a particular button/link.
Currently i have done this by placing the pdf file in my project folder. like as
and code for this is
This is working fine.
Now what i want is to place all the pdf files in a folder name "documents" which is inside the project folder
My question is what should i change in the code to open a file from document folder?
I am doing this because first my files will be seperate from project files and secondly when i create exe file for the project all these pdf files will be included in the project.
Thanks.
I want to open a pdf file when i click a particular button/link.
Currently i have done this by placing the pdf file in my project folder. like as
and code for this is
This is working fine.
Now what i want is to place all the pdf files in a folder name "documents" which is inside the project folder
My question is what should i change in the code to open a file from document folder?
I am doing this because first my files will be seperate from project files and secondly when i create exe file for the project all these pdf files will be included in the project.
Thanks.