I’ve got a situation where an ini file is in memory (in a string variable) and I’d like to read values out of it without writing the ini file data to disk.
UPDATE:This is data that I do not want to write to the HD. I’m downloading it from a web server into memory and then getting some data.
Is there any way to do that in VB6? Maybe with a Win API call?
Clay,
Check out this article at DevX.com
Read/Write INI without using API
This should get you pointed in a good direction. The modules are a bit dirty and do, at this point, require a path for the INI to be stored. Instead simply modify the modules to use your string directly and you should receive the desired result. Let me know how this works out for you.