About 1,390,000 results
Open links in new tab
  1. SendMessage function (winuser.h) - Win32 apps | Microsoft Learn

    Aug 2, 2022 · The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message. To send a message and return …

  2. Examples for Visual Basic for Application accessing the Windows API ...

    The following example creates a notepad window and uses SendMessage() with the WM_SETTEXT message to set the text in the edit control of notepad. This example needs the VBA declarations of …

  3. sendmessage or Postmessage in vba - Stack Overflow

    Apr 26, 2017 · I have to mimic key combinations of control and tab, but am unable to getit done. Can any one help me on API postmessage or sendmessage in vba to simulate combination of keys like …

  4. [RESOLVED] Using SendMessage to send "enter" to an app-VBForums

    Dec 13, 2012 · I have two problems... first, I don't know what declarations need to be made for SendMessage. Last of all, I don't know how to get the Hwnd when I launch the app.

  5. WinAPI-4-VBA/examples/SendMessage/WM_SETTEXT.bas at master ...

    Windows API for Visual Basic for Applications. Contribute to ReneNyffenegger/WinAPI-4-VBA development by creating an account on GitHub.

  6. Use SendMesage in VBA - Microsoft Q&A

    Mar 24, 2021 · We have a VBA macro in Outlook for printing emails to a file using a printer that displays a very simple dialog with only a caption, a text box into which to type the filename, an OK and Cancel …

  7. Sending an application keystrokes with "SendMessage" (vb.net)

    Apr 12, 2011 · You cannot send keystrokes with SendMessage (), you can't control the state of the modifier keys. Hold the Ctrl key down for example. SendInput is required.

  8. [RESOLVED] Beginner FindWindowEx & SendMessage help-VBForums

    Jun 28, 2017 · I'm new to VBNET and have been trying send text to a 3rd party application. I've followed countless tutorials on how to Sendmessage to Notepad with great success. I'm now trying to follow …

  9. SendMessageA function (winuser.h) - Win32 apps | Microsoft Learn

    Feb 9, 2023 · The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message. To send a message and return …

  10. When using WM_GETTEXT in SendMessage, VBA crashes

    Jun 17, 2020 · In the code below, I am trying to get a string from a third party application into a variable, but the program crashes when it reaches the SendMessage line. Please help.