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
Solved

Control not registered errors

Posted on 2006-11-13
5
357 Views
Last Modified: 2012-05-05
I have an app written in VB6.  It's currently installed on a machine and logged in as Administrator, the app runs fine.  However, log in as a normal user and I get:

Component 'SSTree.ocx' or one of its dependencies not correctly registered; a file is missing or invalid.

Well it's not missing, it's in the application's folder.  I logged in as Administrator and hand registered (regsvr32) every .ocx and .dll in the application.  Runs fine as admin, above error as user.

So as Administrator, I've given the user in question full access rights to the entire Program Files folder.  If I look at the security for the dll in question, the user has full rights to it.

What could I be missing?  The user has full rights to the program and its folder and it runs fine as Administrator.

Thanks!
0
Comment
Question by:tomrwilson
  • 3
  • 2
5 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 17933098
What directory is this control in? You mentioned Program Files
If it there then have u tried copying it into windows system32 directory and registering it from there? (u would need to first unregister)

I dont think it will make a difference, but its just worth a try
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17933115
Just a thought, have u tried registering it as a user then see if other users can access it?
0
 

Author Comment

by:tomrwilson
ID: 17933131
"have u tried registering it as a user "

Control registration requires administrative security.  But I'll give the 1st suggestion a shot, thanks.
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 250 total points
ID: 17933249
so could it be that even though its registered, it may be under the admin profile? I wouldnt of thought so, it should be in for all users, but am thinking whether its just registerd for admin.
Ive not experienced a problem like this before in that one user can register, another cant see it.
Mind u, I work as admin most of the time anyway :)
0
 

Author Comment

by:tomrwilson
ID: 18021568
I created a quickie batch file that unregistered and re-registered every .ocx abd .dll the application uses.  Problem solved.  Don't know why it worked for one and not the other.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

790 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