>This is a real newbie type of question. I want to create a flat text
>file where I configure all of my variables, and then have my VB modules in both VB4 and Excel97 be able to access this information.
>
>I thought I might be able to do it by manually calling an insert command, but I havent figured out how to do that. I didnt want to have to parse the whole data file to find the various variables.
>
>I guess I could write the VB variable code off in a text file, but how will I be able to get it into my specific module at runtime?
>
>Does anyone have any suggestions or possible methods to go about this?
A few solutions:
1-write to a Text file. Look the "Open" statement.
2-write to an INI file. Look the API function "WritePrivateProfileString"
3-write to the Registry. Look "SaveSetting"