Hello I’m newer in VB net and in WinForms so maybe my question will seem naive.
I am using .net2.
I need to upload a file to the WinForms application and store it in specific folder.
In Web application I implemented it with help of the fileUpload Control.
Any idea how can I implement this in a WinForms application?
Your question is confusing because you mentioned uploading whih would indicate transfer to/from an internet location but in your comment it appears you just want to copy a file from the desktop to the D drive.
This code should do what you want:
Note: You can use the same code to copy a file in a web application you do not need to use a FileUpload control