Loading Documents from an App

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top