View XPS on Dyalog Form

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
Post Reply
paulmansour
Posts: 431
Joined: Fri Oct 03, 2008 4:14 pm

View XPS on Dyalog Form

Post by paulmansour »

In 12.1 we can I think host .net controls on classic Dyalog forms. Does anyone know if there is a .NET control for viewing XPS documents, so I can display one a Dyalog form? Does anyone have a code snippet they would like to share that does this?
User avatar
Morten|Dyalog
Posts: 460
Joined: Tue Sep 09, 2008 3:52 pm

Re: View XPS on Dyalog Form

Post by Morten|Dyalog »

Haven't tried anything, but entering "microsoft xps viewer control" into Google brings up quite a few hits... Including an ActiveX component from "SANATech". Did you see http://www.microsoft.com/whdc/xps/viewxps.mspx?
paulmansour
Posts: 431
Joined: Fri Oct 03, 2008 4:14 pm

Re: View XPS on Dyalog Form

Post by paulmansour »

Morten, yes I've seen the MS page. The viewer comes with Windows 7, but it appears there is no .Net control for it - it's just an end user app. I dont really want a third party control....

It seems strange MS would go to all the trouble of this and not have a control for it...
paulmansour
Posts: 431
Joined: Fri Oct 03, 2008 4:14 pm

Re: View XPS on Dyalog Form

Post by paulmansour »

Hmm... this might do it:

http://msdn.microsoft.com/en-us/library/system.windows.controls.documentviewer.aspx

I'll post back if it looks promising...
Post Reply