I have a path
image11 = new Bitmap(@"E:\C#\ControlsFromWithOfffice2007\ControlsFromWithOfffice2007\bin\Debug\OpenStreetMap I\15\26016\14426.png"); .I want to split specialy symbols "\"in my path .
Ex:
Bitmap(@"E:\C#\ControlsFromWithOfffice2007\ControlsFromWithOfffice2007\bin\Debug\OpenStreetMap I\"+"15"+"\"+"26016"+"\"+"14426"+".png");
But error.Can you help me,please???
Loading
toanhoi buiPosted Sep 23, 2010, 2:54 PM
Thanks,I done it.I used function Insert in to that string
Sam HobbsPosted Sep 23, 2010, 2:45 PM
toanhoi buiPosted Sep 23, 2010, 4:36 AM
Thanks,but I want to split the path.Ex I will define 26016 by my function
string a="26016";
image11 = new Bitmap(@"E:\C#\ControlsFromWithOfffice2007\ControlsFromWithOfffice2007\bin\Debug\OpenStreetMap I\15\a\+"14426"+".png");
But Error.Can you help me, please???
Manikavelu VelayuthamPosted Sep 23, 2010, 3:09 AM
test=@"c:\tEST\TEST.doc";
is same as:
test="c:\\tEST\\TEST.doc";