>>Yes. All you are doing is declaring a DLL function. This is supported under any version of VFP. You will need to have the OCX and all of its support files on the local PC. You can use the VS utility Depends.Exe to determine what files are needed for the OCX to work. You can also get this information from the dependency file. It is usually named the same as the OCX but with DEP extension. It will list the files needed for the OCX to work. For example, Comctl32.OCX needs the following:
>
>>COMCAT.DLL
>
>One last question.
>When I create the distribution disks, will it not pull in all these neccessary files and do the installation for me, or must I specifically copy these files manually?
>
>Thanks Larry
If you add the OCX to the ActiveX control section of the setup wizard, it should read the dependency information and include all the files you need in the distribution disks.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao