c# - How can I integrate BingMaps into WPF Window? -


i want integrate bingmaps app win10 carpc solution.

i tried different things without getting work. first approach use start process , set application that:

p = new process(); p.startinfo = new processstartinfo("c:\\program files\\windowsapp\\microsoft.windowsmaps_5.1606.1670.0_x64__8wekyb3d8bbwe\\maps.exe"); host.process = p; 

this works fine notepad other stuff, can't start maps.exe.

so tried using:

p = process.getprocessbyid(11320); 

the number processid winspy, again working several other applications.

i'am not sure did wrong tried 5 days several different approaches.

i using win10 x64 maybe problem, other solutions i've found using user32.dll.

edit: goal ist set parent of maps application included in windows 10. form, have 1 window in full screen including navigation via bingmaps , have control on music while driving. don't want reprogramm map application.

first have create bing maps developer account, after download bing maps windows presentation foundation control:

https://www.microsoft.com/downloads/details.aspx?familyid=1f735eac-d893-4814-84e8-20f00fa617ba

and after create code:

https://msdn.microsoft.com/en-us/library/hh830433.aspx


Comments