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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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.
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.
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