Error in the book by Jeff Web for MCAD-Developing Web Applications(Exam 70-305,70-315

Discussion in 'MCAD / MCSD / MCPD' started by Sony, Aug 25, 2006.

  1. Sony

    Sony Bit Poster

    11
    0
    2
    Hey guys,
    I came across this small error which I wanted to share with you all..in the book that I have mentioned in the Subject Line-Page Number 310(the first example of exception handling) ..
    In the try block it says: save the file and then add it to the listbox.
    But if an UnauthorizedAccessException occurs then the statement : lstFiles.Items.FindByText(strfilename).Selected=true;
    displays an error saying object reference not set to an instance.
    Thats bcus we havent set the listbox value before saving the file !!
    Who so ever is using this book and is preparing for MCAD 70-315...Can you please tell me if there is a discussion group which exists which communicates on some topic every say 2-3 days in a week ??

    Thanks
     
  2. JonnyMX

    JonnyMX Petabyte Poster

    5,257
    220
    236
    Every single text book I used for my MCSD had errors in.
    It was actually a good practice to spot them and correct them.
    Started me thinking that they may have been deliberate...
     
    Certifications: MCT, MCTS, i-Net+, CIW CI, Prince2, MSP, MCSD

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.