>I have an Acrobat file with .pdf extension. I can run it in the wiondow98 by just clicking it. I would like have a command button in my form by clicking it to run the acrobat file. Is there a way to do it? Please help, thanks!
Assuming that Acrobat has been installed previously, you can launch an Acrobat document using the ShellExecute() API call. There are examples in the FAQ showing how this is implemented. If you have VFP6, there is a ShellExecute() implementation in the FFC.
You could also use the RUN command to invoke the Acrobat reader against the .PDF directly; you need to know where it's installed to do this if it is not on the Windows search path.
Warning - this depends on Acrobat having been installed previously on the system. This is not an MS component, and requires installation on each target machine.