Public variables are public only in project, in which they are declared. One exeption from this are public variables, declared in class modules or ActiveX control. In all other cases you cannot use public variables from .EXE in another .VBP. To use them, create project group from two .VBP (this, from which are compiled .EXE, and this, in which you want to use public variables).
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...