Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Studio LightSwitch Development
This is the forum to discuss the Wrox book Beginning Microsoft Visual Studio LightSwitch Development by István Novák; ISBN: 978-1-1180-2195-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Studio LightSwitch Development 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
 
Old November 25th, 2011, 09:13 PM
Registered User
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chap 9, CreateNewProject can't find "CodeControl"

When you run the example on page 258 for the CreateNewProject Method I am getting a run time error that the method can not find the "CodeControl" control?

I looked in the UI for a control for the "Code" data item - I assume that is the focus it is looking for but did not find it.

Ideas?
 
Old November 25th, 2011, 09:49 PM
Registered User
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I solved it. The name of the code control in the details panel was "Code1" not "CodeControl". Either I inadvertently changed its name or it was changed as an artifact of doing the exercises.

A good way to learn, fix bugs.





Similar Threads
Thread Thread Starter Forum Replies Last Post
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
Chap 15: Cookies / "Remember Me" Login sw02 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 August 12th, 2009 11:18 AM
"Add Variable" - Chap 14 ArtP2 BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 4 May 30th, 2009 04:02 PM
Chap 11: "Properties" function missing tomche BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 May 24th, 2009 09:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.