[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6154
  • Last Modified:

Windows 7, VB5, crystl32.ocx

I am setting up a new PC with WINDOWS 7 (I still have my working W2K PC). I am having a lot of compatibility issues with older software.

With my old VB 5 program setups, everything works fine, including my Crystal Reports.
Also, I am able to open CRW32.exe directly and work on a report.
My problem is when I want to add a project component, Crystal Reports 4.6 is there, but I get a "Permission denied" error message when I try to add it.
I tried regsvr32 crystl32.ocx but I get a message that this may not be compatible with 64-bit Windows.
0
gron
Asked:
gron
  • 4
  • 4
  • 3
  • +1
3 Solutions
 
CSecurityCommented:
Most of such old things doesn't work on Windows 7. You only have following options:
1) Check for updates of vendor, if they have one newer version for Windows 7 64-bit.
2) Try running regsvr32 with administrator rights. Like run cmd.exe with administrator rights and do regsvr32 on that cmd.

That's all.
0
 
SimpsonThePhilCommented:
Hi,

I'm running Windows 7 with VB6.  I've found lots of problems unless I login with an Administrator account.  Everything works fine then.  Not ideal I know
0
 
CSecurityCommented:
First of all, it seems you have 2 accounts which is illegal.

Because of UAC in Vista and Windows 7, a lot of applications which needs to do administrator access stuff, needs to run as administrator, it's a security feature. Nothing to do about it.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CSecurityCommented:
Like a lot of other softwares, simply ask users to ONLY run program as administrator. You can also add some code if your program wasn't running with administrator rights, simply show a warning message and exit program.
0
 
mlmccCommented:
When you add the components to the project it require ADMIN prermissions.  

mlmcc
0
 
mlmccCommented:
Also you may have to run in Win 7 WOW emulation rather than 64-bit

mllmcc
0
 
gronAuthor Commented:
My user account has full administrator rights.

mlmcc: How do I "run in Win 7 WOW emulation rather than 64-bit"?
SimpsonThePhil: Do your VB6 apps use Crystal Reports crystl32.ocx?
0
 
gronAuthor Commented:
I have now discovered that the problem is not limited to Crustal Reports.
I cannot add any components to a VB project. Here's what happens:
1. Open a new VB project
2. Click on Project, then Components
3. Whichever compnent I choose from that long list generated an error
when I "Apply".

There are three different error messages, depending on which component I select:
a) Error accessing the system registry
b) Permission denied
c) Automation error Duplicate ID in inheritance hierarchy
0
 
CSecurityCommented:
Run VB with admin rights and try
0
 
gronAuthor Commented:
Thanks, but my user account already is "Administrator".
0
 
gronAuthor Commented:
Ooops, you were all right on. Even if my user account is an administrator, if I open VB "Run as administrator" it works fine. But isn't that redundant?

Anyway, thanks all.
0
 
mlmccCommented:
Thanks for finding that.  I have fought with that and since it wasn't crucial at the time I just dropped my attempt.

I agree that seems redundant to have to run with admin right when an admin is running but maybe you have to give VB6 admin rights.

mlmcc
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now