-
Ok,
i can't seem to cancel my uploads...i want to be able to cancel inet1 and stop and further uploads from occuring..
I've tried:
Form1.Inet1.Cancel
and
Form1.inet1.Execute, "CLOSE"
and
If Form1.Inet1.StillExecuting Then
Form1.Inet1.Cancel
End If
anf
If Form1.Inet1.StillExecuting Then
Form1.Inet1.Execute, "CLOSE"
End If
all seem to let the user think that the upload is canceled...but actually you can't exit the program untill it fully uploads.
I've tried asking this b4, but din't recieve much help...
Question: How do i cancel an upload? and exit a sub on form1 when a button on form2 is pressed.
Thank you,
D!m
-
Remember its a microsoft control.
use IE to FTP something and try to cancel it there. Its the same control so it works the same.
If you find a way around it write microsoft because I'm sure they want to add it to IE
-
lol! damn i was hoping someone knows...but i'll find a way.
Thanx,
D!m
-
You could use the winsock control.
-
Winsock is not great for ftp accessing and transfer of files...i used mFTP.ocx but didn't want to register it.
So i learned inet and the only part i don't understand is the .Cancel method. I'm hoping someone has a way around that or a way to get it to work. (Damn microsoft)
Laterz,
D!m