Automatically Open Pword With A Word File

Discussion in 'Questions (Windows Mobile)' started by sintaq, Mar 26, 2008.

  1. sintaq

    sintaq New Member

    hi all..

    can someone guide me how to open pword with my file automatically. here is my situation:

    i have a button..when i click the button..i want to open my help file (pword format)..

    currently i just manage to open pword then have to browse the file. :(

    thanx in advance
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Did you try to pass the file name as an argument?
     
  3. sintaq

    sintaq New Member

    im not quite sure the sytanx

    shell("pword","help.doc") <-- like this?:signOops:
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes. You should supply the full path:
    Code:
    shell("pword",AppPath & "\help.doc"'Assuming that the help file is in the same folder of your code.
     
Loading...