Launch C# forms from MS Access

B

ben.brearley

Hi All,

Does anyone know of any way to launch C# forms from an MS Access
application?

Weird question I suppose, but the reason is that I am wanting to
rewrite a MS Access application into a C# winforms app. The problem
is, it has to be an incremental process, and it would be nice if the
user didn't have to run a winforms app for one part of the system, and
the old MS Access app for another part.

I could launch a winforms app using vba code, but i don't exactly want
to have a separate .exe for each form.
Is it possible to use IPC (even mailslots or something if necessary)
from vba to communicate with a winforms app? Just an idea...

Cheers,
Ben
 
A

andy

Hi All,

Does anyone know of any way to launch C# forms from an MS Access
application?

Weird question I suppose, but the reason is that I am wanting to
rewrite a MS Access application into a C# winforms app. The problem
is, it has to be an incremental process, and it would be nice if the
user didn't have to run a winforms app for one part of the system, and
the old MS Access app for another part.

I could launch a winforms app using vba code, but i don't exactly want
to have a separate .exe for each form.
Is it possible to use IPC (even mailslots or something if necessary)
from vba to communicate with a winforms app? Just an idea...

Cheers,
Ben

Access is a com whatchamacallit.
So you can fire up access from a .Net app.
I would think that is the better approach.

Waay back I wrote a vb6 app which dipped into an mdb to find all the
reports in it and used an array of buttons to allow the user to run a
specific report.
Users particularly liked it since they could add their own reports.

Anyhow, could have picked the forms or whatever just as easy out the
documents collection.
 

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