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
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.
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.