Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

? on setting Tabs from VB5 to WP8

1 view
Skip to first unread message

mike

unread,
Dec 7, 2000, 3:00:00 AM12/7/00
to
Question on OLE between VB5 & WP8:

Trying to set up tabs in a new WP8 document with my VB5 program. Here's what
I have in VB:

objWP.TabClearAll
objWP.TabAdd 1500, 0 '1.25" left tab
objWP.TabAdd 2880, 0 '2.40" left tab
objWP.TabAdd 4200, 0 '3.50" left tab

Works great except for 2 things:
I get *4* tabs 1.25"L, 2.4"L, 3.5"L and -0.0001L, and;
The tabs are Absolute instead of Relative

I find the first problem not so much of a problem but something that just
shouldn't be happening -- an oddity as 'twer. It's the second one that is
causing all sorts of problems. The tabs need to be relative to the margin so
that they work the correct way and I can find no way to inform it otherwise.

Beyond going to the trouble of locating the left margin width and padding
all the tabs with that value, is there a solution that I am not finding?

Thanks for any insights you might have into this,

mike

mike

unread,
Dec 7, 2000, 3:00:00 AM12/7/00
to
I was browsing the SDK directory seeing if I could find anything on this
when I came across a file called "wpwpen.txt". Lo and behold, it held all
the ole commands along with all the arguments and values for them. I did a
search of that file looking for "position" and found the command TABSET that
includes the ability to set REL or ABS tabs.

How in the world did that get by me in the CI ? I thought that I had looked
at every single command that included TAB, but I guess not...

Sorry if I sent anyone on a wild goose chase looking for this for me!

mike


"mike" <uncle...@hotmail.com> wrote in message news:3a2ffbc6@cnews...

0 new messages