Hello, Since I didn't find a complete documentation about it yet I'm trying to figure out where the Netscape Communicator browser stores all it's information about user profiles. This especially concerns Netscape 6.x where I cannot determine where it saves the info about the list of user profiles to. And which user profile has been used the last time.
To explain my intensions in short, here they are: I need to alter an existing user profile with data I fetch from a database, like mailserver, username, newsserver and so on. I know where most of the information is stored at - but not all the information I need to alter to make the profile run and be chosen as the default user profile for the browser. This concerns both Netscape Communicator 4.78 as well as Netscape 6.2 user profiles/browsers. Netscape 4.78 : My first question. The nsreg.dat file in %WINDIR% is binary and can therefor not be edited without accurate knowledge about the structure of this file. In there Communicator remembers which profiles do exist, and which one has been used the last time Communicator was started. I need to tell it which profile it has to use, after I added a new one which happens by simple copying of a previously with Communicator generated empty "template" profile, and altering prefs.js and liprefs.js with the appropriate user data. How can I alter nsreg.dat to contain the information I need it to? Netscape 6.2 : My second and last question. Where does it store the list of user profiles it knows about? I couldn't find it anywhere, not in the registry, neither on harddisk (Netscape/Windows/Windows profile directories). Here I got the same problem, how do I tell Netscape (with an external application as above) 1) there is a new profile, and 2) that it should use this profile on startup, or preselect it in the profile manager at least. If there is a detailed documention which answers all my questions I'd really appreciate to get to know about it. All my searches ended in finding manuals and developer hints which only scratch the surface of what I need of information to do this task. And as mentioned by Gervase Markham my newsreader insists that there is no snews://secnews.netscape.com/netscape.communicator.* newsgroup section at all. Thanks in advance for any help. regards, Robert Doerflinger
