Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create files, but not text files

Status
Not open for further replies.

leassaf

Instructor
May 20, 2001
49
IL
Basically, what I need is to imitate the action of right-clicking on a folder and choosing “New”, then “Microsoft Word Document”. The I/O namespace seems to allow creating text files only. I cannot create a text file and only change its extension to “*.doc” since the file remains a text file (I need the “Word Document” format). Is there a way to create office files without actually opening them?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top