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 Graph via: icon

Open Graph via: icon

Scheduled Pinned Locked Moved C#
windows-admindata-structuresquestiondiscussion
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.
  • D Offline
    D Offline
    Debs
    wrote on last edited by
    #1

    I have a program that creates graphs which you can save and load. I have successfully associated my icon to my program so that when I click on a graph file it opens the program :)( in registry ie. "c:\...\...\program.exe "%1"") however it does not load my graph:(. I use the open file dialog do I need to write specific open file code?? Any thoughts would be great. Cheers* Debs*

    M 1 Reply Last reply
    0
    • D Debs

      I have a program that creates graphs which you can save and load. I have successfully associated my icon to my program so that when I click on a graph file it opens the program :)( in registry ie. "c:\...\...\program.exe "%1"") however it does not load my graph:(. I use the open file dialog do I need to write specific open file code?? Any thoughts would be great. Cheers* Debs*

      M Offline
      M Offline
      Mohamad Al Husseiny
      wrote on last edited by
      #2

      If you already associated your file type to your program So did you handle the file path passed in main function? ie the file you opened passed as command line argument to your program so you need to handle this issue If you not associated your file type to your program by using window explore or when you create setup project use File Types Editor to do it MCAD -- modified at 15:30 Wednesday 31st August, 2005

      D 1 Reply Last reply
      0
      • M Mohamad Al Husseiny

        If you already associated your file type to your program So did you handle the file path passed in main function? ie the file you opened passed as command line argument to your program so you need to handle this issue If you not associated your file type to your program by using window explore or when you create setup project use File Types Editor to do it MCAD -- modified at 15:30 Wednesday 31st August, 2005

        D Offline
        D Offline
        Debs
        wrote on last edited by
        #3

        hmm ok thanks for some direction, I don't think I handle command line arguments from windows:~ ... I'll have to read up on this any suggestions? Debs

        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