+ Reply to Thread
Results 1 to 3 of 3

detect file download dialog box problem

  1. #1
    Registered User
    Join Date
    08-31-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    20

    detect file download dialog box problem

    do
    hwnd = FindWindowEx(hwnd, 0, "Button", "&Cancel")
    loop until hwnd <> 0

    i using vba to download source file from website and i try to use the code to get the dialog box(during downloading file) to detect whether it had finish downloaded...but failed??how to detect whether the file is completed or not??

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: detect file download dialog box problem

    Is that all the code?

    That just seems to be looking for a button with the caption "&Cancel".

  3. #3
    Registered User
    Join Date
    08-31-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: detect file download dialog box problem

    Quote Originally Posted by Norie View Post
    Is that all the code?

    That just seems to be looking for a button with the caption "&Cancel".
    Is a part of my whole code... i have try to find open or open folder button, but when downloading, those buttons are disable..so i cant find it...My purpose is want to know the file is finish download..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1