Setting file associations

Discussion in 'Questions (Windows Mobile)' started by N1c0_ds, Jan 18, 2009.

  1. N1c0_ds

    N1c0_ds Active Member Licensed User

    I would like to set a new file association for my program but I couldn't find instructions on how to do it, only programs that do the job.

    It would use a unique file type (renamed text file) that would have its own icon. Then how is it interpreted by the application?

    Thanks in advance!
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. N1c0_ds

    N1c0_ds Active Member Licensed User

    What's with the application side handling? How can I know what file was launched?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    The file is passed as the first argument:
    Code:
    Sub App_Start
     
    If ArrayLen(args()) > 0 then
      LaunchedFile = args(
    0)
      ...
     
    End If
     
  5. N1c0_ds

    N1c0_ds Active Member Licensed User

    That's what I tought, thanks!
     
Loading...
  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