I have a windows service on a server which accesses a folder and database which is on different server.
i was told to create an .ini file and add the settings here.

so i have to add the path to the folder and database in .ini file, correct?
is there anything else which i should add in .ini file?
is it compulsory to give the [section] in the .ini file?

How can i access this .ini file from my vb.net program?

can i store this .ini file anywhere on the machine or it should be stored in a particular folder?

Thanks.

Member Avatar

an .ini file is nothing more then a textfile covered as a .ini file,
you can open it like any other .txt file,
and a .ini file is more like a list of settings todo on a certain folder
so yes it needs to be in a particular folder