The OpenFileDialog returns the full path of the selected file from its FileName property. Exactly how you then open that file is up to you. It's just a path in a String, so you can do whatever you like with it. If you just want a FileStream you can call the OpenFile method of the OpenFileDialogue. Otherwise it's up to you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.