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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No components showing in component palette

Status
Not open for further replies.

TheBugSlayer

Programmer
Sep 22, 2002
887
US
Hi.
I have seen in the past that in Delphi 5 (at least) if you login as a different user on a Windows box the component palette is empty (except for the Standar tab with the Frames component on it). Someone helped me fix it that time but I cannot recall exactly what was done. The idea is to import some files from a location belonging to the former user and copy them somewhere.

Can anyone reming me how to do that please? This is almost like life and death. Thanks.
 
The idea was to export the Delphi registry keys from the previous user to a registry file and then merge that file back to the registry to the current user.

[HKEY_CURRENT_USER\Software\Borland\Delphi]

-Pikkunero
 
The problem is that the previous user has moved to a different division and no longer has access to our network, hence he is not able to login. I doubt I can get to his registry settings otherwise.

I think this has to do with some .bpl file...

Another thing, I have 5 and 6 installed but I am only seeing an entry for 6...

Thanks.
 
If you have the install cd's, IIRC there is an install option for "registry only" that should take care of the issue for you.

-Dell
 
Thanks. I imported the design packages (.bpl) into the program and the tabs came up. Now the only problem I have is that it cannot find System.pas although I have specified the path in the project's options.
 
Go to the Tools menu and select "Environment Options". On the Library page, set the Library Path to:
Code:
$(DELPHI)\Lib;$(DELPHI)\Bin;$(DELPHI)\Imports;$(DELPHI)\Projects\Bpl;
and the Browsing Path to:
Code:
$(DELPHI)\source\vcl;$(DELPHI)\source\rtl\Corba;$(DELPHI)\source\rtl\Sys;$(DELPHI)\source\rtl\Win;$(DELPHI)\source\Internet;
I think the registry key that tells how to translate "$(DELPHI)" is in HKey_Local_Machine, so this should work. If it doesn't, you'll have to edit and manually translate it to the folder where Delphi is installed.

-Dell
 
Thanks Hilfy. I will try that. Delphi changes the first part of the path to $(DELPHI) when it recognizes a Delphi base path.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top