Click to See Complete Forum and Search --> : File Upload Control


krishnaraj
December 7th, 1999, 03:07 AM
Can anybody help me in creating (or send me the VB source code) for file upload control ? What I require is a dll (vb source code included) whose classes and functions I will be calling in my ASP program for uploading files. The files I need to upload are generally images (gifs, jpgs etc..)

Regards,
Krishnaraj

Chris Eastwood
December 7th, 1999, 03:13 AM
There's the code for a FTP class module at :

http://www.codeguru.com/vb/articles/1852.shtml - this uses the WinInet.DLL that comes with IE3+

You can use the declares in the class module to (probably) use an http connection also, although I've not tried it.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

krishnaraj
December 8th, 1999, 12:55 AM
chris,
Thanks for the reply. But what i need is not an upload to the ftp server but an upload control with which i can send the images or any files submitted through <form> to an SQL database. I am looking for a vb component which can be used with ASP. Can u help me in this regard?
bye
krish