kantesh13
06-03-2004, 06:24 AM
Hello
I have created a windows application in which I want to place images.
The code is as follows
Bitmap left = (Bitmap)Image.FromFile(@"E:\Workspace\02-Jun-2004\WindowsApplication1\Images\new.jpg");
this.pbx3.Image=left;
Now I make this application as Smart Client and try to access from another machine. At this point it doesn't find the image directory in E drive and gives error.
How can I give the relative path?
Thanks
Kantesh Vernekar
:confused: :(
I have created a windows application in which I want to place images.
The code is as follows
Bitmap left = (Bitmap)Image.FromFile(@"E:\Workspace\02-Jun-2004\WindowsApplication1\Images\new.jpg");
this.pbx3.Image=left;
Now I make this application as Smart Client and try to access from another machine. At this point it doesn't find the image directory in E drive and gives error.
How can I give the relative path?
Thanks
Kantesh Vernekar
:confused: :(