invoking external application

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
 
P

Pete Vickers [MVP]

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
 
A

Alvin Tan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top