You can just use System.Diagnostics.Process to do this directly. Here's an example done in IronPython that should trivially convert to any other language:
import System from System.Diagnostics import Process process = Process() process.StartInfo.FileName = 'f:\\book1.xlsx' process.StartInfo.UseShellExecute = True process.Start() On Thu, Jun 12, 2008 at 8:47 AM, Holly Styles <[EMAIL PROTECTED]> wrote: > Hi There, > > I'm wondering if anyone has an opinion on the best way to appraoch this. > I am using SpreadsheetGear to create an xls file from a windows forms > application. > I have looked at office interop for opening this file in Excel once it > has been written to disk. But I'm not comfortable with that. > > I would rather somehow ask windows to just open the file using the > default association in a 'fire and forget' manner. Is there a good way > to do this using the Process namespace somehow? or should I wrapper some > call to the win32 API ? > > Thanks for any help. > > -Holly > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com