I want to create a windows form containing a linklable such that when user clicks on that linklable, a file with some format(for example a pdf file or html file) which is added to resources,opens. it will not be opened in form,it means the file will be opened out of program with adobe reader or another program. How can I do this? Thank you
You'll have to extract this file from resources (I'm assuming we're talking assembly-embedded resources here) to %temp%
and then just Process.Start()
it. Make sure extracted file has proper extension, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With