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. Dialog bo shouldn't show up..

Dialog bo shouldn't show up..

Scheduled Pinned Locked Moved C / C++ / MFC
question
7 Posts 7 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.
  • N Offline
    N Offline
    neha agarwal27
    wrote on last edited by
    #1

    Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

    A _ CPalliniC S D 6 Replies Last reply
    0
    • N neha agarwal27

      Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

      A Offline
      A Offline
      Aamir Butt
      wrote on last edited by
      #2

      Ever heard of Console Application[^]

      Regards, Aamir My Articles

      1 Reply Last reply
      0
      • N neha agarwal27

        Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

        _ Offline
        _ Offline
        _AnsHUMAN_
        wrote on last edited by
        #3

        You can pass the names of the files and the path [where you want to copy the files to] as arguments to your application and then use ShellExecute to execute the file you want to. See for how you can use command line arguments.

        Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

        1 Reply Last reply
        0
        • N neha agarwal27

          Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

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

          Create a hidden window. :)

          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.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

          In testa che avete, signor di Ceprano?

          1 Reply Last reply
          0
          • N neha agarwal27

            Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

            S Offline
            S Offline
            Stephen Hewitt
            wrote on last edited by
            #5

            Just make a straight Win32 application and don't show a dialog or window.

            Steve

            1 Reply Last reply
            0
            • N neha agarwal27

              Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

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

              neha.agarwal27 wrote:

              But i don't want any dialog box to be displayed or anything else to be displayed....

              Copying files does not cause any UI components to be displayed.

              "Love people and use things, not love things and use people." - Unknown

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              1 Reply Last reply
              0
              • N neha agarwal27

                Hi all, I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed.... How an i do this??? Thanks in advance

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                You can use of a batch for run that exe file and also you can make a hidden dialog with ShowWindow(SW_HIDE).

                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