I have a Problem with webbrowser1 in vb.net 2010. i want to download a picture or text file but in my case i want to download it to my specific folder not in Temporary Internet Files. how to do it using vb.net?
i try it but not found
But when i go to Temporary Internet Files the Text.txt is here but when i try to move said File not found.Code:Dim iwanttomove As String Dim MoveTo As String iwanttomove = Environment.SpecialFolder.InternetCache & "\Text.txt" MoveTo = "C:\Text.txt" If System.IO.File.Exists( iwanttomove ) = True Then System.IO.File.Move( iwanttomove, MoveTo ) MsgBox("File Moved") Else MsgBox("File Not Found") End If
Please help!!
thanks in advance!!




Reply With Quote