I am trying to figure out some code that I am maintaining. Basically there is a line of code which appears to open an xml file and store it into a Stream object "s". When I step into the code the variable s come back with a value of "Nothing". The code I am talking about is at line 10 below. Can someone help me out here?
also, I am not sure if the file XMLController is not being found when the code executes. I have tried these two different things but I still am getting a value of "Nothing" when I trace past line 10.
A Placed the file XMLController.xml into the root folder of my laptop C:\
B I have tried specifying the path to the file : GetManifestResourceStream("C:\MyProject\XMLController.xml")
10 Dim s As Stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("XMLController.xml")