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 / C++ / MFC
  4. Open and show File

Open and show File

Scheduled Pinned Locked Moved C / C++ / MFC
help
3 Posts 2 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.
  • P Offline
    P Offline
    Paulraj G
    wrote on last edited by
    #1

    Hi... Hi... I am having a file in C:\\Test.txt. If i click a button that file have to open in window. This is not for read or write. To show the file like if we double click the file. if you know please help me. thanks...

    G.Paulraj

    P 1 Reply Last reply
    0
    • P Paulraj G

      Hi... Hi... I am having a file in C:\\Test.txt. If i click a button that file have to open in window. This is not for read or write. To show the file like if we double click the file. if you know please help me. thanks...

      G.Paulraj

      P Offline
      P Offline
      pacotest
      wrote on last edited by
      #2

      that easy use the WinExec function or ShellExecute

      P 1 Reply Last reply
      0
      • P pacotest

        that easy use the WinExec function or ShellExecute

        P Offline
        P Offline
        Paulraj G
        wrote on last edited by
        #3

        yes... i used ShellExecute.

        G.Paulraj

        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