Asked by duncanb7
at 2024-10-15 09:12:30
Point:500 Replies:5 POST_ID:828381USER_ID:11059
Topic:
Miscellaneous Programming;Visual Basic Programming;Programming Languages
After I read the following expert-exchange thread and attached the code as follows
from http://www.experts-exchange.com/Programming/Automation/Q_24679312.html, find out the interesting
question for "Download file Dialog auotmation" , and I get the followng question to ask
Question-1 What is BM_Click meaning ? What is &H5& meaning ?
Question-2 Where I can find out the BM_Click code table and its definition before
I use API senddlgitemmessageW() function ?
Question-3 In Button_ID, where I can find all button_ID defination such assave, cancel but how baout open file button and file type in combbo box(MS excel file, XML file, Web file, *.*) like in saveas file dialog in MS Excel
Question-4 IN Private Declare Function SendDlgItemMessageW Lib "USER32" (ByVal hdlg As Long, ByVal nIDDlgItem As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long,
Could you provide website link or information to explain five variables defination in SendDigtemMessageW()
I just know first one is the window handle.
QUestion-5 Final question is ,sometime, they use ID as &H2 and &HF& what is different if putting
one more "&" in last charter , I mean what is differet &H2 and &H2& ?
That exchange link is good tutorial to start to control and autmation for Dialog box when donwload files
in VBA, if there is good link for this kind tutorial , welcome to send it me
Please advise
Duncan
from http://www.experts-exchange.com/Programming/Automation/Q_24679312.html, find out the interesting
question for "Download file Dialog auotmation" , and I get the followng question to ask
Question-1 What is BM_Click meaning ? What is &H5& meaning ?
Question-2 Where I can find out the BM_Click code table and its definition before
I use API senddlgitemmessageW() function ?
Question-3 In Button_ID, where I can find all button_ID defination such assave, cancel but how baout open file button and file type in combbo box(MS excel file, XML file, Web file, *.*) like in saveas file dialog in MS Excel
Question-4 IN Private Declare Function SendDlgItemMessageW Lib "USER32" (ByVal hdlg As Long, ByVal nIDDlgItem As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long,
Could you provide website link or information to explain five variables defination in SendDigtemMessageW()
I just know first one is the window handle.
QUestion-5 Final question is ,sometime, they use ID as &H2 and &HF& what is different if putting
one more "&" in last charter , I mean what is differet &H2 and &H2& ?
That exchange link is good tutorial to start to control and autmation for Dialog box when donwload files
in VBA, if there is good link for this kind tutorial , welcome to send it me
Please advise
Duncan