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. .NET (Core and Framework)
  4. openFileDialog help needed

openFileDialog help needed

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharphelp
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.
  • C Offline
    C Offline
    cindylou10
    wrote on last edited by
    #1

    Hi All, I want to have an .net windows app that starts off with a openFileDialog to choose the file to process. Works fine but I seem to be unable to dispose of the parent form properly. How do I accomplish this?

    D 1 Reply Last reply
    0
    • C cindylou10

      Hi All, I want to have an .net windows app that starts off with a openFileDialog to choose the file to process. Works fine but I seem to be unable to dispose of the parent form properly. How do I accomplish this?

      D Offline
      D Offline
      digiwombat
      wrote on last edited by
      #2

      You want to dispose of the parent form, or just hide the form that the open file dialog will lead to? Because if you just hid the receiving dialog, you could just hide the dialog onload and show the openFileDialog. That'd work, right?

      C 1 Reply Last reply
      0
      • D digiwombat

        You want to dispose of the parent form, or just hide the form that the open file dialog will lead to? Because if you just hid the receiving dialog, you could just hide the dialog onload and show the openFileDialog. That'd work, right?

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

        I want to dispose of it after the app ends. It hangs around and doesn't delete itself. Cindylou10

        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