Stan, As you already know how to use ShellExecute to open an existing file, why not just create an empty (zero byte) file with the desired name, in the desired path ... and then open an existing file! Viola! John
> -------Original Message------- > From: Stan <[EMAIL PROTECTED]> > Subject: Opening Word (or OpenOffice) with only a filename (non-existing > file) > Sent: 11 Oct '07 04:47 > > Hi all, > > I want to open a word processor (OpenOffice or Word, whatever the > box has) to a new, empty .DOC document, but I also want to specify a > specific filename for it to be saved to (actually, path and name). > I know how to use ShellExecute to open an existing file; how about > a non-existing file where I know what I want the resulting file to be > saved as? > > Delphi 5, Windows XP Pro. > > Many thanks, > -- Stan > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

