Crystal Registry Problem - Getting Graphics Right
Posted on 2004-08-31
Okay, this is a bit of a complex problem, but I'll try to break it down.
Problem 1 was that graphics looked terrible when previewing and exporting reports using the Crystal Reports 10 Designer Component in Visual Basic. This problem is solved by modifying the value of the following registry key in [HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports Designer Component\Export]: "BitMapMagnifNumerator"=dword:00000004
Great - *but* that's only a solution for the current user. When a new user is created on the machine, the value goes right back to what it was for that user and our company logo goes to pot again, unless we re-run the .reg patch file to modify the value.
The question is - can I put that value somewhere in the registry so that it will be created every time a new user is created? Or is there a place on the system that I can edit the registry values Crystal creates by default the first time it runs? Or is there any other way I can ensure that the proper value is set for BitMapMagnifNumerator for all current and future users?
Editing the registry from within VB when the program is run is not an option - the PHB is scared of the registry and has forbidden programs to even read from it (don't ask).
Any help would be greatly appreciated! I'm thinking this is not trivial, and it is definitely urgent so I'm hoping there are some crystal and / or registry gurus who can help me out here!