Guys,

I have a main winform /exe project that has a string variable set as public on the main form. I then have a dll project that needs to see that string variable. How do I declare this so my .dll can see it ?


VB Code:
  1. Public Class C1SpellCheck
  2.     Dim C1Spell As C1.Win.C1Spell.C1Spell
  3.     Public Sub New()
  4.         C1Spell = New C1.Win.C1Spell.C1Spell
  5.         Dim CDFile As String
  6.         CDFile = 'GlobalVar here