I don't have either of those installed so I can't tell you exactly where to look for the Serial number, but if you have a legit copy still installed, it's in your registry.
The following is for Windows 98, other OS may vary:
Start --> Run
Type "Regedit" then click "OK"
Look under "HKEY_LOCAL_MACHINE" Click the +
then click the + for "Software"
Then click the + for the name of the software company
Explore that area (open sub catagories as needed). Look for entries like "SerialNum", "RegistrationKey", RegKey and the like.
BE VERY CAREFULL NOT TO CHANGE ANYTHING IN THE REGISTRY. If you aren't comfortable exploring the registry, back-up the registry before you start messing around.
In Regedit:...
Highlight "My Computer"
Registry --> Export Registry File
Name it and save to a convienent location.