Re: IncrementLeft problem

From: Chuck (Chuck_at_discussions.microsoft.com)
Date: 09/08/04


Date: Wed, 8 Sep 2004 04:35:29 -0700

Hi Jean-Guy

Next time I'll try to read the instructions more carefully! ;-)

Chuck

"Jean-Guy Marcil" wrote:

> Bonjour,
>
> Dans son message, < Chuck > écrivait :
> In this message, < Chuck > wrote:
>
> || I figured out what the problem was. I had declared the width and
> horizontal
> || position variables as "Long" rather than "Variant" in the code that
> didn't
> || return accurate calculations (but rather rounded to the nearest integer).
> || When I changed the type to Variant the code calculated exactly rather
> than
> || rounding...
> ||
>
> I guess I should have been more explicit in my preceding reply.
> I started my message with:
>
> <quote>
> It depends how you set up you variables:
>
> Dim MyPageWidth As Single
> MyPageWidth = PointsToCentimeters(ActiveDocument.PageSetup.PageWidth)
>
> will yield a precise number.
> <end quote>
>
> I should have written a bit more about the fact that I was suggesting that
> you use Single as I suspected that you were using Integer or Long variables.
>
> I'll try to be clearer next time!
>
> Glad you finally sorted it out.
>
> --
> Salut!
> _______________________________________
> Jean-Guy Marcil - Word MVP
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org
>
>
>
>



Relevant Pages

  • Re: Questions about memory barriers
    ... All reads preceding this primitive are guaranteed ... And only these recent assignments, i.e. incomplete assignments, are ... instructions for which execution is already over. ... in front of the barrier, but not in front of read instructions it depends on. ...
    (Linux-Kernel)
  • Re: sorta newbie question on turning small jars/boxes
    ... If you've been turning for about a year it's time to expand ... without having the rest of the chuck wacking your knuckles. ... I put together some instructions for myself. ... and take it to the shop, ...
    (rec.crafts.woodturning)
  • Re: Pulling my hair out over file sharing
    ... Chuck, I'll top post this one because it is the end. ... I turned off simple file sharing - deleted the share, restart, ... >>> Did you follow the complete instructions from Symantec? ... >>> easier to re format and re install Windows XP, and all apps, so I did that for a ...
    (microsoft.public.windowsxp.network_web)
  • Re: Many problems
    ... >>Hi again Chuck, ... Sometimes I learn my instructions ... > I don't know what's up with WinsockXPFix. ... > to be the best organised freeware distribution site right now. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: File sharing problem after new switch installation
    ... >I fallowed your instructions and every thing look ok, ... >value assigned to the dns server 68.10.16.30 ON ALL MACHINES!! ...
    (microsoft.public.windowsxp.network_web)