Make this .DLL file in VB.NET

Any DLLs you have made to do various things and aid in project development then please post in here.
4 posts Page 1 of 1
Contributors
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

Make this .DLL file in VB.NET
Scottie1972
Can anyone make this a stand alone .dll file?
Code: Select all
    'Connection String
    Public connStr As String = "Database=DB_NAME;" & _
                    "Data Source=DB_HOST;" & _
                    "User Id=DB_USERr;" & _
                    "Password=DB_PASSWORD;" & _
                    "Port=DB_PORT;" & _
                    "Connection Timeout=20"
ie: DB.Conn.dll
Image
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Make this .DLL file in VB.NET
mandai
A dll file to store a connection string?
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

Yes.
This wat if I change MySQL host or Login Information, All my app has todo is download the new DB.Conn.dll then it can connect to the proper database server.

I have a working .dll (Thanks Cody) but I am always on the look out for new was of doing things.
Image
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

I have sorted this out.
Thanks to some very helpful members of codenstuff.com
Image
4 posts Page 1 of 1
Return to “Dynamic Link Libraries (DLLs)”