Hi,
Just place it in the general declarations part of the module.
Module appMain
Public name As String
Public Sub main()
Application.Run(New Form1)
End Sub
End Module
Ken
---------------
"jcrouse" <an*******@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com:
The syntax for a public variable seems to be "Public Shared name As type".
How AND where do I put these in my AppMain (startup module) so the can be
used by two different forms?
Thanks,
John
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (
http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.10.6 - Release Date: 5/28/2004