Wrox Programmer Forums
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 11th, 2004, 12:43 PM
Friend of Wrox
Join Date: Jul 2003
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default Compile Bug

When compiling the current application I'm working on (and have been working on for some time), I regularly get an error of the kind 'btnInitialise is not a member of frmInitialise' - which seems to be a problem with scopes, because said button does exist, just declared as 'Private'. If I change the scope to 'Public' or 'Friend', recompile, then change the scope back to 'Private' and recompile, it works fine. It happens just on this button - although before now it occured on a specific function which I had to do the same procedure on to get it to compile.

Anyone else get this problem, or am I just weird?

Old March 11th, 2004, 04:35 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts

I don't know you well enough to decide if your weird.

I'd delete it all together. Recompile. Save. and then re-add the button. Kinda like getting out of the car and getting back in to fix it :)

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
Old March 15th, 2004, 04:47 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

I have seen similar things in visual studio.net. Usually happens when I have a complex project or other things clogging the memory. I usually resolve it by closing the solution and/or restarting VS.

Work smarter, not harder.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug Base jackandjo BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 January 22nd, 2008 02:31 PM
ANOTHER Bug - Ch 7 Johnslg BOOK: Expert SQL Server 2005 Integration Services ISBN: 978-0-470-13411-5 1 August 30th, 2007 10:00 AM
Bug or no to bug learning C using VS.Net to compil tesh All Other Wrox Books 0 February 14th, 2007 01:06 PM
<link> statement - compile failure to see bug VictorVictor BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 April 18th, 2006 02:26 PM
Bug happens guoqi BOOK: ASP.NET Website Programming Problem-Design-Solution 0 October 13th, 2003 01:35 PM

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