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 !

View XPS on Dyalog Form

Postby paulmansour on Wed Dec 09, 2009 5:40 pm

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?
paulmansour
 
Posts: 343
Joined: Fri Oct 03, 2008 4:14 pm

Re: View XPS on Dyalog Form

Postby Morten|Dyalog on Wed Dec 09, 2009 6:02 pm

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?
User avatar
Morten|Dyalog
 
Posts: 394
Joined: Tue Sep 09, 2008 3:52 pm

Re: View XPS on Dyalog Form

Postby paulmansour on Fri Dec 11, 2009 5:17 pm

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: 343
Joined: Fri Oct 03, 2008 4:14 pm

Re: View XPS on Dyalog Form

Postby paulmansour on Fri Dec 11, 2009 5:29 pm

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...
paulmansour
 
Posts: 343
Joined: Fri Oct 03, 2008 4:14 pm


Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest