Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved C#
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tonyjsebastian1
    wrote on last edited by
    #1

    [Message Deleted]

    C C T 4 Replies Last reply
    0
    • T tonyjsebastian1

      [Message Deleted]

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      tonyjsebastian1 wrote:

      Now i want this file to be opened whenever i click on this file by openfiledialog method

      You write code for this

      tonyjsebastian1 wrote:

      simply browsing the folder and double click this extension file .....

      To do this, you write registry entries to associate your program with the file extension, and then when your app runs, you check the arguments passed in to see if there's a file path. If there is, you open it.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • T tonyjsebastian1

        [Message Deleted]

        C Offline
        C Offline
        CodingYoshi
        wrote on last edited by
        #3

        What are you talking about--"I want it to open". Open where, File.Open or what? You mean the file should open for user then use System.Diagnostics.Process and use the start method or something like that. If you need answers, you have to put some time in asking and writing the right question.

        1 Reply Last reply
        0
        • T tonyjsebastian1

          [Message Deleted]

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          There's little more annoying than people who delete their posts once they get an answer.

          Christian Graus Driven to the arms of OSX by Vista.

          C 1 Reply Last reply
          0
          • C Christian Graus

            There's little more annoying than people who delete their posts once they get an answer.

            Christian Graus Driven to the arms of OSX by Vista.

            C Offline
            C Offline
            CodingYoshi
            wrote on last edited by
            #5

            well at least he got the answer...hopefully! I hope I wasn't rude to him.

            1 Reply Last reply
            0
            • T tonyjsebastian1

              [Message Deleted]

              T Offline
              T Offline
              tonyjsebastian1
              wrote on last edited by
              #6

              hello all, i have created a file of extension .ct, i want this to be opened when i double click on this file how can be this done in C# Thanks

              G 1 Reply Last reply
              0
              • T tonyjsebastian1

                hello all, i have created a file of extension .ct, i want this to be opened when i double click on this file how can be this done in C# Thanks

                G Offline
                G Offline
                Guffa
                wrote on last edited by
                #7

                google "c# register file type"[^]

                Despite everything, the person most likely to be fooling you next is yourself.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups