invoking external application

  • Thread starter Thread starter Alvin Tan
  • Start date Start date
A

Alvin Tan

Hello all,

I'm manage to invoke pword.exe application from my PocketPC apps, however, I
couldn't really set the properties of the opened document. I'm trying to set
my the font size and font of the document but can't seem to find a way. If
any of you people can help, it'll be great!

This is the fragment of code used to invoke pword.exe application:

private void InvokeWord( )
{
ProcessInfo pi = new ProcessInfo();
CreateProcess("pword.exe", "", IntPtr.Zero, IntPtr.Zero, 0, 0,
IntPtr.Zero, IntPtr.Zero, new Byte[128], pi);
}

Any suggestions?

Cheers
Alvin
 
Hi,
only way I could think would be to get it to open an existing empty document
with the correct font and font size.

Pete
 
Thanks Pete for your reply.

Even opening an existing document, I can't really configure the properties
of that document through VS .NET. Do you think it is possible to modify the
font registry file in the PocketPC/WinCE.NET?

Thanks again

Cheers
Alvin

Pete Vickers said:
Hi,
only way I could think would be to get it to open an existing empty document
with the correct font and font size.

Pete

--
Pete Vickers
Microsoft .NET Compact Framework MVP
HP Business Partner
http://www.gui-innovations.com

Alvin Tan said:
Hello all,

I'm manage to invoke pword.exe application from my PocketPC apps, however,
I
couldn't really set the properties of the opened document. I'm trying to
set
my the font size and font of the document but can't seem to find a way. If
any of you people can help, it'll be great!

This is the fragment of code used to invoke pword.exe application:

private void InvokeWord( )
{
ProcessInfo pi = new ProcessInfo();
CreateProcess("pword.exe", "", IntPtr.Zero, IntPtr.Zero, 0, 0,
IntPtr.Zero, IntPtr.Zero, new Byte[128], pi);
}

Any suggestions?

Cheers
Alvin
 
Back
Top