The error I get is Win32Exception was unhandled "The system cannot find the file specified"

And I thought i did assign the file path as a string.
Dim filepath = "C:\temp\" & TextBox1.Text & ".pdf"

it works with the message box, it shows me that it has the file path as the correct location C:\temp\test6.pdf

Or maybe I'm not quite following you...

Thanks for your reply once again, it means a lot to me.