>Hi Doug,
>
>First of all, thanks for the information you gave me awhile ago. I finished
>my form with the treeview. But I have problem making it work in the end-user machine.
>I am using vfp5.0a on a NT 4.0 WORKSTATAION (SP3).
>I put comctl32.ocx in the distribution directory and use
>setup wizard to create the installation files. However, after I installed the application into the end-user workstation, it gave me some kind OLE error say "... the control is not registered, ignoring
>record number 7 ..." when I tried to load the form which contains the
>treeview control, although the installation was said to be successful from the message.
>
>I also tried regsrv32 comctl32.ocx and the result of the command
>told me the control was registered successfully. But when I tried to
>load the form, again it gave me the same error message.
>
>Any idea what I did wrong or are there any files I am mssing ?
>I have been posting messages for the past week and still have not got the problem solved yet. I would appreciate if you can give me some idea.
>Thanks again!
>
>
>Kam.
COMCTL32.OCX has many file dependencies. You're probably missing at least one of the other files.
COMCTL32.OCX needs:
ADVAPI32.DLL
COMCTL32.DLL
COMDLG32.DLL
OLE32.DLL
OLEAUT32.DLL
and for W95 (not sure for other OS's):
GDI32.DLL
KERNEL32.DLL
USER32.DLL
VERSION.DLL
Did you make your install set using the SETUP wizard? You'd really have to try that on a completely virgin system (never had VFP installed before) and then see what's different after you've installed if you're using some other installer.