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. External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started.

External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started.

Scheduled Pinned Locked Moved C / C++ / MFC
questionsysadminhelp
13 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.
  • U User 11249002

    why?

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

    Member 11283272 wrote:

    why?

    Why what? And probably because no one can understand your question.

    U 1 Reply Last reply
    0
    • L Lost User

      Member 11283272 wrote:

      why?

      Why what? And probably because no one can understand your question.

      U Offline
      U Offline
      User 11249002
      wrote on last edited by
      #4

      sorry,my english is not good enough.

      L 1 Reply Last reply
      0
      • U User 11249002

        sorry,my english is not good enough.

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

        Do you have a colleague who could translate for you?

        U 3 Replies Last reply
        0
        • L Lost User

          Do you have a colleague who could translate for you?

          U Offline
          U Offline
          User 11249002
          wrote on last edited by
          #6

          Sorry, I am the only one,incidentally, I'm Chinese.English is not our official language,I tried again to translate。

          L 1 Reply Last reply
          0
          • U User 11249002

            Sorry, I am the only one,incidentally, I'm Chinese.English is not our official language,I tried again to translate。

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

            You could try posting in http://www.codeproject.com/Forums/1580230/General-Chinese-Topics.aspx[^], where you can write in your own language.

            1 Reply Last reply
            0
            • L Lost User

              Do you have a colleague who could translate for you?

              U Offline
              U Offline
              User 11249002
              wrote on last edited by
              #8

              A.exe is my own program,B.exe is not my own program. B.exe has a button, click it, and will call to EXCEL! Now, my question is: if click this button to manually, EXCEL will be normal calls.---(OK) But if use my program(A.exe),the Sendmessage function sends a keystroke messages (WM_KEYDOWN WM_SYSKEYDOWN) on the button, EXCEL will call fails.---(NG) I'm sure it: Sendmessage function keystroke messages is sent successfully!

              L 1 Reply Last reply
              0
              • L Lost User

                Do you have a colleague who could translate for you?

                U Offline
                U Offline
                User 11249002
                wrote on last edited by
                #9

                Hello, can you understand what I said now ??

                1 Reply Last reply
                0
                • U User 11249002

                  A.exe is my own program,B.exe is not my own program. B.exe has a button, click it, and will call to EXCEL! Now, my question is: if click this button to manually, EXCEL will be normal calls.---(OK) But if use my program(A.exe),the Sendmessage function sends a keystroke messages (WM_KEYDOWN WM_SYSKEYDOWN) on the button, EXCEL will call fails.---(NG) I'm sure it: Sendmessage function keystroke messages is sent successfully!

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

                  You need to be sure that the messages are exactly what the program uses to cause the button press.

                  U 1 Reply Last reply
                  0
                  • L Lost User

                    You need to be sure that the messages are exactly what the program uses to cause the button press.

                    U Offline
                    U Offline
                    User 11249002
                    wrote on last edited by
                    #11

                    yes,i am sure.

                    L 1 Reply Last reply
                    0
                    • U User 11249002

                      yes,i am sure.

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

                      Well it does not appear to be working, so there must be something still wrong.

                      U 1 Reply Last reply
                      0
                      • L Lost User

                        Well it does not appear to be working, so there must be something still wrong.

                        U Offline
                        U Offline
                        User 11249002
                        wrote on last edited by
                        #13

                        Thank you, I have solved this problem.

                        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