>>>Why doesnt this work?
>>>
>>>oVFP = CREATEOBJECT("Vfp6.Application")
>>>
>>>or
>>>
>>>oVFP = CREATEOBJECT("Visual.FoxPro.Application")
>>>
>>>TIA
>>
>>As Garrett said, it isn't supposed to. These CLSIDs reference the VFP6RUN.EXE which isn't an automation candidate. The CLSID Garrett gave you is for the VFP6.EXE which is.
>
>Mmmm, Larry....don't you mean ProgID, not CLSID?
Well...ummm...yes, yes I do. :-)
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao