Wrox Programmer Forums
Beginning Visual Basic 2012
This is the forum to discuss the Wrox book Beginning Visual Basic 2012 by Bryan Newsome; ISBN: 978-1-118-31181-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning Visual Basic 2012 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 March 19th, 2013, 04:50 AM
Registered User
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in code?

Referring to Beginning V B 2012. Page No 118. Try it out 'For Each loop' The given code not working. gives error as 'strFolder not declared'. I tried declaring it but If declared at the start of button click event (as in earlier examples), it gives another some error like 'the variable overrides earlier declared variable'. Can somebody please tell me the exact way to declare variable (strFolders in this case) in for each loop

PS. the downloaded code also does not work.

Old March 20th, 2013, 05:40 PM
Authorized User
Join Date: Jun 2012
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts

Can you please post your code here so we'll be better able to help you? Thank you.

Similar Threads
Thread Thread Starter Forum Replies Last Post
error in code pengzhixi BOOK: Professional Assembly Language 0 January 7th, 2013 10:19 PM
Error Code 1 unyth BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 1 February 19th, 2011 01:45 PM
error in code! sabra BOOK: Professional Java, JDK 6 Edition ISBN: 978-0-471-77710-6 0 June 7th, 2010 02:53 PM
Error in Code NadAf BOOK: Ivor Horton's Beginning Visual C++ 2005 0 February 18th, 2008 11:16 PM
Error displayed with error trap code stoneman Access 4 February 28th, 2004 02:53 PM

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