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. auto run a mfc program

auto run a mfc program

Scheduled Pinned Locked Moved C / C++ / MFC
9 Posts 5 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.
  • P Offline
    P Offline
    prathuraj
    wrote on last edited by
    #1

    how to make a mfc program autorun

    E 1 Reply Last reply
    0
    • P prathuraj

      how to make a mfc program autorun

      E Offline
      E Offline
      Eytukan
      wrote on last edited by
      #2

      [Autorun] open=YourMFCApp.exe What's wrong with this?, Btw is that you Jeepo?:~ -- modified at 6:01 Saturday 10th March, 2007


      Press: 1500 to 2,200 messages in just 6 days? How's that possible sir? **Dr.Brad :**Well,I just replied to everything Graus did and then argued with Negus for a bit.

      P 1 Reply Last reply
      0
      • E Eytukan

        [Autorun] open=YourMFCApp.exe What's wrong with this?, Btw is that you Jeepo?:~ -- modified at 6:01 Saturday 10th March, 2007


        Press: 1500 to 2,200 messages in just 6 days? How's that possible sir? **Dr.Brad :**Well,I just replied to everything Graus did and then argued with Negus for a bit.

        P Offline
        P Offline
        prathuraj
        wrote on last edited by
        #3

        this will popup a window and make user to select the exe. but what i need is to execute the exe when i insert the drive no need for the pop up window

        W 1 Reply Last reply
        0
        • P prathuraj

          this will popup a window and make user to select the exe. but what i need is to execute the exe when i insert the drive no need for the pop up window

          W Offline
          W Offline
          Waldermort
          wrote on last edited by
          #4

          This is not something you can control. Autorun is a feature which users can select to disable or automate from within the OS. This is a security feature for the user.

          P 1 Reply Last reply
          0
          • W Waldermort

            This is not something you can control. Autorun is a feature which users can select to disable or automate from within the OS. This is a security feature for the user.

            P Offline
            P Offline
            prathuraj
            wrote on last edited by
            #5

            ok but i have to do that for my project. can you please help me to achieve that. how can i do this

            W 1 Reply Last reply
            0
            • P prathuraj

              ok but i have to do that for my project. can you please help me to achieve that. how can i do this

              W Offline
              W Offline
              Waldermort
              wrote on last edited by
              #6

              I just told you that you can't do it.

              J 1 Reply Last reply
              0
              • W Waldermort

                I just told you that you can't do it.

                J Offline
                J Offline
                jeepoo
                wrote on last edited by
                #7

                what about shelexec project

                W R 2 Replies Last reply
                0
                • J jeepoo

                  what about shelexec project

                  W Offline
                  W Offline
                  Waldermort
                  wrote on last edited by
                  #8

                  I will say it again, autorun is a feature of the OS. The the user does not want programes to autorun then he/she may disable the feature. The only way you can change this is to edit the registry. Changing this setting without the users permission is bad programing and borderline on being a virus.

                  1 Reply Last reply
                  0
                  • J jeepoo

                    what about shelexec project

                    R Offline
                    R Offline
                    Rajesh R Subramanian
                    wrote on last edited by
                    #9

                    So, you asked it from your other id? :suss:


                    [Noobs Treatment Area]
                    Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

                    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