No, I don't have a VB method.
In MapEdit I simply let people browse for it, and in my other apps I don't use it at all.
AFAIK, VB6 doesn't have any built-in routines for handling the registry, I believe. The only methods it has for the registry are for loading/saving program settings. They're always saved in: HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Whatever_the_name_of_your_app_is
I never bothered trying to implement proper registry methods (using C++ libraries or so).
As for the two other registry keys. I don't have the first one (I haven't done any ToT multiplaying since the last Windows re-install).
I do have the second one. However, I manually changed these and moved the uninstall logs into my ToT directory.
The uninstall "log" files were originally put in the default install directory (C:\Program Files\Hasbro Interactive Inc.\Test of Time\ or something), even though that wasn't actually my ToT folder. This might have been the case because I installed ToT on a different drive (and the installer somehow didn't manage to move the log files along to a different drive)... It might be the case that if you installed ToT on the same drive, but in a custom directory, the logs ARE put in the actual ToT folder, I don't know.
In MapEdit I simply let people browse for it, and in my other apps I don't use it at all.
AFAIK, VB6 doesn't have any built-in routines for handling the registry, I believe. The only methods it has for the registry are for loading/saving program settings. They're always saved in: HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Whatever_the_name_of_your_app_is
I never bothered trying to implement proper registry methods (using C++ libraries or so).
As for the two other registry keys. I don't have the first one (I haven't done any ToT multiplaying since the last Windows re-install).
I do have the second one. However, I manually changed these and moved the uninstall logs into my ToT directory.
The uninstall "log" files were originally put in the default install directory (C:\Program Files\Hasbro Interactive Inc.\Test of Time\ or something), even though that wasn't actually my ToT folder. This might have been the case because I installed ToT on a different drive (and the installer somehow didn't manage to move the log files along to a different drive)... It might be the case that if you installed ToT on the same drive, but in a custom directory, the logs ARE put in the actual ToT folder, I don't know.
Comment