use ShellExecute(handle,pchar('open'),pchar('c:\myfilenamehere.csv'),nil,pchar(mystartdirhere),SW_SHOWNORMAL);
works fine ... Wim Sterns --- Chris Stebbing <[EMAIL PROTECTED]> wrote: > Hi All, > > I'd like to be able to launch a CSV file into Excel > or whatever > happens to be the default application to handle > CSV's. I had though > that I could just do a ShellEx or CreateProcess with > the csv as the > application name, but that doesn't seem to work. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Delphi mailing list -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi