J'essai de recuperer et de modifier ensuite l'URL dans internet Explorer.
pour cela jutilise l'api win32 :
je trouve les Handles jusqu'au composant Edit, fils de Combobox

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
    hwnd = FindWindow("IEFrame", vbNullString)
    Wait (3)
    
    hwnd = FindWindowEx(hwnd, 0, "WorkerW", vbNullString)
    hwnd = FindWindowEx(hwnd, 0, "ReBarWindow32", vbNullString)
    hwnd = FindWindowEx(hwnd, 0, "ComboBoxEx32", vbNullString)
    hwnd = FindWindowEx(hwnd, 0, "ComboBox", vbNullString)
    hwnd = FindWindowEx(hwnd, 0, "Edit", vbNullString)
    lSuccess = GetWindowText(hwnd, buffer, 50)
    MsgBox (buffer)
tous les handles sont corrects, jai verifier avec GetClassName, ya pas de souci par la.
mon msgbox est cense me donner l'URL mais ca ne maffiche rien...
qqu'un sait pkoi?
merci