|
hi all, i am having a problem in adding the image files to project namespace. I m trying to do this like........ Step 1:Going to add exsisting item menu. Step 2:Then browsing to the file that i want to add and simply adding it. But when i m trying to read this file by this method------- Assembly myAssembly = Assembly.GetExecutingAssembly(); Stream myStream = myAssembly.GetManifestResourceStream("namespace.filename.fileExtension"); img = new Bitmap(myStream); i get null in myStream. i think there is some other way to add files to the namespace of the project because previously i have added some files and the same method is working for those files. Anybody knowing the answer please help. regards, Madhup |