Hello Vineet let me know that this is ryt or wrong 1.You want to connect to dynamic Database? 2. You want to Build Connection String Dynamically? 3.You want to access 1st Connection String from app.config file??
Answer these and i will try to help.. On Fri, Jul 3, 2009 at 11:16 AM, Vineet <[email protected]> wrote: > > This is editing by the author himself: (since google groups doesn't > have edit facility) > ============================================ > The VB forms are in different projects. That's why I am wondering how > to store & retrieve database connection string in app.config > ---Vineet > ============================================= > On Jul 3, 9:51 am, vineet <[email protected]> wrote: > > Dear Friends, > > May I request for a small help regarding VB-MySQL ! > > I have ERP solution in VFP for medium scale businesses. > > I am now converting it to VB-MySQL. > > In this, different users need to login with their ID's. > > So, the connection string can't be defined while writing code. It will > > be different for each session (to be entered from login screen) > > Secondly, there are more that 100 VB.NET forms, each requiring > > connection string to MySQL. > > If we store conn string in app.config of a particular form, how other > > forms can retrieve it ? > > My query is that, where & how to store the connection string sothat -- > > 1) it will be available to all different VB.NET forms, and > > 2) connection string to MySQL will be different for every session. > > You are requested to throw some light on the above-mentioned task. > > Thanks, > > Vineet. > -- Thanks & Regards Avinash Desai *SAVE Nature SAVE Tree SAVE* Think Before you print: Please consider our environment before printing this e-mail Fred Allen <http://www.brainyquote.com/quotes/authors/f/fred_allen.html> - "California is a fine place to live - if you happen to be an orange."
