|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Mail attachment maintains lock on file after sendingI am trying to attach a file, mail it then open it in a stream after to do
something else, but if you put the mail procedure first it locks the file and the lock isnt released... because the next procedure to open a stream crashes with an IOException saying its already open or locked... why doesnt net.mail.mailattachment(filename) then a smtp client send message that its attached to close the lock on the file after send? freaky indeed...I hope someone comes to our rescue...
Show quoteHide quote "Smokey Grindle" <nospam@dontspamme.com> wrote in message news:uBuXeubjHHA.4064@TK2MSFTNGP02.phx.gbl... >I am trying to attach a file, mail it then open it in a stream after to do >something else, but if you put the mail procedure first it locks the file >and the lock isnt released... because the next procedure to open a stream >crashes with an IOException saying its already open or locked... why doesnt >net.mail.mailattachment(filename) then a smtp client send message that its >attached to close the lock on the file after send? > > >
is there a control that displays a multi-column array of rectangles
Talking with USB GPS in VB.Net Is This Overkill? Designing Email Msg. Listing properties of an object Checking db connection open status Datagrid Multiple Select Help Converting Some C# Code to Visual Basic... Database Connection Speed Issue. I'm stumped! Versioning problem |
|||||||||||||||||||||||