|
-
Nov 11th, 2015, 09:54 AM
#6
New Member
Re: [2005] get the filename only from the open file dialog
 Originally Posted by ayahnabunda
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|