How to set global variable value from class level variable in Vb.net
<p>In my vb.net application that is have multiple project working together. I'm using <code>flag</code> as a global variable that can be accessible throughout the application but having problem. I have another flag named variable in another module and I want to assign flag value with another flag.</p>

<p><strong>Project 1</strong></p>

<pre><code>Module Abc
    Public flag as String = "Hello"
End Module
</code></pre>

<p>and another flag variable is in another project.</p>

<p><strong>Project 2</strong></p>

<pre><code>Module Pqr
   Public flag1 as String = flag
End Module
</code></pre>

<p>But it is giving error that </p>

<blockquote>
  <p>Abc is not declared or inaccessible due to its protection level.</p>
</blockquote>