Managed Add-In Walk Through Problem

S

Steve Mahon

I've been trying to work through the sample at
http://msdn.microsoft.com/en-us/library/aa902693.aspx. I'm using Windows
Server 2008, Access 2007, and VS 2008. I create the Access form and VS
Project just as it is in the sample, but when I click the button on the form
to fill the form, I get an error saying a problem occurred while Access was
communicating with the OLE server or ActiveX Control. I isolated it to the
following line of code in the VS solution:
Dim table As DataTable = My.WebServices.Products.GetAllProducts.Tables(0)

I'm an amature with vb.net and new to web services, so I this is all new to
me. Any ideas what is causing this problem?
Thanks,
Steve
 
C

Chris O'C via AccessMonster.com

You'll probably get better help from a vb.net group, but I'll give it a try.

When you see that error in Access, it's usually because the code is calling a
different version of the activex control than is registered on the PC, or it
isn't installed, or the library file is corrupt.

Chris
Microsoft MVP
 

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