I have used the RegSaveKey to export a registry key, this works fine, but when I try to reimport it I get an error saying that the file is not in the correct format.

Does anyone have a sample to do this

Thanks

Tony