Hello,

version: Vb6
I'm experiencing a user error with an sstab control. The error occurs when
attempting to set the Height property of the sstab control within the form's
activate event.
The error is #380 "invalid property value".
The error is occurring for only 1 user out of at least 100. That points
me to a local configuration issue; I've not pinpointed any problems thus
far.

The OS is WinXp Pro with SP2.
The TabCtl32.ocx is present on the user's machine; it is exact same version
as on the development workstation.
The Fonts used are Times New Roman . . .

Any ideas why it wouldn't work on a single user's machine? No other known
problems with that workstation.

Thanks,
JimM

Re: SSTAB: invalid property error. by PeterD

PeterD
Tue Oct 14 16:39:45 CDT 2008

On Tue, 14 Oct 2008 16:11:02 -0500, "jpm"
<uh@nojunkfromlosers.andmorons> wrote:

>Hello,
>
>version: Vb6
>I'm experiencing a user error with an sstab control. The error occurs when
>attempting to set the Height property of the sstab control within the form's
>activate event.
>The error is #380 "invalid property value".
>The error is occurring for only 1 user out of at least 100. That points
>me to a local configuration issue; I've not pinpointed any problems thus
>far.
>
>The OS is WinXp Pro with SP2.
>The TabCtl32.ocx is present on the user's machine; it is exact same version
>as on the development workstation.
>The Fonts used are Times New Roman . . .
>
>Any ideas why it wouldn't work on a single user's machine? No other known
>problems with that workstation.
>
>Thanks,
>JimM
>

Does it happen consistantly for this one user? Or only part of the
time?

Re: SSTAB: invalid property error. by Ken

Ken
Tue Oct 14 17:43:06 CDT 2008

"jpm" <uh@nojunkfromlosers.andmorons> wrote in message
news:uV4mnFkLJHA.3764@TK2MSFTNGP04.phx.gbl...
> Hello,
>
> version: Vb6
> I'm experiencing a user error with an sstab control. The error occurs
> when attempting to set the Height property of the sstab control within the
> form's activate event.
> The error is #380 "invalid property value".

If you can reproduce that error 100% of the time on that users machine, try
adding a messagebox to display the height you're attempting to use.

Are you using a hard coded number of twips? If so, maybe there's some
calculation problems for users that don't use standard font sizes (small
fonts = 15 twips per pixel, large = 12 twips per pixel)

Also, if you're saving/restoring the size of the form, make sure you're only
saving the info if the form's WindowState = vbNormal.... if Minimized or
Maximized, don't save.

A cooperative user and a messagebox can go a long way <g>


--
Ken Halter
Part time groupie



Re: SSTAB: invalid property error. by Randem

Randem
Wed Oct 15 00:50:58 CDT 2008

You would be suprised to know that the events do not always happen in the
order you expect. This maybe a clue to finding the issue. No configuration
of the users machine is going to change this, not for these types of
purposes. If you would like to find the order that the events are firing use
RSTools to trace your app. You will be surprised at what you find.

http://www.randem.com/rstools.html

--
Randem Systems, Inc.
Your Installation Specialist
Makers of InnoScript for Inno Setup.
It creates the script for you from a vbp, vbg, vbproj or setup.lst file.
http://www.innoscript.com/innoscript.html
http://www.randem.com/installerproblems.html



"jpm" <uh@nojunkfromlosers.andmorons> wrote in message
news:uV4mnFkLJHA.3764@TK2MSFTNGP04.phx.gbl...
> Hello,
>
> version: Vb6
> I'm experiencing a user error with an sstab control. The error occurs
> when attempting to set the Height property of the sstab control within the
> form's activate event.
> The error is #380 "invalid property value".
> The error is occurring for only 1 user out of at least 100. That points
> me to a local configuration issue; I've not pinpointed any problems thus
> far.
>
> The OS is WinXp Pro with SP2.
> The TabCtl32.ocx is present on the user's machine; it is exact same
> version as on the development workstation.
> The Fonts used are Times New Roman . . .
>
> Any ideas why it wouldn't work on a single user's machine? No other known
> problems with that workstation.
>
> Thanks,
> JimM
>



Re: SSTAB: invalid property error. by Jan

Jan
Wed Oct 15 03:47:04 CDT 2008

"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com>'s wild
thoughts were released on Tue, 14 Oct 2008 15:43:06 -0700
bearing the following fruit:

>"jpm" <uh@nojunkfromlosers.andmorons> wrote in message
>news:uV4mnFkLJHA.3764@TK2MSFTNGP04.phx.gbl...
>> Hello,
>>
>> version: Vb6
>> I'm experiencing a user error with an sstab control. The error occurs
>> when attempting to set the Height property of the sstab control within the
>> form's activate event.
>> The error is #380 "invalid property value".
>
>If you can reproduce that error 100% of the time on that users machine, try
>adding a messagebox to display the height you're attempting to use.
>
>Are you using a hard coded number of twips? If so, maybe there's some
>calculation problems for users that don't use standard font sizes (small
>fonts = 15 twips per pixel, large = 12 twips per pixel)
>
>Also, if you're saving/restoring the size of the form, make sure you're only
>saving the info if the form's WindowState = vbNormal.... if Minimized or
>Maximized, don't save.
>
>A cooperative user and a messagebox can go a long way <g>

And, I would make a point of adding line numbers in future
and logging an errors.
--
Jan Hyde (VB MVP)

https://mvp.support.microsoft.com/profile/Jan.Hyde