HI all using the following code.
Works fine in the IDE but when i run the release version I get the following exception message.Code://Should just bring back my name from a config file try { string x =ConfigurationSettings.AppSettings["name"].ToString(); MessageBox.Show(x.ToString()); } catch(ConfigurationException ce) { MessageBox.Show(ce.Message); } catch(Exception ge) { MessageBox.Show(ge.Message); }
ANy help would be greatly appreciated!!Object reference not set to an instance of an object




Reply With Quote