Loading Documents from an App

G

Guest

I have an application that is running on PPC 2003. From time to time the
application needs to be able to open various types of files into their
appropriate viewers (i.e. a Word Doc, Excel Sprd Sheet, maybe PDF). My
question basically is what is the best approach to tackle this sort of thing.
Should I open them into an activeX control? Should I open them directly into
the correct program? Thanks for the input.
 
P

Paul G. Tobey [eMVP]

You're going to have a hard time opening them into an ActiveX control, if
you are coding using .NET CF. There's no COM support. Probably, the best
thing to do would be to use ShellExecuteEx() to launch the application
associated with the document. You can use the Process class in OpenNETCF to
get access to this function...

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top