Nov 22, 2000 #1 paul51 Programmer May 19, 2000 38 US Does anyone know how to open a particluar word file (.DOC)from a Visual C++ platform?
Nov 23, 2000 #2 Guest_imported New member Jan 1, 1970 0 Here's one way: ShellExecute(NULL,"open","c:\\temp\\MyDoc.doc",NULL,NULL, SW_SHOWNORMAL); The above code will open a doc named MyDoc located in the temp directory in the c: drive. You can change the path to an executable, bitmap, etc. Brother C Upvote 0 Downvote
Here's one way: ShellExecute(NULL,"open","c:\\temp\\MyDoc.doc",NULL,NULL, SW_SHOWNORMAL); The above code will open a doc named MyDoc located in the temp directory in the c: drive. You can change the path to an executable, bitmap, etc. Brother C