Menu

How to use?

Help
Alex
2006-08-09
2013-04-17
  • Alex

    Alex - 2006-08-09

    Hi!

    Can you help me with integrating your Add-In into Access? I downloaded the sourcecode an compiled it with SharpDevelop. There was an error caused by a snk-file, because of that error I unchecked the signing of the project.
    After successfully compiling the Add-In I executed the reg-file, but no Add-In appeared in Access.

    Thanks in advance,
    Alex.

     
    • Stevel

      Stevel - 2006-08-13

      Sorry for the late response.

      I suppose you already installed the Office XP or 2003 PIA, and the Extensibility-dll, since compilation succeeded.

      You should check that the name of the Tools-menu is correct in the source (in the OnStartupComplete method in Connect.vb). As I'm developing with a dutch version of Access, the name of that menu is 'Extra'. You should change it to whatever name the menu has. There's probably a way to find out what locale of office is installed, but i haven't gotten time to search for it.

      Let me know if it works,

      Stevel

       
    • Alex

      Alex - 2006-08-14

      Hi Stevel!

      Thank you very much for your answer. I am sure, my problem was that I removed the signing. After generating a AccessSVN.snk I got a response when starting Access. Now I got a NullReference-Exception but I'll try solving this later.

      Greetings,
      Alex.

       
    • Alex

      Alex - 2006-08-15

      It's me again, the NullReference-Exception was caused by what you mentioned. The name of the menu Extra was incorrect. The following code worked for me:

      Dim menuBar As CommandBar
      Dim toolsMenu As CommandBar
      ' Set up a custom button on the menubar.
      menuBar = my.app.CommandBars.Item("Menu Bar")
      Try
        toolsMenu = my.app.CommandBars("Tools")

      It should work for all languages of MS Access.

      Thanks for this great tool!

      Alex.

       
    • Stevel

      Stevel - 2006-08-15

      Hi Alex,

      Thanks for the tip, I'll put it in the next release of AccessSvn (which is probably going to be in september). Also check out the Subversion-repository for the latest version.

      Stevel

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.