Hi Carmel try the following:
oVisio = CREATEOBJECT('visio.Application')
odocument = oVisio.Documents.Open(myfile)
oVisio.Visible = .t.
also if you have VFP7 then you have all the methods and propreties trough itellisence just put LOCAL ovisio AS visio.application.
>Does anybody have any info on how to open a Visio file
>from within VFP.
>I cannot get any further than the following ....
>
>oVisio = CREATEOBJECT( 'visio.Application' )
>oVisio.Visible = .t.
>
>
>Thanks in advance !
>Carmel
Alexandre Palma
Senior Application Architect