Welcome! Log In Create A New Profile

Advanced

ShellExecute to Create New Document

Posted by Rich 
Rich
ShellExecute to Create New Document
March 19, 2008 02:29PM
Is it possible to use ShellExecute to create a new document, Word, Excel, etc.?
Peter Holemans
Re: ShellExecute to Create New Document
March 19, 2008 10:44PM
Hi Rich,

Yes you can using the standard word.exe parameters. I believe something like "word.exe /new". You can even use a specific template (.dot file) I believe.

Cheers,

Peter
Rich
Re: ShellExecute to Create New Document
March 19, 2008 10:57PM
Peter,

Do you know if the same verbs work with Excel?
Merijn
Re: ShellExecute to Create New Document
March 20, 2008 09:19AM
Rich,

e.g. [support.microsoft.com]



Edited 1 time(s). Last edit at 03/20/2008 09:46AM by Merijn.
Rich
Re: ShellExecute to Create New Document
March 20, 2008 12:28PM
Merijn,

I will check this out.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: