Re: Error 380 Invalid Property

From: Peter (Peter_at_discussions.microsoft.com)
Date: 01/13/05


Date: Thu, 13 Jan 2005 05:11:01 -0800


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

"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/]
>
>


Loading