Control not registered errors

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!
tomrwilsonAsked:
Who is Participating?
 
rockiroadsConnect With a Mentor Commented:
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
 
rockiroadsCommented:
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
 
rockiroadsCommented:
Just a thought, have u tried registering it as a user then see if other users can access it?
0
 
tomrwilsonAuthor Commented:
"have u tried registering it as a user "

Control registration requires administrative security.  But I'll give the 1st suggestion a shot, thanks.
0
 
tomrwilsonAuthor Commented:
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
All Courses

From novice to tech pro — start learning today.