Click to See Complete Forum and Search --> : Is there a standard ActiveX control to download a url, or to find a local file?


fdematto
September 4th, 2001, 07:15 PM
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

Cakkie
September 5th, 2001, 01:24 AM
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
slisse@planetinternet.be

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