No - you will have to save your image resource to a file (e.g. into the Temp folder).
System.IO.Path.GetTempFilename can be used to generate a temporary filename and then My.Resources.MyImage.Save
thank you very much for your answare , this is the best solution form me.
This in my code now:
Dim s As String = System.IO.Path.GetTempFileName()
thank you very much for your answare, this is the best solution for me.
It's works perfectly now.