Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with 'Width' property of a column
Message
De
08/07/2002 05:44:08
 
 
À
08/07/2002 04:40:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00676023
Message ID:
00676029
Vues:
19
Check whether this peace of code solves your problem:
Local loWordApp AS Word.Application
loWordApp = CREATEOBJECT('Word.Application')
loWordApp.Visible = .T.
loWordApp.Documents.Add
loWordApp.ActiveDocument.PageSetup.TextColumns.Add(;
loWordApp.CentimetersToPoints(7), ;
loWordApp.CentimetersToPoints(1), ;
.f.)
>In our company we are using a dutsch version of Windows XP and Office XP. We're using the 'Word Application' object. When we set the Width property to 7 we get an ole error code : 'Width' is not a by reference property. When we raise the width to 8 or higher we don't get the error.
>
>A customer of our company uses a American version of Win XP and Office XP. They get the error always, no mather the entered width. If we enter 80 no error occurs.
>
>Does anyone know what the problem is? We think the measure-unit in Windows is bugging us...

HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform