Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to register DLLs over multiple profiles... 2

Status
Not open for further replies.

bburnell

Programmer
Sep 15, 2000
560
US
with the Microsoft VB package installer (or any other way) on Windows NT and/or 2000?
Any help is appreciated,
Brett

I am using VB 6 sp 5. When I install the package under admin, the dlls are only registered under admin. Please visit my websites!
 
How do you know that they are only registered under Admin profile?
 
Hi woyler,
When I log out of administrator and I log in as any other profile, I get an "activex object not created" error from Crystal Reports. That is an error when their dlls are not properly registered. Thanks for the quick response.
Brett Please visit my websites!
 
I have found problems in the past with crystal keeping data and settings in the registry. Your admin account has rights to the registry, your user accounts may not. I could be wrong, but I would create a user account and give it the same rights as the admin account. If it works under the new profile, then you know it is not a profile issue, it is a user priv issue. If you try this, let me know, I am curious.
 
I already have. I gave a user full admin rights to the machine, then I installed it. I then put the user/profile rights back to user status and it runs fine. The problem is that they (where I work) don't want to give everyone that needs this app installed admin rights for 5 minutes every time a new dll needs to be installed. I hope this answers your question.
Brett Please visit my websites!
 
Ok, I need to clear something up. Is the problem that *A*: you are trying to install the application(or dlls) under a user profile that does not have admin rights(for installation) then the object can not be created in the application under a regular profile, or *B* The application was installed with administrative rights, but will not run under a user profile?
 
The skinny of it is that, to register a dll, registry manipulation is necessary. If the problem is that, your employer does not want you to have an admin account, or you do not have a admin available to install these programs on the machines, then you will have to explain to them that it is back to pen and paper, because you can't register a dll without Registry access.
 
I am having the same problem. I think it is more a business administration problem then a software admin problem.

My question is this, if you register a dll for a computer shouldn't it be there regardless of who logs in? I think this is the question, How do you register a dll for use regardless of user priveleges?

Christina
 
I am having the same problem. I think it is more a business administration problem then a software admin problem.

My question is this, if you register a dll for a computer shouldn't it be there regardless of who logs in? better yet, How do you register a dll for use regardless of user priveleges?

Christina
 
Yes, use:
regsvr32 "C:\PathOfDll"
To UnRegister,use:
regsvr32 "C:\PathOfDll" -u
 
To all who may be interested in the answer I have come up with for this...

I created a DOS batch file that looks like the following:
@echo off
regsvr32.exe /s \\dell6300\capps\arm\craxdrt.dll
regsvr32.exe /s \\dell6300\capps\arm\crviewer.dll

I ran it under the profile that hadn't registered the dlls, and it worked fine!
Brett Please visit my websites!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top