You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am studying the book "Beginning Visual Basic 2005". I have 3 squiggle underlines in the code indicating the errors. The errors are all 'Not Declared'.
1) page 254 bottom of page: [u]newToolStripItem</u>_[u]Click</u>(sender, e)
2) page 260 bottom of page: [u]tspFormatting.Visible </u>= True
sjar, if the code in point 2) is as you've spelt it, I believe the spelling of the 'visible' property is, as I've spelt it i.e. VISIBLE. I don't know if this helps as I'm learning V.B. 2005 myself, having worked with V.B.6 for years. Liam.
Please verify the names of the controls that you have in code by clicking on the controls in the Form Designer and then verifying the name in the Properties window.
Thanks for the info, I found my errors on page 260 I had tsbFormatting as tspFormatting my error and the first on page 254 I had newToolStripItem_Click and it should have been newToolStripMenuItem_Click again my error.
I'll get a cup of coffee before I go to the forum again.