[WPF] Using WindowsFormsHost

  • Thread starter Thread starter ZeroByter
  • Start date Start date
Z

ZeroByter

Guest
Hey guys,

So I got MapWinGIS, which is intended for WinForms, and I am currently trying to use it in WPF using WindowsFormsHost.

I followed the Microsoft docs tutorial (Host an ActiveX control in WPF), yet when I try to run the project I got an exception...

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll
The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I do not know what module is missing. Every required module is referenced and added.
I should note I did get this project to work in the first place in WinForms.

I also asked this question on the MapWinGIS forum (Getting MapWinGIS to work in WPF), but so far they have not found any solution either. I am hoping someone here knows how to fix this.

Thanks very much!

Continue reading...
 

Similar threads

B
Replies
0
Views
587
Bryan Prendergast
B
T
Replies
0
Views
567
This_display_name_is_already_in_use_They_all_are
T
C
Replies
0
Views
530
CelesteBlanca10
C
B
Replies
0
Views
285
Bryan Prendergast
B
Back
Top