Quote Originally Posted by ayahnabunda View Post
but it stores the whole path. like "C:/blabla/hkbkabek/a.jpg"
I just want the a.jpg. thanks for helping anyway.
use this code:

dim filnam as string = OpenFileDialog.SafeFileName