run programme

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?ISO-8859-1?Q?FERHAT_A=C7ICI?=

    #1

    run programme

    hi everyone...I want to run any programme or file with my
    programme.examp le any file or programme, like this "xxx.ncn".I want If
    users double click this xxx.ncn this file can run by my
    programme.pleas e help!!!!
  • kimiraikkonen

    #2
    Re: run programme

    On Dec 25, 7:59 pm, "FERHAT AÇICI" <ferhatac...@gm ail.comwrote:
    hi everyone...I want to run any programme or file with my
    programme.examp le any file or programme, like this "xxx.ncn".I want If
    users double click this xxx.ncn this file can run by my
    programme.pleas e help!!!!
    Hi Ferhat,
    I've asked the same thing in a post and that helped:



    You need to use command line arguments to have the path of file:

    Put this code inside your form1_load event, Sample code:

    Dim cla As String() = Environment.Get CommandLineArgs ()


    ' Do what you want, eg: show path in msgbox
    Msgbox(cla(0))



    Comment

    • Kerem Gümrükcü

      #3
      Re: run programme

      Hi Ferhat,

      what you need is to asign the file ending to a herb. This can be
      done by setting the appropriate registry keys or by using the
      windows explorer settings which in common there is no
      difference, since it will write the entries also into the registry
      hives. See here:

      [Extending Shortcut Menus]
      http://msdn2.microsoft.com/en-us/lib...20(VS.85).aspx


      Regards

      Kerem

      --
      -----------------------
      Beste Grüsse / Best regards / Votre bien devoue
      Kerem Gümrükcü
      Microsoft Live Space: http://kerem-g.spaces.live.com/
      Latest Open-Source Projects: http://entwicklung.junetz.de
      -----------------------
      "This reply is provided as is, without warranty express or implied."


      Comment

      • Kerem Gümrükcü

        #4
        Re: run programme

        Hi,

        read the last sentence he wrote. He wants to open his application
        when a user clicks on a specific file that is registered with his
        application. Your exampe just fetchs the command lines given
        with the application,...

        Regards

        Kerem

        --
        -----------------------
        Beste Grüsse / Best regards / Votre bien devoue
        Kerem Gümrükcü
        Microsoft Live Space: http://kerem-g.spaces.live.com/
        Latest Open-Source Projects: http://entwicklung.junetz.de
        -----------------------
        "This reply is provided as is, without warranty express or implied."


        Comment

        • =?ISO-8859-1?Q?FERHAT_A=C7ICI?=

          #5
          Re: run programme

          Kerem Bey Bilgilendirmeni z Ýçin Teþekkür Ederim...saygýl arýmla...

          Comment

          • =?ISO-8859-1?Q?FERHAT_A=C7ICI?=

            #6
            Re: run programme

            On 25 Aralýk, 20:56, "Kerem Gümrükcü" <kareem...@hotm ail.comwrote:
            Hi,
            >
            read the last sentence he wrote. He wants to open his application
            when a user clicks on a specific file that is registered with his
            application. Your exampe just fetchs the command lines given
            with the application,...
            >
            Regards
            >
            Kerem
            >
            --
            -----------------------
            Beste Grüsse / Best regards / Votre bien devoue
            Kerem Gümrükcü
            Microsoft Live Space:http://kerem-g.spaces.live.com/
            Latest Open-Source Projects:http://entwicklung.junetz.de
            -----------------------
            "This reply is provided as is, without warranty express or implied."
            Kerem Bey Bilgilendirmeni z Ýçin Çok Teþekkür
            Ederim...Saygýl arýmla...FERHAT AÇICI

            Comment

            • Kerem Gümrükcü

              #7
              Re: run programme

              Sayin Ferhat Bey,

              bir þey deðil...

              Please write/answer in english, due this is a
              english newsgroup,...


              Kind Regards

              Kerem


              --
              -----------------------
              Beste Grüsse / Best regards / Votre bien devoue
              Kerem Gümrükcü
              Microsoft Live Space: http://kerem-g.spaces.live.com/
              Latest Open-Source Projects: http://entwicklung.junetz.de
              -----------------------
              "This reply is provided as is, without warranty express or implied."


              Comment

              Working...