RunTime Access 2003

M

Mams

I am trying to automate the Access RT2003 using .NET.
I am successful to add the AccessRT components to the
project. But while executing the application, I am getting
the "Server Execution Failed" when the application hits
the line : oAccess = new Access.ApplicationClass();
I think , I need to add some other Office components to
make the application to create an instance of Access? I am
not sure about what are they?

But the same code works well if I have the full version
Access 2003.

Any ideas ?
Thanks
Mams
 
D

david epsom dot com dot au

When you automate word, you can either create a document object or an
application object.
When you automate Access, you can either create a database object or an
application object.
When you automate Access with only a runtime licence, you can create a
database object. If you need an application object, you can get it from the
database object. (There are other kinds of objects you can create as well)

In practice, an Access Application object without a Database object would be
about as useful as a Word Application object without a Document object, so
this is not a major limitation

(david)

Charlie said:
Review MS article 295179. It does not speak specifically to .NET but I am
fairly certain that it applies. I don't believe there is any way to
automate the Access runtime.
 

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