TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
narasiman rao
NA
519
766.1k
how to get the filename using path in vb.net using c#
Nov 17 2014 5:26 AM
I am retrieving the drafts folder file name from c folder.
In c folder file as follows
C:\Drafts\AFF.htm.
for retrieving the filename code as follows in vb.net
Dim strpath As String = "C:\Drafts\"
Foldername = Directory.GetFiles(strpath, "*", SearchOption.TopDirectoryOnly)
When i run and debug in foldername path as follows
C:\Drafts\AFF.htm.
i have one label in that label i want to store the AFF name.
after 2nd backslash AFF is there.
i want to retrieve AFF after 2nd slash AFF is there.
C:\Drafts\AFF.htm
From the above path how to get AFF name after Back Slash.
for that how can i write the code in vb.net.
Reply
Answers (
1
)
(C#) How to capture video stream without using a third party
how can open two sql connectionString in online project