Hi,
I'm having trouble opening a pdf (in a viewer) that I've added as a resource file.
I can open a file ok:
System.Diagnostics.Process.Start("MyPdf.pdf");
However trying to access it as a resource file I'm a bit stuck.
System.Diagnostics.Process.Start(TestApp.Propertie s.Resources.MyPdf);
The above line does not work as Process.Start() expects a string as an argument, whereas the resource is of type byte[]. Is there an alternative to Process.Start() that will open a file with it's default program? Or can I reference the resource file in a different way?
Any help is most appreciated,
Ben