J
J
jammywork12015-04-09 11:38:30
.NET
jammywork1, 2015-04-09 11:38:30

Is it possible to call wpf windows in ms access?

Is it possible to call a program written using WPF in MS Access?
As far as I can tell, no, if I compile the winforms assembly and call it from access, then everything is in order, the window I need appears, but if the situation is similar with WPF, I get an Automation Error.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jammywork1, 2015-04-14
@jammywork1

Yes, you can, if the WPF window is inherited from UserControl.
Create a main window on winForms, in which to push your wpf usercontrol through ElementHost.
In this case, by calling the winForms window from access you will get your form with WPF
Example here
tech.pro/tutorial/799/wpf-tutorial-using-wpf-in-wi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question