[Emulator VS 2005 Beta 2] Loading a image file
I truy to disp a imaeg file into the emulator. I launch the emulator connect to it via the Visual Stuido Remote Tool then i download a jpg file right in the exe folder.
In my code i write this :
Bitmap bmp =newBitmap("\\Storage\\Program Files\\CSWinTelecopie\\chronos.jpg");Rectangle srcRect =newRectangle(0,0,bmp.Width,bmp.Height); e.Graphics.DrawImage(bmp,this.ClientRectangle, srcRect,GraphicsUnit.Pixel); |
I get an error :
Error 1 Deployment and/or registration failed with error: 0x80070020. Le processus ne peut pas accder au fichier car ce fichier est utilis par un autre processus
Conman HelpText SystemIn fact the error comes from the bitmap creation oO
What's wrong whith that code ?
Thanks

