Re: Error 380 Invalid Property

From: Jan Hyde (StellaDrinker_at_REMOVE.ME.uboot.com)
Date: 01/13/05

  • Next message: Keith: "Re: Error 2147417848 - Method '~' of Object '~' failed."
    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/]
    

  • Next message: Keith: "Re: Error 2147417848 - Method '~' of Object '~' failed."

    Relevant Pages

    • Re: System slowed down
      ... On the general tab of msconfig, ... >> Jan Hyde (VB MVP) ... It goes without saying. ...
      (microsoft.public.windowsxp.customize)
    • Re: Word 97 and Word 2003
      ... +0100 bearing the following fruit: ... Jan Hyde (VB MVP) ...
      (microsoft.public.vb.general.discussion)
    • Re: Automation Error- Object has disconnected from its clients
      ... triggers "Automation Error...yadda yadda yadda " error ... Or it could be that whatever your linking to is crashing? ... Jan Hyde (VB MVP) ...
      (microsoft.public.vb.database.ado)
    • Re: Vb6.0 application perfomance issues
      ... following fruit: ... If it's anything, it may be that the app was already frozen, ... >> Jan Hyde (VB MVP) ...
      (microsoft.public.vb.general.discussion)
    • Re: .Docx in VB6
      ... "Jan Hyde (VB MVP)" wrote: ... VBA support only .doc format according to this blog. ... VB6, VBA? ...
      (microsoft.public.vb.general.discussion)

    Loading