1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

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:
    shell("pword",AppPath & "\help.doc"'Assuming that the help file is in the same folder of your code.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice