CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2001
    Posts
    10

    Is there a standard ActiveX control to download a url, or to find a local file?

    Is there a standard (i.e., included with normal windows 98/nt/2k and ie4/5) ActiveX control that will automatically download a url, without user interaction? I know that there are API functions (UrlDownloadFile, WinInet) to do this, but I need to do this with ActiveX. Can I use the Internet Explorer object to do this? Is there a simpler way?

    I am also looking for a standard control that can do a search for a file on the local hard drive, and write to a binary file. The standard FileSystemObject can do neither.

    Thanks in advance,

    Franklin DeMatto
    Senior Security Analyst, qDefense Penetration Testing
    http://qDefense.com
    qDefense: Making Security Accessible



  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Is there a standard ActiveX control to download a url, or to find a local file?

    About the transering, there is the Internet Transfer Control, which can download stuff from internet.

    About the searching for a file, there is no such control that comes with the system, you can however use the FindFirstFile and FindNextFile API's to perform the task.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured