Menu

Not seeing template after installation of 4.1

Help
2017-04-28
2017-05-01
  • Ryan Peterson

    Ryan Peterson - 2017-04-28

    I'm not seeing the project template listed in the New Project form.

    I don't see any files under C:\Program Files (x86)\Microsoft Visual Studio\VB98\Template\Projects beyond those installed with VB6.

    I've tried a rebooting as well and no change.

     
  • Kelly Ethridge

    Kelly Ethridge - 2017-04-28

    Hello,

    When installing VB6 the location of the projects template folder is stored in the registery. This is where I pull it from at this registry key: HKCU\Software\Microsoft\Visual Basic\6.0 -> value:TemplatesDirectory. I'm thinking maybe there is a security issue with either accessing the registery entry or writing to the templates folder. I've done several installs on Windows 10 with UAC set to the default and have never had an issue. The other possibility might be that the template location is stored in a different registry key depending on how VB6 was installed. I've never investigated that aspect.

    So I guess just double check the registry entry and maybe run the installer as admin. There isn't much more I can think of. If all else fails, the two template files are stored in the source code in the SimplyVBUnit/Source/Projects folder. They can just be copied.

     
    • Ryan Peterson

      Ryan Peterson - 2017-05-01

      Thanks for getting back to me. Not sure why but I didn't have a TemplatesDirectory value in the registry after installation of VB6 so not a big surprise that the SimplyVB templates didn't get dropped to the expected locations. Did a quick scan of the other keys throughout the ..\Visual Basic\6.0 node in the hive and there were no hits for a TemplatesDirectory value. Manually copying the files over did the trick for me though.

       

Log in to post a comment.