Mickeys
asked on
Open a image
I use this
Bitmap backgroundImage = new Bitmap(Directory.GetCurren tDirectory () +"\\images\\" + "player1_back_hit.gif");
drawingSurface.DrawImage(( background Image), location);
but my //image// is here
"C:\\Documents and Settings\\MFL\\Dokumenter\ \Visual Studio 2008\\Projects\\Black_Jack \\Black_Ja ck\\images
and hte Directory.GetCurrentDirect oy() is here
"C:\\Documents and Settings\\MFL\\Dokumenter\ \Visual Studio 2008\\Projects\\Black_Jack \\Black_Ja ck\\bin\\D ebug"
So my question is. How can I make it open in the correct directory?
Bitmap backgroundImage = new Bitmap(Directory.GetCurren
drawingSurface.DrawImage((
but my //image// is here
"C:\\Documents and Settings\\MFL\\Dokumenter\
and hte Directory.GetCurrentDirect
"C:\\Documents and Settings\\MFL\\Dokumenter\
So my question is. How can I make it open in the correct directory?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.