I am in wonder.
I just make a slideshow form and add the context menu strip as when the user click on download image then current image get copy and paste on the desktop.

I use path and destination method in this
but they say bitmap cannot be converted into the string.

Original Code:

Dim Path as string = "Path directory" } `my.resources._1`
Dim destination as string = "Detination Directory"
If File.Exists(path) And Not File.Exists(destination) Then
File.Copy(path, destination)

Replace code (try):

Dim Path as bitmap = "Path directory"  } `my.resources._1`
Dim destination as string = "Detination Directory"
If File.Exists(path) And Not File.Exists(destination) Then
File.Copy(path, destination)

Please help me as fast as possible

Just use the my.Resources._1 call to get the path:

   Dim sDest As String = My.Computer.FileSystem.SpecialDirectories.Desktop
   My.Resources._1.Save(sDest)

@Begginner Dev:

it saying GDI+ Error:
Please see the Image

cf6838371878a68acbecbcb3d202f09d

Oh boy! GDI+ error! Love GDI+ generic errors! (rolls eyes)

What does veiw details say?

if possible then can you please create this portion project.
And send me that file from Files.
so that I can understan the codes as well as the full project.

I am not able to know what that says me after clicking (View Details)

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.