我使用此代码:
Using ms As New MemoryStream(DataGridView1.SelectedRows(0).Cells(6).Value)
info.PictureBox1.Image = New Bitmap(ms)
End Using
我收到了这个错误:
Error 1 Type 'MemoryStream' is not defined.
你能帮帮我吗?谢谢你们!
答案 0 :(得分:0)
你在使用它之前是否已声明ms?
import random
import requests
proxies_list = [List of IPs]
proxies = {
'http': random.choice(proxies_list)
}
r = requests.get('http://10.1.7.70:8000', proxies=proxies)
并使用命名空间
Dim ms As New MemoryStream()