Hallo!
Kennt jemand das Problem, dass sich beim Datei Öffnen Dialog nach der SendKeys-Anweisung das Programm sich aufhängt?
WA_hwnd = FindWindow(„Winamp v1.x“, vbNullString)
If WA_hwnd = 0 Then
MsgBox („Error“)
End If
SendMessage WA_hwnd, WM_COMMAND, WA_OPENFILE, 0
SendKeys „{D}“
SendKeys „{:}“
SendKeys „{}“
SendKeys „{m}“
SendKeys „{p}“
SendKeys „{3}“
SendKeys „%“
SendKeys „%“
SendKeys „%“
SendKeys „%“
SendKeys „%“
SendKeys „%“
SendKeys „%“
SendKeys „^{A}“
SendKeys „{ENTER}“
Die SendKeys-Anweisungen sehen komisch aus, aber ich hab schon einiges probiert ohne Erfolg. Liegt es an Winamp? Vielleicht hat ja jemand von euch eine Idee und kann mir weiterhelfen …
Viele Grüße
Franz