Dim Req As Net.HttpWebRequest = Net.WebRequest.Create("Img Src")
Dim Res As Net.HttpWebResponse = Req.GetResponse
Dim TheStream As IO.Stream = Res.GetResponseStream()
Dim TheImg As Bitmap = New Bitmap(TheStream)
Dim Res As Net.HttpWebResponse = Req.GetResponse
Dim TheStream As IO.Stream = Res.GetResponseStream()
Dim TheImg As Bitmap = New Bitmap(TheStream)
TheImg.Save("File name")
TheStream.Close()
沒有留言:
張貼留言