View Full Version : "error loading type library/dll"
zachariah383
04-09-2007, 11:58 AM
I just created a new project in Proj. Admin. and when I opened it in Aplant P&ID I get this error window:
Error accessing component '...\Standards\RebCompDlgs.dll'
Error loading type library/DLL
After accepting the error message Aplant loads fine and I can insert items ok, but when I CATT on a item I get a "Object not initialized" error window. Anyone have any ideas on a fix?
Packin31
04-09-2007, 12:13 PM
Make sure that the base RebCompDlgs.dll got copied over to your project Standards folder.
zachariah383
04-09-2007, 12:19 PM
Yeah I checked that and it is there. I tried copying the .dll from a working project and replacing the existing one in the new non-working project but no luck.
Packin31
04-09-2007, 12:26 PM
Has this file been modified by a user with a newer version of VB?
We had that happen here. I made mods to the DLL on my machine then when another user went to open the project they received the same error. Make sure you all have the same version of VB, Access etc.
If you can you post your .dll then I can give it a try here? Just checked we can't post DLLs here.
Say Dave how can he post it?
zachariah383
04-09-2007, 12:45 PM
I would but upon further looking I think I have found the problem and it's not with the actual .dll. For some reason the standards path is pathed to the base project I created this from, and for the life of me I can't remember where to go to point the path to where it needs to be. I know it is not feasible within Proj. Admin.
Hey Zach, hows it going? I think I have a rough idea of what is needed to make the fix. I would have to see it though.
Give me an email sometime, I'd like to talk with you about a couple things.
project admin > project > preferences > paths B)
Packin31
04-09-2007, 12:53 PM
You beat me to it Dave.
Yes that is where you can set your paths.
I have that problem all the time where the 3D model doesn’t always point to the right location. Have to go in manually and edit it.
zachariah383
04-09-2007, 01:03 PM
Thanks guys that was exactly what I needed, I appreciate it. Dave I promise I will write it down this time.
PeterJ
04-09-2007, 02:28 PM
Editing the paths in PA is fine, but you'd better double check the paths section in your project.ini.
PA might have put a fixed path in there,that will work fine for the project itself, but can result into problems when copying, moving or pacakging the project. I guess something like this caused the problem in the first place.
Check that the Standards folder is referred like
Standards=%ProjPath%\Standards\
or
Standards=%APPROJDB%\Standards\ (in case of common standards)
and NOT
Standards=T:\projects\bigclient\project1\Standards \
IMartynets
04-14-2007, 11:54 PM
I just created a new project in Proj. Admin. and when I opened it in Aplant P&ID I get this error window:
Error accessing component '...\Standards\RebCompDlgs.dll'
Error loading type library/DLL
After accepting the error message Aplant loads fine and I can insert items ok, but when I CATT on a item I get a "Object not initialized" error window. Anyone have any ideas on a fix?
Hi!
You must iterate doing as shown below.
This is common if the system variable PATH is not set correctly. To verify please follow the steps below for a Windows 2000 operating system:
1. Right click on My Computer and select Properties
2. Select the ADVANCED tab.
3. Select the Environment Variables.
4. In the lower window System Variables, scroll down until you see PATH.
5. Highlight PATH and select the EDIT button.
6. Add the C:\System32 path to the list of paths.
7. Hit the OK button 3 times to get out of the dialog.
8. Restart PID and the error should be gone.
Restart your computer and try it again. Warning: You must have admins or advased user rights.
Best regards!
Martynets. Support TEAM. Rebis RUSSIA company.
PeterJ
04-15-2007, 01:54 AM
and check if the regsrv32.exe is in the c:\system32 folder (don't you mean c:\Win...\system32 ?), or copy regsrv32.exe into a folder that is in your dos path list
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.