Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with 'Width' property of a column
Message
From
08/07/2002 05:44:08
 
 
To
08/07/2002 04:40:29
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00676023
Message ID:
00676029
Views:
20
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!

Previous
Reply
Map
View

Click here to load this message in the networking platform