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. Open Document in Default Viewer

Open Document in Default Viewer

Scheduled Pinned Locked Moved C#
csharpquestionvisual-studiowinforms
4 Posts 3 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.
  • H Offline
    H Offline
    half life
    wrote on last edited by
    #1

    How can i Open a File in its Default Viewer? C#, VS 2005, Winforms Thanks :)

    Have Fun Never forget it

    N G 2 Replies Last reply
    0
    • H half life

      How can i Open a File in its Default Viewer? C#, VS 2005, Winforms Thanks :)

      Have Fun Never forget it

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Process.Start(filename)

      Navaneeth How to use google | Ask smart questions

      H 1 Reply Last reply
      0
      • H half life

        How can i Open a File in its Default Viewer? C#, VS 2005, Winforms Thanks :)

        Have Fun Never forget it

        G Offline
        G Offline
        Giorgi Dalakishvili
        wrote on last edited by
        #3

        You can use Process class for your needs.

        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

        1 Reply Last reply
        0
        • N N a v a n e e t h

          Process.Start(filename)

          Navaneeth How to use google | Ask smart questions

          H Offline
          H Offline
          half life
          wrote on last edited by
          #4

          THANKS :)

          Have Fun Never forget it

          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