|
-
Mar 16th, 2009, 01:45 AM
#7
Thread Starter
Fanatic Member
Re: Help me to do this
 Originally Posted by josh.rice
Open the project references, then select microsoft Scripting Runtime.
This is the code to get only the filename:
vb Code:
Dim FSO as New Scripting.FileSystemObject
DIm x as file
Dim FilePath as string
FilePath = 'The path of the image
x = FSO.GetFile(FilePath)
msgbox x.FileName
disregard my 1st reply.. i already see it and i check it and press ok.
where do i put taht code to try your code
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
|