Re: Error 380 Invalid Property
From: Jan Hyde (StellaDrinker_at_REMOVE.ME.uboot.com)
Date: 01/13/05
- Previous message: Peter: "Re: Error 380 Invalid Property"
- In reply to: Peter: "Re: Error 380 Invalid Property"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 13:22:18 +0000
"Peter" <Peter@discussions.microsoft.com>'s wild thoughts
were released on Thu, 13 Jan 2005 05:11:01 -0800 bearing the
following fruit:
>
>Hello Jan,
>
>the original properties are:
>DrawMode: 13
>DrawStyle: 0
>DrawWidth: 1
>
>then my changes:
>DrawMode 12
>DrawStyle 1
>DrawWidth 0
>
>Now i save the form.
>After saving:
>Change the properties again to the original values:
>DrawMode 13
>DrawStyle 0
>DrawWidth: 1
>Now i save the form again, compile the exe (Code - Size optimized) and then
>no error raises. But only, if i make this changes.
>
>Peter
I don't understand, you seem to be saying the 'original'
values are causing the error but these are the form's
default values. So I will assume that you are saying you get
the error when the proprties are set to :
DrawMode 12
DrawStyle 1
DrawWidth 0
In which case, 0 is indeed an invalid property value for
DrawWidth.
>
>"Jan Hyde" wrote:
>
>> "Peter" <Peter@discussions.microsoft.com>'s wild thoughts
>> were released on Thu, 13 Jan 2005 03:11:05 -0800 bearing the
>> following fruit:
>>
>> >Hello Newsgroup,
>> >
>> >I have a great problem with my programm:
>> >environment:
>> >
>> >WinXP SP1
>> >VB 6 SP 6
>> >
>> >Sometimes, if i load a form, it occures the error 380 Invalid Property (in
>> >the .exe, in the IDE it works).
>>
>> Invalid property value I assume?
>>
>> >The Source:
>> >
>> >on error goto Fehler
>> >set frm = new frmGrid (for example)
>> >exit sub
>> >Fehler:
>> > msgbox("Errornumber: " & err.number & vbcrlf & "Description: " &
>> >err.description)
>> >
>> >If I change in frmGrid the property "Drawstyle, DrawWidth, Drawmode" and
>> >save the changes, then it works in the .exe
>>
>> Change the properties from what, to what?
>>
>>
>>
>>
>> Jan Hyde (VB MVP)
>>
>> --
>> Love is the triumph of imagination over intelligence.
>>
>> (H.L. Mencken)
>>
>> [Abolish the TV Licence - http://www.tvlicensing.biz/]
>>
>>
Jan Hyde (VB MVP)
-- How many Flies does it take to screw in a light bulb? Two - the trick is getting them in there! [Abolish the TV Licence - http://www.tvlicensing.biz/]
- Previous message: Peter: "Re: Error 380 Invalid Property"
- In reply to: Peter: "Re: Error 380 Invalid Property"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|