Results 1 to 14 of 14

Thread: [RESOLVED]vbAccelerator CommandBar Control Problem

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member nUflAvOrS's Avatar
    Join Date
    Jul 2007
    Location
    Malaysia/ Currently at Singapore
    Posts
    372

    Resolved [RESOLVED]vbAccelerator CommandBar Control Problem

    I tried to use vbAccelerator CommandBar Control.

    2 of my project forms contains commandbar.
    This is the flow when i opening the form

    Form1 : Cmdbar(0)
    Remark : This form is using Popup Menu Style for commandbarClick one of the button of Form1 will able to open Form2
    Form2 : Do not have commandbar
    Click one of the button of Form2 will able to open Form3
    Form3 : Cmdbar(1)

    Everything is fine when i open form1 to form2 and form3. The Commandbar work Cool.
    After i unload the form3 and form2. My popup command bar of form1 prompt me an error : Run-Time error '457':
    This key is already associated with an element of this collection.
    I knew the commandbars are global.
    I also do not have duplicate Skey for commandbar.
    I create the commandbars separately in form with no same Skey

    I debug the project by using break point. I found that after i unload form2 and form3 when i click again for popup menu form1. the break point wil back to form3 form_load

    How can i solve the problem.

    Best regard
    nuFLaVors
    I will sing a song heaven if someone help me ^^
    Last edited by nUflAvOrS; Oct 1st, 2007 at 07:13 PM.
    Where there is no hope, there can be no endeavor.

    There are two ways of rising in the world, either by your own industry or by the folly of others.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width