|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Image access problemI have a problem with image access. I load a file: MyBitmap = New Bitmap("test.jpg") After that the user presses the appropriate button in order to replace the image with a new one: MyBitmap.Save(LastPlayedGame & ".jpg", System.Drawing.Imaging.ImageFormat.Jpeg) The error message says that the the file is used by an other process?????? What should I do in order to release the file after loading the image? Aristotelis "Aristotelis Pitaridis" <pitari***@hotmail.com> schrieb: <URL:http://dotnet.mvps.org/dotnet/code/graphics/#ImageNoLock>> MyBitmap.Save(LastPlayedGame & ".jpg", > System.Drawing.Imaging.ImageFormat.Jpeg) > > The error message says that the the file is used by an other process?????? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thank's.
It was a bit difficult for me to understund it because it was in german but finally I made it work. Aristotelis Show quoteHide quote ? "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ???a?e st? µ???µa news:eGGn9xmpGHA.4932@TK2MSFTNGP05.phx.gbl... > > "Aristotelis Pitaridis" <pitari***@hotmail.com> schrieb: >> MyBitmap.Save(LastPlayedGame & ".jpg", >> System.Drawing.Imaging.ImageFormat.Jpeg) >> >> The error message says that the the file is used by an other >> process?????? > > <URL:http://dotnet.mvps.org/dotnet/code/graphics/#ImageNoLock> > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> "Aristotelis Pitaridis" <pitari***@hotmail.com> schrieb: Great -- VB.NET is the language everybody speaks in this group :-).> It was a bit difficult for me to understund it because it was in german > but finally I made it work. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> I am sure about this. I do not speak very good language. My native language
is Greek. Thanks again Show quoteHide quote ? "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ???a?e st? µ???µa news:%23lUftDtpGHA.4996@TK2MSFTNGP05.phx.gbl... > > "Aristotelis Pitaridis" <pitari***@hotmail.com> schrieb: >> It was a bit difficult for me to understund it because it was in german >> but finally I made it work. > > Great -- VB.NET is the language everybody speaks in this group :-). > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/>
Reading one record from an Access DB
Function 'GetData' doesn't return a value on all code paths... converting short to unicode without System.Text.UnicodeEncoding dataser design considerations ?Delegates and Interaces - similarities/differences? checking MP3 license How to find files in a directory Can I write and read a STRUCTURE to a file or to a Database??? Balloontip - tooltip add link Convert char array To byte array |
|||||||||||||||||||||||