"johnb41" <js********@gmail.com> schrieb:
I am using a "Process" to open a program (Acrobat Reader, for example)
which will in turn open a PDF file.
It works fine, but it would really be nice if I could specify Acrobat
Reader's x,y location and also it's width & height.
I am afraid you will have to use p/invoke with the 'CreateProcess' function
to do that. Position and size of the window can be specified in the
structure referenced by the 'lpStartupInfo' parameter of the function:
Platform SDK: DLLs, Processes, and Threads -- 'CreateProcess'
<URL:http://msdn.microsoft.com/library/en-us/dllproc/base/createprocess.asp>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>