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. openfiledilaog

openfiledilaog

Scheduled Pinned Locked Moved C#
4 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.
  • S Offline
    S Offline
    Satish Pai
    wrote on last edited by
    #1

    Hi, I have customized my openfiledilaog. & i would like to replace it with windows OS standard openfiledialog.

    B 1 Reply Last reply
    0
    • S Satish Pai

      Hi, I have customized my openfiledilaog. & i would like to replace it with windows OS standard openfiledialog.

      B Offline
      B Offline
      BillWoodruff
      wrote on last edited by
      #2

      Namaste (or Vannacum) Satish, I think you can get helpful responses to this question if you first describe what you are doing in more detail. Since using the standard .NET WinForms OpenFileDialog is so well documented, and easy to do, what's stopping you at this point from using the same way you use a Button or anything else on the ToolBox. Is the problem that you have some custom features in your customized OpenFileDialog that you don't know how to "move over" when you change to the standard OpenFileDialog ? best, Bill

      "Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

      S 1 Reply Last reply
      0
      • B BillWoodruff

        Namaste (or Vannacum) Satish, I think you can get helpful responses to this question if you first describe what you are doing in more detail. Since using the standard .NET WinForms OpenFileDialog is so well documented, and easy to do, what's stopping you at this point from using the same way you use a Button or anything else on the ToolBox. Is the problem that you have some custom features in your customized OpenFileDialog that you don't know how to "move over" when you change to the standard OpenFileDialog ? best, Bill

        "Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

        S Offline
        S Offline
        Satish Pai
        wrote on last edited by
        #3

        Namaste Bill Ji, My problem is, i have customized open file dialag by adding some picture box & it works fine in my application.Now i would like to implement it in my Operating System. that is if i open notepad Or Mspaint when i click on File->open menu then it should show my open file dialog . Thanks

        B 1 Reply Last reply
        0
        • S Satish Pai

          Namaste Bill Ji, My problem is, i have customized open file dialag by adding some picture box & it works fine in my application.Now i would like to implement it in my Operating System. that is if i open notepad Or Mspaint when i click on File->open menu then it should show my open file dialog . Thanks

          B Offline
          B Offline
          BillWoodruff
          wrote on last edited by
          #4

          Namaste Satish Ji, Here I am afraid I cannot help you : extending a .NET modified OpenFileDialog control so it replaces the default operating system OpenFileDialog which is integrated at so many levels deep into the OS, is outside my technical abilities. Which doesn't mean it can't be done. But I think you'll need a "guru" who really knows a lot about COM and the internals of the OS to know if it's possible. I do think the only helpful thing I can say is that you might re-frame your question like this : "How can I take my .NET created/modified OpenFileDialog control, and EXTEND the OS so when I context click on a file or folder I now have an optional menu item that launches my custom OpenFileDialog ?" Since many applications I use every day add something custom to the default OS context-menu, I would start by looking at how they do that, and how, when the menu item is invoked, it is passed, somehow, a reference to what it was invoked (i.e., what was "selected," for example. I would start by searching CodeProject on terms like "Extending," and try and then narrow the search terms down from there; I'd also check out StackOverFlow.com and search there, and, of course, Google on "windows adding a custom menu item" and things like that. good luck, Bill

          "Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

          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