How to get path of the image in the Resources?

Tenzen

Member
Joined
Aug 18, 2010
Messages
16
Programming Experience
3-5
How to get path of the image in the Resources?

I have function where in parametr I need to give bmp As String.
 
Image in resource is just an embedded image object, it doesn't have a file system path. Maybe you should just change the parameter to accept the image instead of the path?
 
It's API fuction. Definition is in references library...
Depends what you mean/intend, but if you need a file system path you need to save the image to file system first. Though you haven't really explained anything so I can't say if that is something you should do.
 
Back
Top