cant write file to hard disk in vb.net

后端 未结 2 905
忘掉有多难
忘掉有多难 2021-01-17 06:52

Hi I checked All Questions Present here did not helped me so I asked

Ok here we go

I try to copy file from \"Resources\" to \"C:\\Test\" Folder does not work

2条回答
  •  日久生厌
    2021-01-17 07:33

    You need to specify the filename in the path. And also, you need to convert the file from resource to Bytes array. Because that's what the WriteAllBytes() function would be expecting

    Do a search in Google.

提交回复
热议问题