Results 1 to 7 of 7

Thread: [RESOLVED] Disappearing Add-Ins

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Resolved [RESOLVED] Disappearing Add-Ins

    Hi folks,

    Hoping somebody can shed some light on a problem I have, per the thread title.

    I'm not a great user of add-ins, so this problem has probably been around (for me) for some considerable time and I just haven't noticed. Anyway, whilst in the process of developing my own add-in, I noticed that it would occasionally fail to load with the IDE. Upon inspection, this was quite clearly due to the fact that it was no longer 'available' for some reason; i.e. it was missing from the Add-Ins Manager.

    Assuming it was a problem with my add-in, I began to troubleshoot, gradually stripping-out functionality until I came across the troublesome part. In the end, I was left with just the Wizard template code (i.e. an add-in that did nothing), yet still the add-in would sporadically disappear.

    It turned out, after several hours of painstaking observation, that this disappearance occurred only when I ran a project. In other words, I could fire up the IDE over-and-over, and the add-in would load. But, as soon as I hit F5, the add-in was destined to be gone the next time I started the IDE.

    I just uninstalled and reinstalled VB6, and the problem hasn't gone away. Any suggestions? Has anybody else encountered this?

    EDIT: Forgot to mention: Win 10, 64-bit
    Last edited by ColinE66; Jan 28th, 2021 at 07:58 AM.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    4,766

    Re: Disappearing Add-Ins

    I have multiple Add-Ins and never experienced this behavior.

  3. #3
    Frenzied Member
    Join Date
    Jan 2020
    Posts
    1,634

    Re: Disappearing Add-Ins

    install win 10 or win8

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: Disappearing Add-Ins

    Win 10 64-bit. Edited original post to add that info.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  5. #5
    Fanatic Member
    Join Date
    Jun 2015
    Posts
    540

    Re: Disappearing Add-Ins

    thats a weird one, I have never had that specific behavior but have had plenty of oddities when working with add-in.
    The plugin model seems to be a bit fragile.

    The problems I have noticed have been:
    intermittent loading errors
    icons not showing up when pasteface sporadically fails
    adding menu items to some menus causes other items to start disappearing and have to reset the layout

    Never had an addin go missing from the addin manager. Are you using the ini registration method or the activeX register server
    when the addin is compiled.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: Disappearing Add-Ins

    Quote Originally Posted by dz32 View Post
    Are you using the ini registration method or the activeX register server
    when the addin is compiled.
    My understanding was that, when the dll is compiled, it is automatically registered. Regardless, I have also regsvr32'd it with no change in outcome. As a newbie at Add-In development, I wasn't even aware of the INI file method. I'll look into that...

    Funnily enough, I've yet to be hit by any of the more common add-in frailties, like the ones you described. I have been very careful to clean-up (and in a logical order, I should add), so hopefully I've immunised myself from them.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: Disappearing Add-Ins

    Well, what do you know? Adding an entry to VBAddin.ini solved the problem.

    According to the tutorial I was working with,

    "VB6 does not require the vbaddin.ini file as VB5 does. Instead, the Add-In Manager looksdirectly to the Windows registry for the necessary information. "

    Oh, well. Live and learn...

    Thanks, dz32.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

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