I'm having the reverse problem as this thread.
We save off data in several formats, one of which is .XLS, however, some users may not have MS Office installed already, so I want to allow them to use the OS's "open with" dialog to associate with notepad or something so they can open the file.
Currently we open the file with code like this:
Currently the result of an un-associated .xls file is an ugly error.Code:Proc.StartInfo.WorkingDirectory = sFile_ Proc.StartInfo.FileName = Proc.StartInfo.WorkingDirectory Proc.StartInfo.UseShellExecute = True Proc.Start()
Thanks
-JP




Reply With Quote