Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Useful DBF2Excel routine
Message
De
19/02/2006 11:33:41
 
 
À
17/02/2006 19:48:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01097203
Message ID:
01097405
Vues:
15
>>Oops, just googled Dbf2Excel and found FoxyClases is using that name for one of their classes. Sorry about that.
>>
>>Alex
>>
>>Hi,
>>
>>I needed this little routine and thought it may be useful to others:
>>
>>* DBF2Excel.prg This routine is meant to be called with a table open in current area
>>* Creates table in FOX2X format and opens with Excel
>>LOCAL lcTemp,loExcel
>>lcTemp = FORCEPATH(SYS(2015) + '.tmp',SYS(2023))
>>COPY TO (lcTemp) FOX2X
>>loExcel = CREATEOBJECT('Excel.Application')
>>loExcel.WindowState = -4137  && xlMaximized
>>loExcel.Workbooks.Add(lcTemp)
>>loExcel.Visible = .t.
>>
>>
>>Alex
>
>Don't worry. If copy to, datatoclip ... were answers I wouldn't even bother to create a class:)

Thanks for that. I meant using the name.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform