I have been asked to buid a VB code which is flexible.Wen i take project from
one place to another,i need not change path in all forms.If i change in one
place,then it gets reflected in all other forms.
ex:In com1,I hav path=e:\proj\a1.MDB which I use in al the forms;
& in com2,I need to change the above path such tat I need to change it only once.
Can I assign the whole path to a variable and declare the whole thing as global??
Is it possible to write
data1.ConnectionString = App.Path + "db1.mdb"
If so where do I define App.Path??
I am new to VB6.pl help
kartik07 0 Light Poster
venkatramasamy 1 Junior Poster in Training
kartik07 0 Light Poster
venkatramasamy 1 Junior Poster in Training
kartik07 0 Light Poster
kartik07 0 Light Poster
kartik07 0 Light Poster
venkatramasamy 1 Junior Poster in Training
kartik07 0 Light Poster
venkatramasamy 1 Junior Poster in Training
kartik07 0 Light Poster
venkatramasamy 1 Junior Poster in Training
SCBWV 71 Junior Poster
hkdani 39 Posting Pro in Training
kartik07 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.