Skip to Content
author's profile photo
Former Member

Event error - Form Invalid

I have a Run-time error, when I will close the form 139.

Run-time error '-7000' (ffffe4a8)':

Form - Invalid

<b>here is my VB6 code:</b>

<b>and here my errormessage:</b>

Please help.


<b>its the same errormessage:</b>67-screen-painter-error

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on Feb 02, 2005 at 10:52 AM

    Hi Marcel,

    Not all ItemEvents will have a correct value for pVal.FormType or pVal.FormTypeCount (each event type only fills the relevant parameters). Please have a look into UI API help file section UI API How To -> Handle Events -> Item Events. There you have a list of all item events and for each event type you have the parameters that are relevant.

    I will suggest you to test the type of event before trying to retrieve the current form. I think the value you receive into pVal.FormTypeCoung is not correct.

    Hope it helps


    Add comment
    10|10000 characters needed characters exceeded