Author: Danish woman | Posted on: 9/5/2009 5:38:49 PM | Views : 344

I have a application with more than 200 files. This application is not build up with classes.
Now I would like to change this issue and put everything in order.
I have read a lot about classes, but there is still some questions I could not get clear also if I read a lot of articles.
In my application I have very many static variables. I have put them into a file and include this file in alle the files in the application. All my files has a lot of include files. I think this can be done better.
I also have a lot of functions that I use in many files. Everytime I use a function, I include the function in the file.
My question is this:
Should I make a baseclass where I put all my static variables and all my functions and let all my classes inherits from this baseclass?
What about my connectionstring which normally looks like this:
Public mainConn As New OdbcConnection(System.Configuration.ConfigurationManager.ConnectionSt ...

Go to the complete details ...