how to display an image in run time?
-
i m using VC# using smartphone 2003.one image is dispalyed as a back ground image and another image(Stretchimage) is displayed as a superimposed on the background Image. the stretch image should be displayed in run time only. direct path of the image should not be given. we declare in one variable(in that variable we have to give the path) and we call that variable whereever we want.
-
i m using VC# using smartphone 2003.one image is dispalyed as a back ground image and another image(Stretchimage) is displayed as a superimposed on the background Image. the stretch image should be displayed in run time only. direct path of the image should not be given. we declare in one variable(in that variable we have to give the path) and we call that variable whereever we want.
Hi Kmurthy , M sending u a solution modify it according to ur requirement. (C# Code) public void SetImagePathInPictureBox( string sImagePath) { Stream stream = new FileStream(sImagePath,FileMode.Open); Bitmap img = new Bitmap(stream); stream.Close(); this.m_PictureBox.Image = img; } I think this will reslove ur problem. Reply me and kindly see my problem and give me the solution for it with some working code. Thanks and Regards Gurbhej Kumar S/W ENGG.
-
Hi Kmurthy , M sending u a solution modify it according to ur requirement. (C# Code) public void SetImagePathInPictureBox( string sImagePath) { Stream stream = new FileStream(sImagePath,FileMode.Open); Bitmap img = new Bitmap(stream); stream.Close(); this.m_PictureBox.Image = img; } I think this will reslove ur problem. Reply me and kindly see my problem and give me the solution for it with some working code. Thanks and Regards Gurbhej Kumar S/W ENGG.