How to run exel program

Last post 01-25-2004 5:15 by Anonymous. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-23-2004 22:21

    How to run exel program

    Hello!

    I use C#.NET 2003 work on POCKET PC 2003 SDK.

    I have one button on form with click this button it will run exel program
    with open file "score.pxl" How to coding this event

    can anybody help me?

    thanks!
    Sakonkan.
  • 01-24-2004 8:33 In reply to

    Re: How to run exel program

    You can P/Invoke the ShellExecuteEx API function and pass the filename of the document to be opened. You'll find ShellExecuteEx available in the WinAPI library on the site, just add as a reference to your application and use the following code:-

    OpenNETCF.WinAPI.Core.ShellExecute("\\My Documents\\score.pxl", "");

    Peter Foot, eMVP
  • 01-25-2004 5:15 In reply to

    Re: How to run exel program

    Thank!!! Peter Foot
Page 1 of 1 (3 items)