fuckyoufuckyoufuckyo
Programmer
Greetings Everyone,
I'm a former VB6 user who has recently switched to VS2008 (focusing on VB2008). I'm hoping someone can point me in the right direction on this question, and hopefully it won't bring up the ever present XML vs. INI file debate which I have seen some people get very heated over in other boards.
Here is the scenario:
Back in VB6 I had a "settings" file that I used to store information in, which my vb6 program would call on at various points. Examples of what I used to store in the file were things like:
[dblocation]
dblocaiton= <path to database here>
[reportlocation]
rptlocation= <path to report application here>
You get the gist...
I'm looking to recreate this again in VB2008, but without it being in any special format/programming (the INI/XML debate). The program is being used in an environment where I don't need to be worried about the staff members seeing the contents of the file, but I do need a way to be able to open the file and change the information on the fly. When I go between locations, one office may have the program on the X drive on their server, and the other office may have it on drive z, so I need to update my laptop to pull the correct locations of the database.
So to recap - can anyone point me in the right direction of being able to do this:
Create a "text file" that I can store information in such as database locations, which my vb2008 app can read to run.
Can anyone lend a hand?
Thanks in advance for any help!
Rich
I'm a former VB6 user who has recently switched to VS2008 (focusing on VB2008). I'm hoping someone can point me in the right direction on this question, and hopefully it won't bring up the ever present XML vs. INI file debate which I have seen some people get very heated over in other boards.
Here is the scenario:
Back in VB6 I had a "settings" file that I used to store information in, which my vb6 program would call on at various points. Examples of what I used to store in the file were things like:
[dblocation]
dblocaiton= <path to database here>
[reportlocation]
rptlocation= <path to report application here>
You get the gist...
I'm looking to recreate this again in VB2008, but without it being in any special format/programming (the INI/XML debate). The program is being used in an environment where I don't need to be worried about the staff members seeing the contents of the file, but I do need a way to be able to open the file and change the information on the fly. When I go between locations, one office may have the program on the X drive on their server, and the other office may have it on drive z, so I need to update my laptop to pull the correct locations of the database.
So to recap - can anyone point me in the right direction of being able to do this:
Create a "text file" that I can store information in such as database locations, which my vb2008 app can read to run.
Can anyone lend a hand?
Thanks in advance for any help!
Rich