Managed Add-Ins for Access

N

nordis_24_7

I'm still a newbie to Visual Studio, and MS-Access programming. I've gone
through a tutorial that I found out on the MSDN as well as the help files for
creating a Managed Add-in for Access.



This tutorial is entitled Introduction to Managed Add-ins for Access.

What this is supposed to do is go from my C# project, launch MS-Access, then
a form I created.

From this point I click on one of the buttons on the Form, and then this
should go out to a web site and pull information from the Northwind Database
on the web. This should then allow me to populate my local database with the
information.



Using MS-VSTDIO / 2005 C# & MS-Access 2007.

I am using the IDTExtensibility2 template.

I have applied the patch for the .Net Framework Version 2.0

I have followed the instructions located at the following URL to the T.

http://msdn2.microsoft.com/en-us/library/aa902693.aspx



However when I attempt to click on the fillProducts button to pull in
information from the web I receive the following error.



"The expression On Click you entered as the event property setting produced
the following error: A problem occurred while Microsoft Office Access was
communicating with the OLE server or ActiveX Control.

This error occurs when an event has failed to run because Microsoft Office
Access cannot evaluate the location of the logic for the event. For example,
if the OnOpen property of a form is set to =[Field], this error occurs
because Access expects a macro or event name to run when the event is fired.

"



I will post my code if some one cares to take a look at it. There is not too
much Code for the Access form. The C# project has a bit of code however.



Any help is appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top