5 Topics

Member Avatar for
Member Avatar for arjunpk

hi... i'm getting a null reference exception unhandled error..... i have inserted the code snippet and a screenshot... please tell me where i'm going wrong..... [CODE] DataSources[] dataSources; int i = 0; _list = doc.GetElementsByTagName("DataSource"); foreach (XmlNode tempNode in _list) { //MessageBox.Show(tempNode.Attributes["Name"].Value.ToString()); //MessageBox.Show(tempNode.InnerXml.ToString()); dataSources[i]=new DataSources(); dataSources[i].getContent(tempNode); i++; }[/CODE] the class …

Member Avatar for theepan1
0
202
Member Avatar for mrjimoy_05

Hi, why it's always got the error message said that "NullReferenceException Unhandled" ? Here is my code: [CODE] public partial class MainPage : PhoneApplicationPage { private FlashCard _flashCard; // Constructor public MainPage() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // This could go under somewhere like a …

Member Avatar for Momerath
0
124
Member Avatar for YodaMerlin

I am trying to make a program where there are several pictureboxes with different pictures. When i click on one, a new one forms at some location on the form. When i utilize the given code, t gives a system null reference, saying I need to add a "new" statement …

0
84
Member Avatar for zack_falcon

I'm a newbie C# programmer, and I would like to ask for help on this error. I was trying to get a button to change its image when it is clicked, a task that sounds so simple, I know, but whenever I run the program and click said button, it …

Member Avatar for Geekitygeek
0
207
Member Avatar for leroi green

Hello All, I've been working in a flash site for a couple days and i've gotten a couple errors as of late. Here are the errors: TypeError: Error #1009: Cannot access a property or method of a null object reference. at DefaultAEG_fla::MainTimeline/frame122() TypeError: Error #1009: Cannot access a property or …

Member Avatar for rajarajan2017
0
114

The End.