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. Problem in FileOpen and FileSave Dialog

Problem in FileOpen and FileSave Dialog

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
8 Posts 6 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.
  • M Offline
    M Offline
    Murugan k
    wrote on last edited by
    #1

    Hi, I have done report genaration project in vc++. when i execute it in my system nothing to problem but, when i execute in other machine my application will be closed automatically while i save the content from the window into file only on the desktop and when i have to open that saved file.

    CPalliniC L D C 4 Replies Last reply
    0
    • M Murugan k

      Hi, I have done report genaration project in vc++. when i execute it in my system nothing to problem but, when i execute in other machine my application will be closed automatically while i save the content from the window into file only on the desktop and when i have to open that saved file.

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Maybe posting code will help. :zzz:

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • M Murugan k

        Hi, I have done report genaration project in vc++. when i execute it in my system nothing to problem but, when i execute in other machine my application will be closed automatically while i save the content from the window into file only on the desktop and when i have to open that saved file.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        What is that your project is doing exactly? are you using CFile class?

        M 1 Reply Last reply
        0
        • M Murugan k

          Hi, I have done report genaration project in vc++. when i execute it in my system nothing to problem but, when i execute in other machine my application will be closed automatically while i save the content from the window into file only on the desktop and when i have to open that saved file.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Murugan k wrote:

          ...save the content from the window into file only on the desktop and when i have to open that saved file.

          Is this part of your application's functionality?


          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

          "Judge not by the eye but by the heart." - Native American Proverb

          M 1 Reply Last reply
          0
          • D David Crow

            Murugan k wrote:

            ...save the content from the window into file only on the desktop and when i have to open that saved file.

            Is this part of your application's functionality?


            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

            "Judge not by the eye but by the heart." - Native American Proverb

            M Offline
            M Offline
            Murugan k
            wrote on last edited by
            #5

            yah, i have to show some data on the window from database and save that data into file. I just found out that it only crashes when the files are on the desktop.That is when i try to open the file on desktop using CFileOpendialog, my application going to closed. But that file placed on any other drives like(c:,d:,..), nothing to worry, it will execute successfully... Thanks in advance

            M 1 Reply Last reply
            0
            • L Lost User

              What is that your project is doing exactly? are you using CFile class?

              M Offline
              M Offline
              Murugan k
              wrote on last edited by
              #6

              yah, i have to show some data on the window from database and save that data into file. I just found out that it only crashes when the files are on the desktop.That is when i try to open the file on desktop using CFileOpendialog, my application going to closed. But that file placed on any other drives like(c:,d:,..), nothing to worry, it will execute successfully... Thanks in advance

              1 Reply Last reply
              0
              • M Murugan k

                yah, i have to show some data on the window from database and save that data into file. I just found out that it only crashes when the files are on the desktop.That is when i try to open the file on desktop using CFileOpendialog, my application going to closed. But that file placed on any other drives like(c:,d:,..), nothing to worry, it will execute successfully... Thanks in advance

                M Offline
                M Offline
                Mark Salsbery
                wrote on last edited by
                #7

                If you know it crashes when files are on the desktop, can't you put files on the desktop and debug the program? Mark

                "If you can dodge a wrench, you can dodge a ball."

                1 Reply Last reply
                0
                • M Murugan k

                  Hi, I have done report genaration project in vc++. when i execute it in my system nothing to problem but, when i execute in other machine my application will be closed automatically while i save the content from the window into file only on the desktop and when i have to open that saved file.

                  C Offline
                  C Offline
                  Cv
                  wrote on last edited by
                  #8

                  hi murugan., I'm also facing the same problem.. even my friend also trying to resolve that problem... if you got any valuable solution let me know... bye ...:laugh:

                  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