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
Rashid Khan
NA
159
0
How to delete Image form Folder which shown in picture box?
Mar 1 2017 7:13 AM
I have form where I can select Data to edit or delete. and picture shown on the form in picture box . trying to delete image so that user can upload new image. All time getting
The process cannot access the file '.....\601.jpg' because it is being used by another process.
tired so far: Image object set dispose on delete button. PictureBox set null.
try to closed the file but same issue
FileStream oFileStreamDec = new FileStream(imgpath, FileMode.Open, FileAccess.ReadWrite, FileShare.Delete);
oFileStreamDec.Close();
sometime it delete file don;t know how but mostly giving error
can someone please helpme out from this
may be i m not clear in my word but please help
Reply
Answers (
4
)
need sum of cash and sum of cheque
Edit and delete operation with two button in datagridview