Solved

Crystal Registry Problem - Getting Graphics Right

Posted on 2004-08-31
6
521 Views
Last Modified: 2012-06-27
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!
0
Comment
Question by:musqua
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 11944342
I understand the frustration.  We had to get our application installed for all users rather than the logged in user and had similar problems.

When a new user is created the ALL USER  (assuming you are set up this way) registry is used.  If you change the ALL USER registry the change should propogate to new users.

mlmcc
0
 

Author Comment

by:musqua
ID: 11945759
I'm looking in Regedit, and I can't find anything that looks like All User - I'm working with Windows 2000 here, if that helps.

There is a .DEFAULT entry under HKEY_USERS but that does not seem to have any effect in this case.

This "All User" registry - is it an option that can be set up somehow? It seems logical to have something like this...
0
 
LVL 13

Accepted Solution

by:
EwaldL earned 500 total points
ID: 11946730
have you tried setting this key under HKEY_LOCAL_MACHINE? this tree should globally affect the overall system, not just the user.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:musqua
ID: 11946811
Yep, I tried HKEY_LOCAL_MACHINE as well - but it did not help, either. :(
0
 

Author Comment

by:musqua
ID: 11946849
Another note - what I've read seems to suggest that adding keys in the .DEFAULT key in HKEY_USERS should do cause those values to be replicated when new users are created. They aren't.

Argh.
0
 

Author Comment

by:musqua
ID: 11946964
Okay, I take it back - on a brand new user with a fresh reboot, HKEY_LOCAL_MACHINE does it! Hooray! :)
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Crystal Reports with Datasets - Modify Report 5 96
Business Object Server 2 33
Help with a Crystal Report Formula 8 53
division by zero in crystal reports 1 27
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question