williams1987 0 Newbie Poster

Hi,

I am trying to create a function on my form, which allows the user to browse for any files, select which one they want, upload it to the windows form. Then later on when they click a submit button the files which have been selected will be uploaded(copied) to a drive location on a network.

I have tried using

My.Computer.Filesystem.CopyFile

along with OpenFileDialogs, but i am stuck.

Or even better would be a way to embed a file into the form, such as when you use the:
Insert > Object > from file. Option in excel. (im not sure if that is possible though)

Can anyone help me out here, or maybe point me in the right direction.

Cheers

Mike

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.