title: variable is not declared it may be inaccessible due to its protection level
body: <p>My VB skills are not the best, and this problem has had me stumped for a few days.</p>
  
  <p>In the list of controls shown in Visual Studio that are not defined in the code behind, I can "mouseover" them and the tooltip text pops right up.</p>
  
  <p><img src="https://i.stack.imgur.com/W8y0Q.jpg" alt="popup"></p>
  
  <p><img src="https://i.stack.imgur.com/g5nht.jpg" alt="errors"></p>
  
  <p><img src="https://i.stack.imgur.com/eoNQx.jpg" alt="screenshot"></p>
  
  <p>Similar questions:</p>
  
  <p>This one had no solution - <a href="https://stackoverflow.com/q/21937998/153923">&#39;var_name&#39;is not declared. It may be inaccessible due to its protection level.&#39; in debug mode</a></p>
  
  <p>This one said the solution was in the web.config, but I don't understand where/how - <a href="https://stackoverflow.com/q/20386011/153923">BC30451: &#39;MailValidation&#39; is not declared. It may be inaccessible due to its protection level</a></p>
  
  <p>This one was a misspelled word - <a href="https://stackoverflow.com/q/12483579/153923">vb.net error: inaccessible due to its protection level</a></p>
  
  <h2>Update - Here is another problem that might be a clue to what my problems are:</h2>
  
  <p>In my <strong>Tools.vb</strong> module, I have a class to access LDAP.</p>
  
  <p>The namespace for the tools class is given in the <strong>login.aspx.vb</strong> code, yet login code does not recognize the tools class.</p>
  
  <p><img src="https://i.stack.imgur.com/TZvYC.jpg" alt="missing tools"></p>