Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

Can you use sendmessage to change datepicker value in external app?

$
0
0
I have an external app which is not a Microsoft product and I want to automate using it. I've already used sendmesage successfully to control various UI elements, like this one for pressing a button
Code:

Call SendMessage(OK_button, BM_CLICK, 0, ByVal 0&)
However I just don't seem to find anything about setting the value of a datepicker in an external app. If I could use sendmessage and WM_KEYDOWN to change the value that would be OK as well. Is there a way of doing this in VBA or am I better of using some other programming language like Autoit?

Viewing all articles
Browse latest Browse all 21278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>