Ok, I want to open a bitmap,
fileName = "somefile.bmp";
when i do above i get an illegal operation when program runs. please tell me where i am going wrong? and i set the file name from the file dialogue(even if i don't i get the same error).