G
Guest
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.
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.