Public Variables in Module1
- From: patang <patang@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 20:17:03 -0700
Very simple question.
I have a project with multiple forms and a Module1. In Module1 I have
written the connectionstring:
Module Module1
Public connectionstring = "provider=Microsoft.Jet.OLEDB.4.0;data source=" +
Application.StartupPath + "\mydatabase.mdb;"
End Module
In Form I am using this "connectionstring" form.
Ok..now here is the question. How come this variable is available
(automatically) in other forms even though I haven't imported Module1 in
those forms?
Thank you in advance.
.
- Follow-Ups:
- Re: Public Variables in Module1
- From: Herfried K. Wagner [MVP]
- Re: Public Variables in Module1
- From: Cor Ligthert
- Re: Public Variables in Module1
- From: Adam Goossens
- Re: Public Variables in Module1
- Prev by Date: Re: Getting properties of container into contained controls.
- Next by Date: Re: Hide unwanted properties.
- Previous by thread: Re: Connection pool problems
- Next by thread: Re: Public Variables in Module1
- Index(es):
Relevant Pages
|