Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization II > Scenario League / Civ2-Creation > Skinnydipping
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD
CivGroups
Scenario League / Civ2-Creation (66): Not a Member - Join

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:16
  Old Post 07-11-2004 22:10 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Tired of ads?

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.

curtsibling is offline curtsibling
King
of the Kill!
May 2002
time: 05:16
  Old Post 07-11-2004 23:15 Visit curtsibling's homepage!
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Got spare money?

quote:
Originally posted by N35t0r
Curt, did you actually perform an install of that ToT version? (rather than just copying the game from the cd) and that you didn't reinstall windows after that?


I merely did not use the default MPS folder - Apart from that, my PC setup is entirely normal.

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:16
  Old Post 08-11-2004 01:25
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Support Apolyton buy from Amazon

But the game should write a reg. key with the actual path you install it in, AFAIK.... Well, in any case, if the autodetect fails and you have to do it by hand, it's not like you wouldn't have needed to do it anyway...

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:16
  Old Post 08-11-2004 08:45 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Help yourself to an AD-FREE life

Rather than a slooooow search of the entire registry for Test of Time, I opted for a quicker search for a specific entry. Global searches by the means I've used aren't much faster than manually entering a path.

One thing I noticed, Catfish, was that it looks like the 1.1 patch puts in the entry you mentioned. I only just installed the patch yesterday on my coding PC at home. In my code, I'll search for both, try to eliminate any paths to MGE that might pop up, and ultimately leave a text box for the user to manually override any path that the code finds.

So N35t0r, I think there is an entry specific for ToT, but it might not be the same handle for all PC's and/or ToT versions. It appears that the ToT patch may overwrite the MGE entry with a ToT one. My guess is that Catfish's handle will work for most if not all. However, if some original thinker tries the upcoming version on a machine with MGE but not patched ToT, the code will accurately point to MGE. Maybe I should pop up a msgbox suggesting the patch at that point?

Merc, I swiped some public domain vb functions to search for registry handles. They worked well without adaptation in VBA-Excel.

quote:
However, I manually changed these and moved the uninstall logs into my ToT directory.
Gotta make things tougher for me! Oh well, I'll try to come up with something that works some of the time, but allows a user override for the rest. Also need to put in some error traps.

curtsibling is offline curtsibling
King
of the Kill!
May 2002
time: 05:16
  Old Post 12-11-2004 21:58 Visit curtsibling's homepage!
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Lose 30 kilos (of popups)

Bumping - Due to sheer coolness of the utility!

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0301 seconds (86.49% PHP - 13.51% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net