Results 1 to 3 of 3

Thread: [VB6] - grouproject with toolbar controls bug

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    [VB6] - grouproject with toolbar controls bug

    my grouproject have 1 vb6 bug
    why i see double control in toolbox controls?
    (double control: i'm building a control and you see it in toolbox controls... but why i see 2? if i use only that one and not exterior control, why the vb6 put that control 2 times)
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: [VB6] - grouproject with toolbar controls bug

    My guess is that you have 2 controls, different versions. When compiling OCX, using binary compatibility can prevent a new control/guid from being generated every time you compile the control.

    Open your components window (Ctrl+T) and see if that information helps. If not, look at your project references also. You should find both controls referenced in one or the other.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: [VB6] - grouproject with toolbar controls bug

    Quote Originally Posted by LaVolpe View Post
    My guess is that you have 2 controls, different versions. When compiling OCX, using binary compatibility can prevent a new control/guid from being generated every time you compile the control.

    Open your components window (Ctrl+T) and see if that information helps. If not, look at your project references also. You should find both controls referenced in one or the other.
    just 1.. but maybe you have right compile it can confuse VB6.
    Another question: why, sometimes, the vb6 ask for change the control version?
    VB6 2D Sprite control

    To live is difficult, but we do it.

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